![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Here's a simple scene setup, using PP blur :
--------------------------------
#version unofficial MegaPov 0.6;
#include "colors.inc"
camera {location <100,0,0> direction z*1 look_at <0,0,0>}
plane {y,-50 pigment {checker color SteelBlue
color YellowGreen scale 20}}
plane {z,-10
pigment {gradient x
color_map {[0 White][.5 White][.5 Red][1 Red]}
scale 20
}
}
global_settings {
post_process {
focal_blur{30, 0, 5, .5}
}
}
light_source {<400,500,300> White*2}
------------------------------------
The blur start is at 30 units, and the depth is 0. By reading the
docs, I would assume that nothing would be in focus, but everything
in the front is in focus. I went to think that blur only worked
behind the start point, well..
But if I change the depth to 1 unit, the result is very different,
much more different that I would expect from a little 1 unit difference.
This may sound incoherent or strange, but the thing is : I don't
understand anything anymore about that focal blur effect !!
So, could someone give me an explanation of what I am seeing, and
explain (with a sample scene, at best) how it actually works ?
(or how to relate what's written in the docs to the visible result !)
Fabien.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Fabien Mosen" <fab### [at] skynet be> wrote...
> The blur start is at 30 units, and the depth is 0.
A depth of zero may cause problems because of a potential bug. The code for
the post processed focal blur is really quite ad-hoc and not very
scientific. I made it so that it looked good in my test scenes (none of
which had a depth of 0), but beyond that I can't guarantee anything.
Sometime I hope to go back and re-work the math so that it is actually
realistic. (It currently is not realistic.)
-Nathan
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nathan Kopp <Nat### [at] kopp com> wrote:
: The code for
: the post processed focal blur is really quite ad-hoc and not very
: scientific. I made it so that it looked good in my test scenes
Bad, bad! ;)
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote...
> Nathan Kopp <Nat### [at] kopp com> wrote:
> : The code for
> : the post processed focal blur is really quite ad-hoc and not very
> : scientific. I made it so that it looked good in my test scenes
>
> Bad, bad! ;)
I know. It was actually just a proof-of-concept originally. But I though
it looked good enough.
-Nathan
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nathan Kopp wrote:
>
> "Warp" <war### [at] tag povray org> wrote...
> > Nathan Kopp <Nat### [at] kopp com> wrote:
> > : The code for
> > : the post processed focal blur is really quite ad-hoc and not very
> > : scientific. I made it so that it looked good in my test scenes
> >
> > Bad, bad! ;)
>
> I know. It was actually just a proof-of-concept originally. But I though
> it looked good enough.
Okay, thanks for the explanation. No problem :-) It's just that
I'm writing (from scratch) a POV-Ray documentation in French, and
while writing the "post-process" page, I went crazy doing tests,
trying to get precise results related to the given parameters.
But it works fine enough for common use (blur background).
Fabien.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Thu, 09 Nov 2000 07:46:57 +0100 Fabien Mosen wrote:
>Okay, thanks for the explanation. No problem :-) It's just that
>I'm writing (from scratch) a POV-Ray documentation in French, and
>while writing the "post-process" page...
<snip..>
Hi, Fabien. I noticed that you said "POV-Ray documentation". Please
keep in mind that the unofficial stuff is not guaranteed to make it into
any version of the official POV-Ray, or even to remain the same in its
implementation in the MegaPov.
Thanks for your efforts in writing the documentation, though. I'm sure
it will be much appreciated by French-speaking persons.
--
Alan - ako### [at] povray org - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Alan Kong wrote:
> Hi, Fabien. I noticed that you said "POV-Ray documentation". Please
> keep in mind that the unofficial stuff is not guaranteed to make it into
> any version of the official POV-Ray, or even to remain the same in its
> implementation in the MegaPov.
If you look at it :
http://users.skynet.be/bs936509/povfr/index.htm
you'll see that (almost) every page contains a "compatibility"
header, where it says which version of POV-Ray supports the described
feature. We've tried to describe as many MegaPOV features as
possible, since almost everyone uses it. So, when 3.5 will be
released, we'll "just" have to check these features. When the
3.5 features list was published, we translated and published it
in our group, so everyone is aware of the issue.
> Thanks for your efforts in writing the documentation, though. I'm sure
> it will be much appreciated by French-speaking persons.
It is, it seems. :-)
Fabien.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |