POV-Ray : Newsgroups : povray.binaries.images : Focal blur tricks Server Time
2 Aug 2024 04:25:46 EDT (-0400)
  Focal blur tricks (Message 21 to 22 of 22)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: triple r
Subject: Re: Focal blur tricks
Date: 25 Feb 2008 01:05:01
Message: <web.47c259a5806ad5e4ae42298f0@news.povray.org>
"Gilles Tran" <gitran_nospam_@wanadoo.fr> wrote:

> Here's a link to Mael's POV-Ray patch with the bokeh feature (and other cool
> stuff)
> http://pov.monde.free.fr/mael/mlpov081.html


Hey thanks!  I'm content with the status quo right now -- which requires
recompiling POV-Ray if I want to change the pattern -- but it's interesting to
see what someone else has done.  Recompiling is really not as much of a pain as
it sounds.  Doesn't need changing too often.  But it seems like the pattern
solution would be useful enough to make it into more than a little-known
patched version now that computers are actually powerful enough to take
advantage of it.  Looks like the current render will take about four hours.
Roughly speaking,

4 hours * (2.4 Ghz/120MHz) * (4 Cores/1 CPU) ~= two weeks (and hard times for
the last computer on which I played with focal blur).

 - Ricky


Post a reply to this message

From: Mike Raiford
Subject: Re: Focal blur tricks
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

<<< Previous 10 Messages Goto Initial 10 Messages

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