|
|
"Bryan Valencia" <no### [at] waycom> schreef in bericht
news:4887f27d$1@news.povray.org...
>
> ok, maybe I'm just dense (pun intended)
> But I added the 2 densities and my media effect disappeared while the sky
> was still white.
>
> This is my media
>
> media {
> intervals 20
> scattering { 4, rgb 0.01 }
> samples 2, 10
> confidence 0.9999
> variance 1/1000
> ratio 0.9
> // density {planar scale y*5 }
> // density {granite scale 0.1}
> }
>
> The two // lines are the ones I added.
As a start, try this from one of my scenes. The parameter SkyScale scales
the sphere used as a sky.
Also, remember to always use intervals = 1 as the default method is 3.
//start code
background {Black}
sphere { <0, 0, 0>, 1
texture {pigment {rgb 0 transmit 1} }
interior_texture {
pigment {
gradient y
color_map {
[0.0 rgb <0.6,0.7,1.0>*0.3 transmit 0.3]
[0.7 rgb <0.0,0.1,0.8>*0.3 transmit 0.3]
}
}
finish {ambient 1 diffuse 0}
}
scale SkyScale
hollow
#if (Atmo)
interior {
media {
intervals 1
scattering {2, rgb 0.3/SkyScale}
samples 300
confidence 0.9999
variance 1/1000
ratio 0.9
}
}
#end
}
//end code
Thomas
Post a reply to this message
|
|