#include "colors.inc" #include "textures.inc" //--------------------------------------------------------------------------- camera { location <0,0,-10> direction <0,0,2> look_at <0,0,0> } light_source { <250,250,-500> color White } //----------------------------------------------------------------------------- #declare Sky = union { /* Draw the sky */ sphere { <0, 0, 0>, 5000 pigment { gradient <0,1,0> color_map { [ 0.0 color SummerSky ] [ 0.2 color SlateBlue ] [ 1.0 color SlateBlue ] } scale 5000 } finish { ambient 0.7 diffuse 0 } } /* a few clouds */ sphere { <0, 0, 0>, 4900 scale <1,0.075,1> pigment{ granite turbulence 0.1 color_map { [ 0.0 color Clear ] [ 0.3 color Clear ] [ 1.0 color White ] } scale 1000 } finish {ambient 0.7 diffuse 0} } } object { Sky } // Ocean ------------------------------------------------------------------ #declare Ocean = plane { y,-2 normal { waves 0.06 frequency 5000.0 scale 1000.0 } finish { reflection 0.5 } pigment { color blue 0.4 } rotate -80*y } //-------------------------------------------------------------------------- object { Ocean }