#include "colors.inc" #include "textures.inc" camera { location<0,0,-150> look_at<0,0,0> right up y } light_source { <2000,2000,-2000> color White } light_source { <-2000,2000,-2000> color White } //background { color Black } background { color White } fog { color White distance 1550 } #declare Mysky = sphere { <0,0,0>,0.98 texture { Blue_Sky3 finish { reflection 0.0 diffuse 0.0 ambient 1.0 } } } #declare Env=union { difference { sphere { <0,0,0>,1 } object { Mysky } scale <3000,500,3000> texture { Blue_Sky3 finish { reflection 0.0 diffuse 0.0 ambient 1.0 } } no_shadow //rotate<0,Angle,0> } plane { y,-5 texture { Cork normal { bumps .6 } scale <50,50,50> } } } object { Env } #declare R1=seed(5); #declare bBegin=<0,0,0>; #declare bEnd=<0,2,0>; #declare xCount=0; #while (xCount < 30) union { #declare Count=0; #while (Count < 20) union { sphere { <10,0,0>,.75 } torus { 10,.1 } rotate } #declare Count=Count+1; #end #declare Count=0; #while (Count < 1000) object { sphere { <5,0,0>,1 } rotate } #declare Count=Count+1; #end texture { Aluminum } translate } #declare xCount=xCount+1; #end