Help wanted on DOF settings POVRAY3

Help wanted on DOF settings POVRAY3

Post by Hans Spieke » Sat, 09 Nov 1996 04:00:00



Hi all raytracing enthousiasts out there,

Is there anyone out here who knows how the following setting work in
povray3?

  aperture 1
  focal_point <0,1,0>
  blur_samples 40    "What is a good value for this setting, and what does
it mean?
  confidence 0.98     "What is the meaning of this switch
  variance 1/255       "Same for this one

All I know it turns my renderstation into a crawl, producing DOF with
unrealistic results. See my rendering mentioned below for the result.
Another problem I keep running into is that my renderings turn out a bit
dark, so I have to postprocess them in order to make them look like they
were supposed to.

I still don't have a homepage on the Net, so there is no way I can easily
distribute some of my renderings, but I've put a beautiful povray3
rendering (with 'the works' so to say) in the alt.binaries.pictures. For
those who are interested, GO GET IT!

Any help will be appreciated! Thank you.
--
// That's All Folks! //

 
 
 

Help wanted on DOF settings POVRAY3

Post by Michael D Johns » Sun, 24 Nov 1996 04:00:00


Quote:"Hans Spieker"  writes:

>Hi all raytracing enthousiasts out there,

>Is there anyone out here who knows how the following setting work in
>povray3?

>  aperture 1

This determines the range of blurring.  The smaller the value, the smaller the
range.  In other words, the "zone of sharpness" increases as aperture
decreases.  One is a good starting point.

Quote:>  focal_point <0,1,0>

This is where the camera is completely in focus.  I typically set this the
same as the look_at vector, but different artistic effects can be created by
using different vectors.

Quote:>  blur_samples 40    "What is a good value for this setting, and what does
>it mean?

This is the maximum number of samples that POVRay will use to get the value of
a pixel.  Kind of like the anti-aliasing depth value, but it is a direct
value.  It is controled with an adaptive system, governed by the following two
parameters.

For quicker traces, values less than 10 work well.  For higher quality, 40 is
pretty good.  The more samples, the better the quality.

Quote:>  confidence 0.98     "What is the meaning of this switch

When shooting sample rays, POVRay determines the probability that the current
result is what the final pixel color should be.  When this value hits the
confidence level, it stops shooting rays and moves on.  It should range from 0
to 1, although you'll typically want a value better than .9

Quote:>  variance 1/255       "Same for this one

Variance determines how close is close.  If the pixel color is off by less
than the variance value, it's considered a match.  Therefore, for a final
trace, you want this value to be 1/max_colors.  For faster traces, use 1/(some
number less than max_colors).

Probably the reason your trace looked unrealistic is because of the
focal_point setting.  Everything else seems pretty good.  Of course, aperture
is a value that can be played with.  The other values mainly control quality
and speed.

BTW, focal blurring replaces normal anti-aliasing.

Michael D Johnson

Member of the "POVRay for OS/2 Porting Group"
http://quark.gmi.edu/~redbeard
POVRay Utilities Page:
http://quark.gmi.edu/~redbeard/raytrace/POVRay-Util.html