|
![](/i/fill.gif) |
For the horizon fog layer that will hide the edges of the cloud area, i
was thinking about a cylinder with a density that increases towards the
center and fades away at the edges. Please see the illustration.
I tried, but I admit i lack knowledge and understanding. Please see the
scene code and advise me. Big thanks.
----------------------
cylinder
{
< 0.0, 0.0, -10.0 > < 0.0, 0.0, 10.0 > 2.0
pigment { color rgb < 0.47059, 0.71373, 0.80392 > }
hollow
interior
{
media
{
/*
emission < 0.96078, 0.6549, 0.6549 > *0.15
absorption < 0.0, 0.0, 0.5 >
scattering
{
3, < 1.0, 1.0, 1.0 >
extinction 1.0
}
*/
density
{
gradient < 1.0, 0.25, 0.5 > // controls the cloud formation
turbulence 0.5
frequency 5
color_map
{
[ 0.0 rgb 0.0 ]//border
[ 0.5 rgb 0.1 ]
[ 1.0 rgb 1.0 ]//center
} // end color_map
} // end of density
} // end of media ----
} // end of interior
translate < 10.0, 1.0, 0.0 >
}
---
http://www.avg.com
Post a reply to this message
Attachments:
Download 'density.jpg' (32 KB)
Preview of image 'density.jpg'
![density.jpg](/povray.binaries.images/attachment/%3C5a1bf0d9%40news.povray.org%3E/density.jpg?preview=1)
|
![](/i/fill.gif) |