POV-Ray : Newsgroups : povray.binaries.images : Re: Cloud Surface : Re: Cloud Surface Server Time
1 Jul 2024 02:43:14 EDT (-0400)
  Re: Cloud Surface  
From: Sven Littkowski
Date: 27 Nov 2017 06:02:49
Message: <5a1bf0d9@news.povray.org>
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


 

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