#include "colors.inc" #include "golds.inc" #include "metals.inc" #include "woods.inc" #include "transforms.inc" #include "shapes.inc" #include "math.inc" #include "glass.inc" #include "stones.inc" #include "textures.inc" #declare number = 0; #while (number < 10) sphere { <-2+number/2,0,2>, .4 pigment {color rgb } } #declare number = number+1; // increment our counter #end torus { .75,.25 translate <1,1,-1> pigment {color Magenta} } cone { <0,1,0> .25 <0,-1,0> .75 pigment {color Blue} translate <-2,-.5,0> } // the rest of this is from previous assignments light_source { <0, 0, 0> color rgb <1,1,1> } light_source { <0,2,-5> color rgb <1,1,1> } light_source { <1,4,0> color rgb <1,1,1> } light_source { <-1,4,2> color rgb <1,1,1> } camera { location <1.0, 3.0, -5.0> look_at <0.0, 0.0, 0.0> } cylinder{<10, 0, 0>, <-10, 0, 0>, 0.1 pigment {color Red} } cylinder{<0, 10, 0>, <0, -10, 0>, 0.1 pigment {color Blue} } cylinder{<0, 0,10>, <0, 0, -10>, 0.1 pigment {color White} } plane{y, -1 pigment{ Silver }}