#include "colors.inc" #include "stones.inc" global_settings { adc_bailout 0.0039216 ambient_light rgb <1.5, 1.5, 1.5> assumed_gamma 1.5 noise_generator 3 } light_source { <6.2202, 7.5281, -9.4761>, rgb <1, 1, 1> } #declare White = texture { pigment { color rgb <1, 1, 1> } finish { ambient rgb <0, 0, 0> phong 0.5 phong_size 40 specular 0.2 conserve_energy } } #declare White = texture { T_Stone8 } union { #declare Fr = function { 0.5 + 0.5*sin(10*v) }; #declare Fx = function { Fr(u,v,0)*cos(u)*sin(v) }; #declare Fy = function { Fr(u,v,0)*cos(v)}; #declare Fz = function { Fr(u,v,0)*sin(u)*sin(v) }; #declare maxG = 2.4; #declare startU = 0; #declare startV = 0; #declare endU = 2*pi; #declare endV = pi; parametric { function { Fx(u,v,0) }, function { Fy(u,v,0) }, function { Fz(u,v,0) } , contained_by { sphere {0, 1.01} } max_gradient maxG precompute 20 x,y,z texture { T_Stone1 } } scale 2 translate y*1.25 } cylinder { <0, 1, 0>, <0, -1, 0>, 4 scale 1 rotate <0, 0, 0> translate y*(-0.25) texture { White translate y*(-20) rotate <0, -45, -90> } } cylinder { <0, 1, 0>, <0, -1, 0>, 3.75 scale 1 rotate <0, 0, 0> translate <0, 0, 0> texture { White } } cylinder { <0, 1, 0>, <0, -1, 0>, 3.5 scale 1 rotate <0, 0, 0> translate y*0.25 texture { White rotate <45, -10, 0> translate x*100 } } plane { <0, 1, 0>, 0 texture { pigment { color rgb <0, 0.8, 0> } finish { ambient rgb <0.5, 0.5, 0.5> diffuse 1 } } scale 1 rotate <0, 0, 0> translate <0, 0, 0> } sky_sphere { pigment { gradient y color_map { [0.0 rgb <0.78, 0.85, 0.89> ] [0.2 rgb <0.60, 0.74, 0.88> ] [0.6 rgb <0.30, 0.45, 0.68> ] } } scale 1/2 } camera { perspective location <-0.727618, 3.90795, -9.17627> sky <0, 1, 0> direction <0, 0, 1> right <1.33333, 0, 0> up <0, 1, 0> look_at <0, 2.09508, 0.202096> }