POV-Ray : Newsgroups : povray.binaries.animations : A sunrise with media and radiosity : Re: A sunrise with media and radiosity Server Time
1 Jun 2024 13:39:30 EDT (-0400)
  Re: A sunrise with media and radiosity  
From: Alain
Date: 23 Oct 2008 10:21:46
Message: <4900887a$1@news.povray.org>
Rarius nous illumina en ce 2008-10-23 04:45 -->
> "ajtribick" <nomail@nomail> wrote in message 
> news:web.48fb31f9ed540e8abc82ce420@news.povray.org...
>> Test animation of a sunrise using media and radiosity. The atmosphere is 
>> created
>> using Rayleigh scattering media which has a density that falls off 
>> exponentially
>> with height. The test is only partially successful: it seems that the 
>> media
>> atmosphere is not giving any contribution to the radiosity lighting. Still 
>> have
>> to figure out if there's any way to increase the contribution of the 
>> scattering
>> media to the radiosity while still allowing the colour of the sky to 
>> remain
>> visible.
> 
> Just a thought... As you are having a problem getting the media to 
> contribute to the radiosity of objects within the object containing the 
> media, why not excavate a volume for the objects from that object as 
> follows:
> 
> union
> {
>     difference
>     {
>         sphere{0, 100000}
>         sphere{0, 1000}
>         interior{media{...}}
>     }
>     union
>     {
>         //Other objects all within the inner sphere above
>     }
> }
> 
> Rarius 
> 
> 
Similar to, but more complicated than:

sphere{0,1000 interion{media...}}hollow texture{...}}

No need to use the union.

-- 
Alain
-------------------------------------------------
If you pick up a starving dog and make him prosperous, he will not bite you; 
that is the principal difference between a dog and a man.

Mark Twain


Post a reply to this message

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