Descriptions and Examples for the POV-Ray raytracer
by Friedrich A. Lohmüller
Deutsch
Italiano Italiano
Français français

Home
- POV-Ray Tutorial

- Realistic Skies
    - A Realistic Sky
    - Partly Cloudy Sky
    - Layers of Clouds
    - Stacked planes clouds
    - Shadow Casting
   > Massiv media clouds
    - Sunset Sky
    - Starry Skies
    - Skydomes + skymaps
    - Skyboxes + cubemaps
    - HDRI environment

    - Download
 
                                                   

How to create Realistic Skies with POV-Ray

Overview | 1 | 2 | 3 | 4 | 5 | 6 | 7.0 | 7.1 | 8 | 9 | 10

Massiv media clouds :

With media we can create clouds with massive structure also good for fly through effects. Here a cloudy density is softly limited by a boxed density. For more details on media see my tutorial Design of the Interior of transparent Shapes in POV-Ray.
// clouds by media ---------------------
box{ <-1,-1,-1>,<1,1,1>
  texture{
    pigment{ rgbf 1} // color Clear
  } // end of texture
  interior{
   media{
    method 3
    //intervals 2
    samples 10,10
    absorption 1
    emission 0.5
    scattering{ 0.8,<1,1,1>*0.5}
    density{ bozo
             color_map {
              [0.00 rgb 0]
              [0.50 rgb 0.01]
              [0.65 rgb 0.1]
              [0.75 rgb 0.5]
              [1.00 rgb 0.2]
             } // end color_map
             turbulence 0.85
             scale  0.75
             translate<1, 0.75,2>
           } // end density
    density{  boxed // or: spherical
              color_map {
               [0.0 rgb 0]    // border
               [0.1 rgb 0.05]
               [1.0 rgb 1]    // center
              } // end color_map
             scale <1,1,1>*1
           } // end density
   } // end media
  } // end interior
 hollow
 scale<1,0.5, 1> translate<0,0.5,0>
 //-------------------------------------
scale 15 translate<0,02,30>
}//-------------------------------------
click for higher resolution
Massiv clouds by media casting shadows on the ground.
Click on the image for a higher resolution!
Description of this scenery for POV-Ray Clouds_by_media_01.txt or
Clouds_by_media_01.pov

Overview | 1 | 2 | 3 | 4 | 5 | 6 | 7.0 | 7.1 | 8 | 9 | 10

top

© Friedrich A. Lohmüller, 2013
homepage:http://www.f-lohmueller.de
 
Visitors:
(since May-1999)
Thanks for your visit!