POV-Ray : Newsgroups : povray.binaries.images : sunrise atmospheric effects : Re: sunrise atmospheric effects Server Time
4 Nov 2024 22:18:09 EST (-0500)
  Re: sunrise atmospheric effects  
From: Tek
Date: 14 Jan 2006 15:28:59
Message: <43c95f0b$1@news.povray.org>
"Marc Jacquier" <jac### [at] wanadoofr> wrote in message 
news:43c91030$1@news.povray.org...
>

> news:43c8e541@news.povray.org...
>>       function { exp( -(sqrt(x*x+y*y+z*z)-6000)/4 ) }
> That's the function I couldn't work out!

Well I have a friend with a PhD in astrophysics, which means whenever I have 
astronomical/planetary questions I usually ask him, then he tells me he 
doesn't have a clue and goes off and looks it up for me :)

The formula is just an exponential decrease in density away from the earth's 
surface, which is close enough to accurate to look pretty nice.

-- 
Tek
http://evilsuperbrain.com


Post a reply to this message

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