POV-Ray : Newsgroups : povray.binaries.images : sunset glow : Re: sunset glow Server Time
16 Aug 2024 02:28:22 EDT (-0400)
  Re: sunset glow  
From: Gail Shaw
Date: 4 May 2002 13:42:03
Message: <3cd41d6b@news.povray.org>
"Abe" <bul### [at] taconicnet> wrote in message
news:3CD3E591.4D89496A@taconic.net...
> If I may be permitted to withold the source (since I'm not sure yet how
> robust the whole atmosphere technique is) and give a brief general
> description instead.
>
> The sun is a distant light_source.
> The terrain is a regular height_field.
> The atmosphere is composed of (simplified):
> sphere{
>   -y*earth_radius, earth_radius+atmosphere_height hollow
>   pigment{clear}
>   interior{
>     media{scattering{1 rgb sky_blue}}
>     media{absorption rgb <1,1,1>-reddening_color}}
>   }
>   translate <camera_position>
> }
> The sun glow is achieved by looking down a long scattering media filled
> cylinder which is pointed at the sun.
> The clouds are based on the technique described at
>
http://www2.taconic.net/bullfrog/sky/lightsourced_clouds/simple_bumpshaded_c
louds.html
> (please forgive the incompleteness of the site at this time).
>
> Hope this helps.
>

should help make my next landscale look a bit better

Gail
--
#macro G(H,S)disc{0z.4pigment{onion color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end G(3,5)G(2,5.5)G(1,5)
G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
)G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)///GS


Post a reply to this message

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