POV-Ray : Newsgroups : povray.advanced-users : Focal Blur and Reflections Server Time
31 Oct 2024 19:15:03 EDT (-0400)
  Focal Blur and Reflections (Message 1 to 5 of 5)  
From: Papacharly
Subject: Focal Blur and Reflections
Date: 21 Jan 2014 15:20:01
Message: <web.52ded62fd6e78261b56525720@news.povray.org>
Hello,

this is my first post here. I just registered as I am looking for some help. I
like to use povray for rendering LEGO models.

Here is my topic:
Rendering a LEGO Helicopter I realised a non-realistic effect: On the vertical
flank of the rotor blade there are some yellowish reflections (see green flags:
http://bricksafe.com/files/papacharly/reflections.jpg ). According to the focal
blur settings these reflections should also be blurred. But as you can see,
these reflections are razor-sharp and not blurred at all!

Does anybody has an idea what is going on and how this can be resolved?

I use povray 3.7.0

Many thanks and kind regards from germany

papacharly


Post a reply to this message

From: Alain
Subject: Re: Focal Blur and Reflections
Date: 21 Jan 2014 17:22:03
Message: <52def30b@news.povray.org>

> Hello,
>
> this is my first post here. I just registered as I am looking for some help. I
> like to use povray for rendering LEGO models.
>
> Here is my topic:
> Rendering a LEGO Helicopter I realised a non-realistic effect: On the vertical
> flank of the rotor blade there are some yellowish reflections (see green flags:
> http://bricksafe.com/files/papacharly/reflections.jpg ). According to the focal
> blur settings these reflections should also be blurred. But as you can see,
> these reflections are razor-sharp and not blurred at all!
>
> Does anybody has an idea what is going on and how this can be resolved?
>
> I use povray 3.7.0
>
> Many thanks and kind regards from germany
>
> papacharly
>
>
>
>

What I see is the normal, physicaly correct bluring. There is nothing to 
be resolved, except, maybe, some incorrect assumption or expectation.

The bluring of the reflection depends on the total distance between the 
camera and whatever get reflected, not only the distance between the 
camera and the reflecting surface. This differs totaly from any kind of 
faked, post-process, focal bluring where you only get distance 
information up to the first ray intersection.

Also, if you have a lense like object, what you see through it will be 
affected by it's focussing effect.

If you render a scene where you have a reflective floor and some object 
that is beyong the focal point and get blured when viewed directly, 
then, it's refection will be as blured as the object itself.

Sample case:
#version 3.7;
global_settings{assumed_gamma 1}
plane{y,0 finish{reflection<0.5,1,0.6>}}
box{<3,0,50><-3,10000,50> pigment{rgb<1,1,0>}}// OUT of focus
cylinder{<-5,0,0><-5,100,0> 1 pigment{rgb<0.9,0.2,0.1>}}//in focus
sphere{<5,2,0>2 pigment{rgb<0.1,0.3,1>}}//also in focus
camera{location<0,5,-50> look_at 0
focal_point 0
blur_samples 9 35
aperture 10 // very broad to beter show the effect
}

light_source{<30, 0,-30>rgb 1 }

The yellow box is out of focus as is the totality of it's reflection.
The red cylinder and blue sphere are in focus. Their reflections are 
also correctly in focus everywhere.



Alain


Post a reply to this message

From: Papacharly
Subject: Re: Focal Blur and Reflections
Date: 22 Jan 2014 15:40:01
Message: <web.52e02c716216a1dcb56525720@news.povray.org>
Thanks for your fast and detailed response, Alain, as well for your example.

Unfortunately, I have to admit that you're completely right: This effect is
physically absolutely correct.

But I have doubted that until I did a real life test setup using a real camera.



papacharly


Post a reply to this message

From: Samuel Benge
Subject: Re: Focal Blur and Reflections
Date: 23 Jan 2014 12:55:01
Message: <web.52e1566e6216a1dc510f5afc0@news.povray.org>
"Papacharly" <nomail@nomail> wrote:
> Thanks for your fast and detailed response, Alain, as well for your example.
>
> Unfortunately, I have to admit that you're completely right: This effect is
> physically absolutely correct.
>
> But I have doubted that until I did a real life test setup using a real camera.

It's also easy to prove simply by viewing the world through a mirror held very
close to the eye :) The phenomenon also caught me short the first time I
encountered it, too.

Great model & rendering, BTW! Must have taken a long time to trace. Did you use
LGEO parts?

Sam


Post a reply to this message

From: Papacharly
Subject: Re: Focal Blur and Reflections
Date: 23 Jan 2014 17:00:00
Message: <web.52e190936216a1dcb56525720@news.povray.org>
Yes, these are LGEO parts. I use SR 3D Builder
(http://sr3dbuilder.altervista.org) for modelling and LDView (part of the
LDraw-Package http://www.ldraw.org/article/104.html) for generating the
pov-file.

And Thanks, BTW. If you like the Helicopter, maybe you also enjoy these LEGO
renders of mine: http://www.flickr.com/photos/107790234@N02/

papacharly


Post a reply to this message

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