prev index next |
Miscellaneous,
Odds & Ends
|
POV-Ray Tips,
Tricks, and Techniques |
"Feed" LParser
to POV-Ray on Command Line?
|
Debbie & Julie Pitman ask: | How do you "feed" LParser to POV-Ray on the command line?
I am using LParser 4.00 with POV-Ray.
|
|
Richard Adams commiserates:
|
I had major problems with this too. It took me forever to
figure out how to use lparser to generate the correct pov files. When I
finally figured it out, I worte a batch file to automate the process. With
this batch file, making a POV file from any given .ls file becomes almost
automatic. Below is the batch file I wrote:
******************************************** rem this batch file is called MAKEPOV.BAT and is written by
******************************************** This is a command line program. If you have, for example, an lparser file you want to turn into a POV file named test.ls, you type: makepov test.ls on the DOS command line. The batch file will then do all the rest, and give you a couple of instructions needed to make sure the POV-Ray file turns out correctly. That's all there is to it! MAKEPOV will generate two files, LPAR2POV.POV and LPAR2POV.INC. These are the actual POV-Ray files. MAKEPOV will overwrite any previous versions of LPAR2POV.POV and .INC, so if you want to run it on another .LS file you need to rename the old LPAR2POV files. I hope this helps.
|
|