POV-Ray : Newsgroups : povray.newusers : photons and shadows Server Time
25 Nov 2024 07:36:18 EST (-0500)
  photons and shadows (Message 1 to 4 of 4)  
From: Piotr 'utak3r' Borys
Subject: photons and shadows
Date: 27 Mar 2006 03:10:14
Message: <44279de6$1@news.povray.org>
Hi all,

I have a nice scene with some glass objects. There're two lights (one 
point light and one area light). Everything is beautiful, shadows below 
those glassy things are nice coloured depending on the interior section:

   interior {
     ior 1.9
     fade_power 1001
     fade_distance 0.65
     fade_color <1.0, 1.0, 0.0>
   }

BUT - whenever I try to use photons, those shadows become pure black 
(under the glass - I mean when I can see this shadow directly, its 
transparent - although not coloured, just gray, but when I'm looking on 
this shadow through the glass, it's black). Is it max_trace_level too 
low? I've set it as high as 20 and nothing changes... I'd really want to 
add some nice caustics, but for now the better version comes without 
photons.
BTW, is there any other method to get refractive caustics? Even fake one...

cheers
-- 
Piotr "utak3r" Borys


Post a reply to this message

From: Warp
Subject: Re: photons and shadows
Date: 27 Mar 2006 03:48:18
Message: <4427a6d2@news.povray.org>
Piotr 'utak3r' Borys <pio### [at] gmailcom> wrote:
> BUT - whenever I try to use photons, those shadows become pure black 

  That's actually physically correct (assuming light doesn't arrive
from anywhere else (eg. reflected from other surfaces) to the shadow).

  A solid refracting object of a certain shape, such as a glass sphere
(or a really dense spherical diamond like your object seems to be)
concentrates the light passing through it. Since the light is concentrated
at a smaller spot, no light arrives at the other places of the shadow of
the object. It's logical and physically accurate.

  It's difficult to demonstrate this in real life because you would need
a glass sphere and an environment where light does not illuminate the
shadow of the sphere (iow you would beed a room with completely black
non-reflecting walls).

  The most common household glass object is a drinking glass. This is
a completely different shape because its an almost cylinderical hollow
glass object with a very thin surface, which causes it to have an almost
inexistent concentration-of-light effect. Most light passes through
such glass without concentrating on a small area, and thus the "shadow"
of the glass is quite evenly illuminated by the light passing through
the glass.

  So there are two elements in play here: The shape of the object (some
objects concentrate light or otherwise deviate it significantly so that
the shadow of the object has areas where light does not arrive) and
the light coming from other sources illuminating the shadow (usually
reflected from other surfaces, something which povray's radiosity feature
simulates).

  Just because the image you are seeing doesn't look correct to you
doesn't mean it's not physically correct (given the parameters you
have set for the scene). Some things in real life indeed do not work
exactly as one would expect, even though they might feel as common
and everyday things. (One reason for this phenomenon is that people
usually don't pay close attention to some details in real life, but
when they are rendering a scene they suddenly do, and those unexpected
details suddenly jump out.)

-- 
                                                          - Warp


Post a reply to this message

From: Piotr 'utak3r' Borys
Subject: Re: photons and shadows
Date: 27 Mar 2006 05:18:06
Message: <4427bbde$1@news.povray.org>
Hi,

>>BUT - whenever I try to use photons, those shadows become pure black 

>   That's actually physically correct (assuming light doesn't arrive
> from anywhere else (eg. reflected from other surfaces) to the shadow).

> and everyday things. (One reason for this phenomenon is that people
> usually don't pay close attention to some details in real life, but
> when they are rendering a scene they suddenly do, and those unexpected
> details suddenly jump out.)

Ha... guess what - you're absolutely right... after rethinking the 
subject I get it now :) thanks for your really impressive answer :)

cheers
-- 
Piotr "utak3r" Borys


Post a reply to this message

From: Alain
Subject: Re: photons and shadows
Date: 28 Mar 2006 18:56:16
Message: <4429cd20@news.povray.org>
Piotr 'utak3r' Borys nous apporta ses lumieres en ce 27/03/2006 05:22:
> Hi,
> 
> 
> 
>>   That's actually physically correct (assuming light doesn't arrive
>> from anywhere else (eg. reflected from other surfaces) to the shadow).
> 
> 
>> and everyday things. (One reason for this phenomenon is that people
>> usually don't pay close attention to some details in real life, but
>> when they are rendering a scene they suddenly do, and those unexpected
>> details suddenly jump out.)
> 
> 
> Ha... guess what - you're absolutely right... after rethinking the 
> subject I get it now :) thanks for your really impressive answer :)
> 
> cheers
An interesting fact: an hollow glass cylinder, like a glass, will actualy diverge
light like a 
concave lense. The thicker the side, the more intence the effect, for the light that
hit the open part.

-- 
Alain
-------------------------------------------------
I feel like I'm diagonally parked in a parallel universe.


Post a reply to this message

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