POV-Ray : Newsgroups : povray.general : Rendering Skies In POV-Ray : Re: Rendering Skies In POV-Ray Server Time
9 Aug 2024 23:20:22 EDT (-0400)
  Re: Rendering Skies In POV-Ray  
From: Bob Hughes
Date: 18 Apr 2000 22:33:01
Message: <38fd1add@news.povray.org>
"Mike Weber" <mik### [at] pyxiscom> wrote in message news:38fce440@news.povray.org...
| Here is a very simple start:
|
| camera {location<0,.1,0> look_at<0,0,10000>}
| light_source{<0,1000,0> rgb<1,1,1>}
|
| file://earth
| sphere {<0,0,0>, 1000 pigment{rgb<.35,.35,0>} translate <0,-1000,0>}
|
| file://sky
| sphere {<0,0,0>, 100000 pigment{rgbf<.8,.8,.8,.25>} hollow}

You would want to use 'color_map' no doubt if this was to all be done with texturing
and not media.
So...

 sphere {<0,0,0>, 100000
  pigment {gradient y color_map {
        [0.0 color rgbf<.8,.85,.9,.05>] // horizon
        [0.1 color rgbf<.7,.8,.85,.125>]
        [1.0 color rgbf<.3,.5,.9,.25>] // zenith
        }}
 hollow}

... might be what you're looking for to adjust colors with.
Obviously the scales aren't correct but I'd guess you know what sizes to make things.
There have been several Earths made by many people over time, some could probably
be found in one of the scene-files newsgroups here.
If you're looking to do something which this doesn't cover don't give up keep asking
questions.

Bob


Post a reply to this message

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