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

  1.     To see a quick version of your picture, render it very small.  With fewer
  2.  pixels to calculate the ray tracer can finish more quickly.  -w160 -h100 is
  3.  a good size.
  4.  
  5.     Use the +Q 'quality' switch when appropriate.
  6.  
  7.     If there is a particular area of your picture that you need to see in
  8.  high resolution, perhaps with anti-aliasing on (perhaps a fine-grained wood
  9.  texture), use the +SC, +EC.  +SR, and +ER switches to isolate a 'window'.
  10.  
  11.     If your image contains a lot of inter-reflections, set max_trace_level to
  12.  a low value such as 1 or 2.  Don't forget to put it back up when you're fi-
  13.  nished!
  14.  
  15.     'Turn off' any unnecessary lights.  Comment out extended light and spot-
  16.  light keywords when not needed for debugging.  Again, don't forget to put
  17.  them back in before you retire for the night with a final render running!
  18.  
  19.     If you've run into an error that is eluding you by visual examination,
  20.  it's time to start bracketing your file.  Use the block comment characters
  21.  (/* ...  */) to disable most of your scene and try to render again.  If you
  22.  no longer get an error, the problem naturally lies somewhere within the dis-
  23.  abled area.  Slow and methodical testing like this will eventually get you
  24.  to a point where you will either be able to spot the bug, or go quietly in-
  25.  sane.  Maybe both.
  26.  
  27.     If you seem to have 'lost' yourself or an object (a common experience for
  28.  beginners) there are a few tricks that can sometimes help:
  29.        1)   Move your camera way back to provide a long range view.  This may
  30.             not help with very small objects which tend to be less visible at
  31.             a distance, but it's a nice trick to keep up your sleeve.
  32.        2)   Try setting the ambient value to 1.0 if you suspect that the ob-
  33.             ject may simply be hidden from the lights.  This will make it
  34.             self-illuminated and you'll be able to see it even with no lights
  35.             in the scene.
  36.        3)   Replace the object with a larger, more obvious 'stand-in' object
  37.             like a large sphere or box.  Be sure that all the same transfor-
  38.             mations are applied to this new shape so that it ends up in the
  39.             same spot.
  40.