Graphics Programs Reference
In-Depth Information
Note
If you are on a Windows system with
ActivePerl
installed, you
may also remove the first line—
"#!C:/wamp/bin/perl/bin/
perl.exe"—
from the
parser.pl
file. It will not affect the out-
put.
If you are on a *nix system and relying on the executable permission
to work for you, you must modify this line to point to your local Perl
path.
After making these edits, you can parse mesh files. On Windows, you must double-
click on the
parser.pl
file (if
ActivePerl
is installed) to execute it.
ActivePerl
sets
preter and giving your file as input. I demonstrate how to execute the
parser.pl
file using
ActivePerl
. As mentioned previously, double-click on the
parser.pl
file
to execute it. This opens the command prompt.
Now, you must enter the name of the
Obj
file—“tankFence5” (
Obj
and
Mtl
files
should have identical names). Recall that you copied the
Obj
and
Mtl
files (
Figure
you specified the path of this folder (when editing
parser.pl
), Perl can look it up
now.
Press
Enter
after you specify the name of the
Obj
file (
Figure 4-48
)
. Then, click
“Open” in the
Security Warning
window (if you are on a Windows 7 system), as
shown in
Figure 4-49
.
You may also uncheck the checkbox in this window. This al-
lows the parser to execute without waiting for confirmation.

Search WWH ::

Custom Search