POV-Ray : Newsgroups : povray.unofficial.patches : PP focal blur Q Server Time
8 Jul 2024 16:25:05 EDT (-0400)
  PP focal blur Q (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Nathan Kopp
Subject: Re: PP focal blur Q
Date: 18 Sep 2001 00:54:53
Message: <3ba6d39d$1@news.povray.org>
"Nathan Kopp" <nat### [at] koppcom> wrote...
>
> "Patrick Dugan" <pat### [at] usnetcomcorpcom> wrote...
> >  The docs seem
> > to indicate "field_depth specifies the length of the focal range.  All
> > objects within the range of (field_start) to (field_start+field_depth)
> will
> > be fully in focus. " to me means objects close to the camera would also
> > become blurry when they are out of the range.  Testing shows this is not
> > true.
>
> It USED to work.  Really, it did!  I remember testing it.  It actually
uses
> two different algorithms (both ad-hoc, neither based in reality) for
> camera->field_start and field_end->infinity.

Ok... here's the problem.  The ad-hoc algorithm from camera->field_start is
bad.  Oh, well.  Sorry.  I just made it up one night (probably at 1 in the
morning) and it looked cool for the scenes that I tested it in, so I kept
it.

The whole focal_blur filter was supposed to be a proof-of-concept anyway.  I
didn't do any research on algorithms before (or even after) I started
working.

Change the field_start value to 20 to see what I mean - you DO get bluring
before field_start.  It's just so minimal that you don't notice it unless
you move field_start far away.

-Nathan


Post a reply to this message

From: Andy Cocker
Subject: Re: PP focal blur Q
Date: 18 Sep 2001 13:54:33
Message: <3ba78a59@news.povray.org>
Thanks for your reply Nathan. Keep up the good work.

All the best,

Andy Cocker


Post a reply to this message

From: Nathan Kopp
Subject: Re: PP focal blur Q
Date: 18 Sep 2001 21:34:04
Message: <3ba7f60c@news.povray.org>
"Andy Cocker" <big### [at] mariner9fsnetcouk> wrote...
> Thanks for your reply Nathan. Keep up the good work.
>

Thanks.  Anyway, if anyone wants to research post-processed focal blur and
come up with a REAL algorithm, please do. :-)  I hope we can have an even
better version of post-processing in some future version of MegaPov or even
official POV-Ray.

-Nathan


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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