POV-Ray : Newsgroups : povray.binaries.images : Focal blur tricks : Re: Focal blur tricks Server Time
2 Aug 2024 04:16:43 EDT (-0400)
  Re: Focal blur tricks  
From: Zeger Knaepen
Date: 23 Feb 2008 16:06:11
Message: <47c08ac3$1@news.povray.org>
> You can even tell the difference
> without the strong highlights which makes me wonder why the default is a 
> square
> aperture.

I suppose it's faster to calculate a random location inside a square than a 
random location inside a circle.  Might not be much of a difference for 1 pixel 
and 1 sample, but it could add up to a lot for 1024x786 pixels and 10 samples 
per pixel.

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.