POV-Ray : Newsgroups : povray.binaries.animations : A sunrise with media and radiosity : Re: A sunrise with media and radiosity Server Time
26 Jun 2024 11:51:07 EDT (-0400)
  Re: A sunrise with media and radiosity  
From: ajtribick
Date: 23 Oct 2008 16:45:01
Message: <web.4900e1fc657b8a95bc82ce420@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> 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

Thanks for the help everyone, I ended up using

difference {
 sphere { ... }
 sphere { ... }
 hollow
 interior { ... }
}

.... rest of scene ...

and the radiosity has worked. Here's the new version of the animation.


Post a reply to this message


Attachments:
Download 'mediaatmosphere2.mpg' (314 KB)

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