POV-Ray : Newsgroups : povray.binaries.images : Focal blur tricks : Re: Focal blur tricks Server Time
2 Aug 2024 04:19:50 EDT (-0400)
  Re: Focal blur tricks  
From: Zeger Knaepen
Date: 24 Feb 2008 06:54:16
Message: <47c15ae8$1@news.povray.org>
"nemesis" <nam### [at] nospamgmailcom> wrote in message 
news:47c092e1$1@news.povray.org...
> man, that's so amazing I don't even know how to thank you!  Send it to the 
> povteam right now!
>
> I don't know if a povsymbol aperture is that realistic, but as artistic 
> license it's wonderful. :)  and the hexagon and circular one are spot-on!
>
> let's workout a syntax extension for it:
>
> camera {
> aperture .02 blur_samples 60 shape circular | hexagon | image
> }
>
> how's it?

there's a bokeh-patch for povray that accepts any pigment as shape.  I think 
that's actually the best way to do it. (it's the bokeh_pigment_patch that's 
referenced on the MegaPOV-website, but that's the only hit on google, so I 
suppose it's not available anymore)

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.