|
|
It's really pretty simple, I don't mind sharing the code now because this is
very early WIP stuff. Here's the bit that does the atmosphere, I've
simplified it a little but it should look about the same:
//planet
sphere { 0, 6000 }
//atmos
difference {
sphere { 0, 6050 }
sphere { 0, 6000 }
hollow on
pigment { rgbt 1 }
interior {
media {
scattering {
1, rgb <.05,.17,1>
extinction 1
}
density {
function { exp( -(sqrt(x*x+y*y+z*z)-6000)/4 ) }
density_map {
[0 rgb 0]
[1 rgb .1]
}
}
}
--
Tek
http://evilsuperbrain.com
"Marc Jacquier" <jac### [at] wanadoofr> wrote in message
news:43c8e195@news.povray.org...
>
> news:43c8dedf@news.povray.org...
>> I'm just working on a nice earth-like atmosphere for a possible IRTC
>> entry
>> and I rendered this test image to see how it looked at sunset. I thought
> I'd
>> share it because it's a nice wallpaper image :)
>>
>> The atmosphere is a blue colour, but extinction makes it turn orange &
>> red
>> at shallow angles to the sun.
>>
>> --
>> Tek
>> http://evilsuperbrain.com
>
> It way better than all my lame attempts, I hope you'll share your
> parameters
> (after IRTC of course)
> method 1?
>
> Marc
>
>
Post a reply to this message
|
|