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 Water
   > opaque reflecting
    - Heavy Seas
    - partly transparent
    - Whirlpool
    - Water in a Glass
    - Isosurface Water
    - Isosurface Sea

    - Download
 
                                       

Realistic Water with POV-Ray

part 1 | 2 | 3 | 4 | 5 | 6 | 7

An simple, opaque, flat,
reflecting surface of water:
In most cases a surface of water seams to be an opaque mirrow. To simulate this a surface with a texture like "Polished_Chrome" is enough. The water itself is light transparent gray without any color (clear water has no color!!!).
The color of the surface of water is mainly defined by the objects witch are seen by reflection on that surface (Blue is the color of the sea only on sunny days with blue sky! Water looks different with a different sky!).
// sea ------------------------------
plane{<0,1,0>, 0
      texture{pigment{rgb <.2,.2,.2>}
              finish {ambient 0.15
                      diffuse 0.55
                      brilliance 6.0
                      phong 0.8
                      phong_size 120
                      reflection 0.6}
              }// end of texture
     }// end of plane
//-----------------------------------
If we have inluded the texture definitions we simply can write:
#include "textures.inc"
// sea ------------------------------
plane{<0,1,0>, 0
      texture{ Polished_Chrome }
     }// end of plane
//-----------------------------------

Sample Water 0 640x480
A simple, opaque, flat, reflecting surface of water:
Description of this scene for POV-Ray

Moderately moved water
with reflections of clouds:
Moderate waves make a surface of water look more realistic.
We add in the texture statement the following:
normal{ bumps 0.03
         scale <1,0.25,0.25>*1
         turbulence 0.6
       }
//-----------------------------------

Sample Water 1 640x480
Moderate moved water:
Description of this scene for POV-Ray

part 1 | 2 | 3 | 4 | 5 | 6 | 7

top

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