home *** CD-ROM | disk | FTP | other *** search
- You may specify the default parameters by modifying the file:
- povray.def
- which contains the parameters in the above format. This filename contains a
- complete command line as though you had typed it in, and is processed before
- any options supplied on the command line are recognized. You may put com-
- mands on more than one line in the 'povray.def' file.
-
- For example: POVRAY +Ibox.pov +Obox.tga +V +X +W320 +H200
- +Ibox.pov = Use the scene file box.pov for input
- +Obox.tga = Output the image as a Targa file to box.tga
- +V = Show line numbers while rendering.
- +X = Allow key press to abort render.
- +W320 = Set image width to 320 pixels
- +H200 = Set image height to 200 pixels
-
- Some of these parameters could have been put in the POVRAYOPT environment
- variable to save typing:
- SET POVRAYOPT = +V +X +W320 +H200
-
- Then you could just type:
- POVRAY +Ibox.pov +Obox.tga
-
- Or, you could create a file called POVRAY.DEF in the same directory as
- the scene file. If POVRAY.DEF contains '+V +X +W320 +H200' then you could
- also type:
- POVRAY +Ibox.pov +Obox.tga
-
- With the same results. You could also create an option file with a dif-
- ferent name and specify it on the command line. For example: if QUICK.DEF
- contains '+V +X +W80 +H60' then you could also type:
- POVRAY +Ibox.pov +Obox.tga QUICK.DEF
-
- When POV-Ray sees QUICK.DEF, it will read it in just as if you typed it
- on the command line.
-
- The order that the options are read in for the IBM-PC version are as
- follows:
- POVRAYOPT environment variable.
- POVRAY.DEF in current directory or if not found, in library path.
- Command line and command line option files.
-
- For example:
- +V in POVRAY.DEF would override -V in POVRAYOPT
- +X on the command line would override -X in POVRAY.DEF
-
- Other computer's versions may read in the POVRAY.DEF file before the
- POVRAYOPT environment variable. See the documentation on your version.
-