Oops! (Re: [Bf-committers] Ray-tracing soft shadows, a speed-up)

Nathan Vegdahl bf-committers@blender.org
Wed, 17 Dec 2003 11:20:15 -0800 (PST)


Heh heh...
   I feel stupid now.  I did further testing and my comments about redundant
sampling seem to be very false.  Sorry about that... I should have checked it
our more thoroughly before I sent that e-mail.

--Nathan Vegdahl

--- Nathan Vegdahl <nathan_vegdahl@yahoo.com> wrote:
>    I haven't actually looked at the source code, but it think that the
> soft-shadows feature in the ray tracer is doing redundant sampling when OSA
> is
> turned on.
> 
>    Example: if you set the shadow samples to 4 (i.e. 16 actual samples) and
> you
> set the OSA to 16, then the ray tracer is tracing 16x16 (256) samples per
> pixel.  This is because it is tracing 16 rays (for the soft shadows) per each
> single anti-aliasing sample.
> 
>    To optimize this, you can use the same rays for both the anti-aliasing and
> the soft-shadows.  In the case that the OSA samples and the shadow samples
> are
> not set to the same number, simply use the larger of the two.
> 
>    Oh, and thank you very much, Ton, for implimenting the raytracing!  Even
> as
> it is right now, it is useful!
> 
> --Nathan Vegdahl
> 
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/