home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 2555 / povhlp / paravar.hlp < prev    next >
Encoding:
Text File  |  1994-07-04  |  2.0 KB  |  48 lines

  1.    You may specify the default parameters by modifying the file:
  2.        povray.def
  3.  which contains the parameters in the above format.  This filename contains a
  4.  complete command line as though you had typed it in, and is processed before
  5.  any options supplied on the command line are recognized.  You may put com-
  6.  mands on more than one line in the 'povray.def' file.
  7.  
  8.     For example: POVRAY +Ibox.pov +Obox.tga +V +X +W320 +H200
  9.        +Ibox.pov   = Use the scene file box.pov for input
  10.        +Obox.tga   = Output the image as a Targa file to box.tga
  11.        +V      = Show line numbers while rendering.
  12.        +X      = Allow key press to abort render.
  13.        +W320      = Set image width to 320 pixels
  14.        +H200      = Set image height to 200 pixels
  15.  
  16.     Some of these parameters could have been put in the POVRAYOPT environment
  17.  variable to save typing:
  18.        SET POVRAYOPT = +V +X +W320 +H200
  19.  
  20.     Then you could just type:
  21.        POVRAY +Ibox.pov +Obox.tga
  22.  
  23.     Or, you could create a file called POVRAY.DEF in the same directory as
  24.  the scene file.  If POVRAY.DEF contains '+V +X +W320 +H200' then you could
  25.  also type:
  26.        POVRAY +Ibox.pov +Obox.tga
  27.  
  28.     With the same results.  You could also create an option file with a dif-
  29.  ferent name and specify it on the command line.  For example: if QUICK.DEF
  30.  contains '+V +X +W80 +H60' then you could also type:
  31.        POVRAY +Ibox.pov +Obox.tga QUICK.DEF
  32.  
  33.     When POV-Ray sees QUICK.DEF, it will read it in just as if you typed it
  34.  on the command line.
  35.  
  36.     The order that the options are read in for the IBM-PC version are as
  37.  follows:
  38.        POVRAYOPT environment variable.
  39.        POVRAY.DEF in current directory or if not found, in library path.
  40.        Command line and command line option files.
  41.  
  42.     For example:
  43.        +V in POVRAY.DEF would override -V in POVRAYOPT
  44.        +X on the command line would override -X in POVRAY.DEF
  45.  
  46.     Other computer's versions may read in the POVRAY.DEF file before the
  47.  POVRAYOPT environment variable.  See the documentation on your version.
  48.