// Persistence Of Vision raytracer version 3.0 // A group of colored spheres // sample file by T.Higo 05.1998 #version 3.0 global_settings { assumed_gamma 2.2 } #include "colors.inc" camera { location <-20,10,-30> angle 10 look_at <0, 2, 0> } light_source {<-50, 100, -50> color White} #declare Cy=0 #while (Cy < 4) #declare Cz=0 #while (Cz < 4) #declare Cx=0 #while (Cx < 4) sphere { < 0,0,0> 0.3 no_shadow pigment { color rgb < 1-Cx/3, Cy/3, 1-Cz/3>} translate < Cx, Cy, Cz > } #declare Cx=Cx+1 #end #declare Cz=Cz+1 #end #declare Cy=Cy+1 #end background { color White }