// Kamera camera { sky <0,0,1> right <-4/3,0,0> location <10,8,5> look_at <0, 0, -1> angle 30 } // Lichtquellen light_source { <6,-2,8> color rgb <1,1,1> } light_source { <3,10,3> color rgb <1,1,1> } // Boden plane { z, 0 pigment { color rgb z} finish {reflection 0.8 phong 0.8} } // Variablendeklarration und while-Schleife #declare i = -1; #while (i <= 3) sphere {, 0.5 pigment { color rgb <0.8, 0.8, 0.8> } finish {reflection 0.8 phong 0.8} } #declare i=i+1; #end // Ende der while-Schleife