POV-Ray : Newsgroups : povray.binaries.images : Focal blur tricks : Re: Focal blur tricks Server Time
2 Aug 2024 04:19:43 EDT (-0400)
  Re: Focal blur tricks  
From: Mike Raiford
Date: 25 Feb 2008 12:31:37
Message: <47c2fb79$1@news.povray.org>
triple_r wrote:
> "triple_r" <rre### [at] hotmailcom> wrote:
>> I think it would require a direct patch into
>> POV-Ray to fix the problem.
> 
> So with very little effort, here's the result of my patched POV.  It's hardly
> fair to call it that since it's only a couple lines and there's no SDL
> interface for it.  It just reads a grayscale ppm file and varies the density of
> the sample grid according to the image.  You can even tell the difference
> without the strong highlights which makes me wonder why the default is a square
> aperture.  Not quite sure when that would be preferable, but maybe people don't
> use strong focal blur too often.
> 
>  - Ricky
> 
> 
> ------------------------------------------------------------------------
> 

Sweet! it even inverts the aperture shape properly. Nice :) Now, if you 
could add a parameter to the camera SDL to grab a bokeh map, or define 
blades, curvature for aperture, you'd really have something.


Post a reply to this message

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