|
![](/i/fill.gif) |
Alain <ele### [at] netscape net> 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)
|
![](/i/fill.gif) |