// Das ist ein Kommentar und bewirkt nichts. // Kamera camera { sky <2,1,1> // Vektor, der festlegt, wo oben ist. right <2/3,1,0> // Bildverhältnis 4:3, plus Spiegelung für rechtsdrehendes System location <10,8,5> // Position der Kamera look_at <1, 0, 0> // Blickrichtung (erscheint im Bildmittelpunkt) angle 40 // Öffnungswinkel der Kamera } // Lichtquellen light_source { <6,-2,8> // Position des Lichts color rgb <1,1,1> // Farbe des Lichts, als rot-grün-blau Vektor (Komponenten 0 bis 1) } light_source { <3,10,3> // Position des Lichts color rgb <1,1,1> // Farbe des Lichts, als rot-grün-blau Vektor (Komponenten 0 bis 1) } #declare i=0; #while (i<10) box { <0,i,0>, <1,i+0.1,2> pigment { color rgb <1,2,3> } } sphere {<0,i,0>,0.1 pigment { color rgb x } } #declare i=i+1; #end