POV-Ray : Newsgroups : povray.beta-test : Radiosity and media interaction Server Time
31 Oct 2024 21:22:13 EDT (-0400)
  Radiosity and media interaction (Message 1 to 2 of 2)  
From: Cornelius
Subject: Radiosity and media interaction
Date: 23 Nov 2006 01:18:01
Message: <45653d19$1@news.povray.org>
Objects inside media receive too much light when the scene is inside a 
sphere. This happens in 3.7.beta.17 pvengine.exe and also in POV-Ray 
3.6.1 Windows and UNIX versions.

Picture: http://tinyurl.com/y4zsc9

// This
// sphere{0,100 hollow}

// and this makes the cylinder appear too bright inside media.
// sphere{0,100}

global_settings{
   assumed_gamma 1
   max_trace_level 10
   radiosity{error_bound 0.8 media on}
}

camera{
   location<-6,6,-6>
   direction 2*z
   look_at<0,0,0>
}

light_source{<10,10,-10> rgb 1}

box{<-2,-2,-1>,<2,2,1> hollow
   material{
     texture{pigment{rgbt<0,0,0,1>}}
     interior{media{scattering{1,0.1}}}
   }
}

cylinder{-2*z,2*z,1 pigment{rgb 1} finish{ambient 0}}


Post a reply to this message

From: Alain
Subject: Re: Radiosity and media interaction
Date: 24 Nov 2006 17:47:16
Message: <45677674$1@news.povray.org>
Cornelius nous apporta ses lumieres en ce 23/11/2006 01:18:
> Objects inside media receive too much light when the scene is inside a 
> sphere. This happens in 3.7.beta.17 pvengine.exe and also in POV-Ray 
> 3.6.1 Windows and UNIX versions.

> Picture: http://tinyurl.com/y4zsc9

> // This
> // sphere{0,100 hollow}

> // and this makes the cylinder appear too bright inside media.
> // sphere{0,100}

> global_settings{
>   assumed_gamma 1
>   max_trace_level 10
>   radiosity{error_bound 0.8 media on}
> }

> camera{
>   location<-6,6,-6>
>   direction 2*z
>   look_at<0,0,0>
> }

> light_source{<10,10,-10> rgb 1}

> box{<-2,-2,-1>,<2,2,1> hollow
>   material{
>     texture{pigment{rgbt<0,0,0,1>}}
>     interior{media{scattering{1,0.1}}}
>   }
> }

> cylinder{-2*z,2*z,1 pigment{rgb 1} finish{ambient 0}}
Rendered the sample.
It looks like the part inside the media have ambient 1.
If I remove media on, the effect disapears.
If I remove the interior, the effect disapears.

-- 
Alain
-------------------------------------------------
EVERYTHING HAS A GENDER

You may not know this but many nonliving things have a gender...

A Hot Air Balloon is Male, because, to get it to go anywhere, you have to light 
a fire under it, and of course, there's the hot air part.


Post a reply to this message

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