#include "colors.inc" #include "textures.inc" #declare Cam1 =camera { location<-2, 8*cos(clock*2*3.14159),2+ 8*sin(clock*2*3.14159)> look_at <-1,0,2> } camera{Cam1} light_source{<10,0,0> color Yellow*1} light_source{<-2,0,7> color White*1} light_source{<-10,0,10> color White*0.7} light_source{<-2, 0,2> color Red*0.7} light_source{<2, 0,-7> color White*0.7} light_source{<10,0,-10> color rgb <1,1,1>} light_source{<-2, 8*cos(clock*2*3.14159),2 + 8*sin(clock*2*3.14159)> color White*0.4} //light_source{<(sqrt(8*49/3),sqrt(8*49/3),49,0.7) col //Sppp(-sqrt(8*49/3),-sqrt(8*49/3),49,0.7) background {color rgb <0.9,0.9,0.9>} #macro Sp(x0,y0,z0,r0) sphere { , 0.018 pigment {rgb <159/255,14/255,14/255>}} // pigment {White}} // finish { reflection .5 phong .7 }} #end #macro Spp(x0,y0,z0,r0) sphere { , 0.028 // pigment{Yellow} } pigment{rgb <84/255,124/255,154/255>} } // finish { reflection .6 phong .7 }} #end #macro Sppp(x0,y0,z0,r0) sphere { , r0 pigment{Black} } // finish { reflection .6 phong .7 }} #end // fog at the horizon fog{distance 300000 color rgb<0.9,0.9,0.9>} //fog { // distance 500 // color rgb 0 // fog_offset 100 // fog_alt 5 // fog_type 2 // } Sppp(0,0,0,0.07)