home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / 4203 / easy.doc < prev    next >
Text File  |  1994-02-02  |  4KB  |  109 lines

  1. Here are some tips to help beginners cope with POV-Ray's flood of methods 
  2. to set command-line parameters.
  3.  
  4. The easiest way to run POV-Ray is with a batchfile.  Here's the
  5. general idea.  Create a text file called RUNPOV.BAT or something similar.
  6. A sample file is included in this archive and its contents are shown below.  
  7. Be sure to edit the drive and paths to match your system.  If you place 
  8. this batch file in a directory which is on your DOS path, then you may 
  9. run POV-Ray from any directory without adding the C:\POVRAY2 directory to 
  10. your path.
  11.  
  12. ------------RUNPOV.BAT---Cut-here---------
  13. c:\povray2\povray c:\povray2\%1.def -i%2.pov -o%2.tga %3 %4 %5 %6 %7 %8 %9
  14. ------------RUNPOV.BAT---Cut-here---------
  15.  
  16. In your POVRAY2 directory you should have POVRAY.EXE and a number of .DEF
  17. files.  You should create different .DEF files for different purposes.
  18. For example QUICK.DEF could be a 160x100 test render with low quality 
  19. settings. FINAL.DEF might be 640x680 with full quality and anti-aliasing.
  20.  
  21. Several sample .DEF files are included in this archive and their contents
  22. are given below.  
  23.  
  24. To use RUNPOV.BAT you type the name of the .DEF file followed by the name
  25. of the scene file like this:
  26.  
  27. RUNPOV FINAL MYSCENE
  28.  
  29. This will run POV-Ray using FINAL.DEF rendering MYSCENE.POV to MYSCENE.TGA.
  30. Note that you don't have to type the extension .DEF or .POV because the
  31. batch file adds it for you.
  32.  
  33. If FINAL.DEF didn't include anti-aliasing you could add it like this:
  34.  
  35. RUNPOV FINAL MYSCENE +A0.1 +R4 +J0.5
  36.  
  37. The first parameter must always be a .DEF file in the c:\povray2 directory
  38. and the second parameter must be a .POV scene file.  After that you may add
  39. up to 7 more command-line switches to modify or add to the basic settings 
  40. in your chosen .DEF file.
  41.  
  42. Here is the contents of the sample .DEF files we've provided.  Edit
  43. these or create your own.  Note the dashed lines and filenames are not 
  44. part of the file.
  45.  
  46. -----------D160.DEF--------
  47.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  48.  -w160 -h100          
  49.  +d -v
  50.  +ft +p +x 
  51. -----------D320.DEF--------
  52.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  53.  -w320 -h200          
  54.  +d -v
  55.  +ft +p +x 
  56. -----------D640.DEF--------
  57.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  58.  -w640 -h480          
  59.  +d -v
  60.  +ft +p +x 
  61. -----------D800.DEF--------
  62.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  63.  -w800 -h600          
  64.  +d -v
  65.  +ft +p +x 
  66. -----------ND160.DEF--------
  67.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  68.  -w160 -h100          
  69.  -d +v
  70.  +ft -p +x 
  71. -----------ND320.DEF--------
  72.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  73.  -w320 -h200          
  74.  -d +v
  75.  +ft -p +x 
  76. -----------ND640.DEF--------
  77.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  78.  -w640 -h480          
  79.  -d +v
  80.  +ft -p +x 
  81. -----------ND800.DEF--------
  82.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  83.  -w800 -h600          
  84.  -d +v
  85.  +ft -p +x 
  86. -----------QUICK.DEF--------
  87.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  88.  -w160 -h100 +Q3
  89.  +d -v
  90.  +ft +p +x 
  91. -----------SUPER.DEF--------
  92.  +Lc:\povray2\scenes  +Lc:\povray2\include    
  93.  -w800 -h600       
  94.  +d -v
  95.  +ft +p +x 
  96.  +a0.1 +r4
  97. ----------------------------
  98.  
  99. All of the files set two library paths using +L switches.  All turn
  100. on .TGA file output with +FT and all allow interrupted traces with
  101. the +X switch.
  102.  
  103. The Dnnn.DEF files turn graphics display on and verbose messages off
  104. while the NDnnn.DEF files use no display and turn messages on.  The
  105. file QUICK.DEF uses 160x100 with display but lowers quality with +Q3.
  106. The file SUPER.DEF uses 800x600 with anti-aliasing in a 4x4 rays
  107. per pixel.
  108.  
  109.