#version 3.7; global_settings { assumed_gamma 2.2 } camera { location <0,-20,10> look_at <0,0,0> up <0,0,1> right <1,0,0> sky <0,0,1> } #local li=0; #while(li<360) light_source { <10,0,25> color rgb <1,0.75,0.5> rotate li*z } #local li=li+36; #end #declare amount=5; #local zx=0; #while(zx<=amount) #local yx=-amount; #while(yx<=amount) #local xx=-amount; #while(xx<=amount) torus { 1,0.4 rotate 90*x translate texture { pigment { color rgbt <0.2,0.5,1.0,0.3> } finish { diffuse 0.8 ambient 0.3 specular 1 } } } #local xx=xx+1; #end #local yx=yx+1; #end #local zx=zx+1; #end