|
![](/i/fill.gif) |
"Abe" <bul### [at] taconic net> 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
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Fri, 03 May 2002 16:06:34 -0400, Abe wrote:
> Media sky (color) and media sun "glow". Pigment clouds.
> The point here was to get the characteristic glow around the sun. I
> threw in the moon and clouds for kicks.
As others have said the glow effect is stunning, I'm expecting to see an
American Indian ride along the mountain on a horse any minute.
The clouds do look flat but you already know that. Keep us posted.
--
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve
Post a reply to this message
|
![](/i/fill.gif) |