#include "colors.inc" #include "shapes.inc" #include "textures.inc" #include "stones.inc" light_source { <0, 20, -10> color <1,1,1>} light_source { <0, 20, -10> color <1,1,1>} camera { location <5,10,-30> look_at <0,0,0> } /* Sky */ plane { y, 500 texture { pigment { SkyBlue } finish { ambient 1 diffuse 0} } texture { pigment { bozo turbulence .5 color_map { [0 White] [1 White filter 1] } } finish { ambient 1 diffuse 0 } scale <1000, 250, 250> rotate <5, 45, 0> } hollow } /* water's surface */ plane{ y, 10 texture { pigment{ average pigment_map { [ripples turbulence 0.1 translate <200,0,50> color_map { [0 rgbf <0.4,0.4,0.4,0.4>] [1 rgbf <1,1,1,1>] } ] [ripples turbulence 0.1 translate <100,0,120> scale 0.7 color_map { [0 rgbf <0.4,0.4,0.4,0.4>] [1 rgbf <1,1,1,1>] } ] [ripples turbulence 0.1 translate <100,0,200> scale 1.7 color_map { [0 rgbf <0.4,0.4,0.4,0.4>] [1 rgbf <1,1,1,1>] } ] } } //normal{ripples} } hollow } sphere {<0,0,0>,5 pigment{colour <0.8,0.5,0.3>} } fog {color <0.2,0.3,0.4> distance 50} box { <-20,-5,-20>,<20,-6,20> pigment {colour <0.5,0.6,0.8>} } sphere{<5,5,-7>,0.2 pigment{rgbf <1,1,1,1>} finish{reflection 0.2}interior{ior 0.8}} sphere{<8,8,-7>,0.2 pigment{rgbf <1,1,1,1>} finish{reflection 0.2}interior{ior 0.8}} sphere{<6,7,-7>,0.2 pigment{rgbf <1,1,1,1>} finish{reflection 0.2}interior{ior 0.8}} sphere{<6,6,-7>,0.2 pigment{rgbf <1,1,1,1>} finish{reflection 0.2}interior{ior 0.8}}