#include "colors.inc" #include "stones.inc" camera { location <1.5,1,-7> look_at <1.5,1,2> } sphere { #switch(clock) #range(0,0.666666666666) <3*clock,1.5*clock,2>, #break #range(0.666666666666,1) <2+3*(clock-0.6666666666),1-1.5*(clock-0.66666666666666),2> #end 0.4 texture { pigment { color Yellow } finish { specular 0.9 roughness 0.02 } } } sphere { <0,0,2>,0.2 texture { pigment { rgb <0.8,0.9,0.6> } } } sphere { <2,1,2>,0.2 texture { pigment { rgb <0.8,0.9,0.6> } } } sphere { <3,0.5,2>,0.2 texture { pigment { rgb <0.8,0.9,0.6> } } } intersection { plane { <0, 0, -1>, -4 } cylinder { <1.5,0.5,3>, <1.5,0.5,5>, 5 } texture { pigment { rgb <0.7,0.7,1.0> } } finish { ambient 0.6 } } light_source { <2, 4, -3> color White}