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

Simple clear blue summer sky:

The word inside a hemisphere of type "cheese cover" :
with a realistic fog at the horizon made by "color_map{gradient <0,1,0> ..." changing the color from white at the horizon level to deep blue at 12 am. All together blown up by "scale 10000" - the only problem:
You must keep the sun in this hemisphere, otherwise you see only the ambient component of all textures!
// sky ------------------------------------
sphere{<0,0,0>,1 hollow
 texture{
  pigment{gradient <0,1,0>
          color_map{
           [0.0 color White]
           [0.8 color rgb<0.1,0.25,0.75>]
           [1.0 color rgb<0.1,0.25,0.75>] }
         } // end pigment
  finish {ambient 1 diffuse 0}
  } // end of texture
 scale 10000
 } // end of sphere -----------------------
You will get the same result without these limits by using "sky_sphere" with this "pigment".
Simple clear sky, type "cheese cover"
Description of this scenery for POV-Ray
sky_sphere{
 pigment{ gradient <0,1,0>
          color_map{
          [0.0 color rgb<1,1,1>        ]
          [0.8 color rgb<0.1,0.25,0.75>]
          [1.0 color rgb<0.1,0.25,0.75>]}
        } // end pigment
 } // end of sky_sphere -----------------

Good clouds - bad horizon:

With the word inside a hemispere type "cheese cover" you should not change to a cloud texture because of the very unrealistic clouds crashing with the horizon!

Unfortunately also most cloudy skies created with "sky_sphere" are suffering from this illness!
bad sky: clouds crashing with horizon
Description of this scenery for POV-Ray

Partly cloudy sky with realistic horizon:

The sky is formed by a blue plane which is decorated by some clouds. The clouds become realisticly smaller at the horizon! This effect cannot be simulated by the use of "sky_sphere"!
The realistic ground fog covers the black line at the horizon - the gap between the ground plane and the sky plane.
The only problem here:
You must keep the sun below this sky plane! - Otherwise you see only the ambient component of all textures!
A version of a realistic cloudy sky without using fog can be found in the 2nd example at 5.
partly cloudy sky - realistic horizon
Description of this scenery for POV-Ray

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

top

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