// Kamera camera { sky <0,0,1> // Vektor, der festlegt, wo oben ist. right <-4/3,0,0> // Bildverhältnis 4:3, plus Spiegelung für rechtsdrehendes System location <5,1,3> // Position der Kamera look_at <0, 0, 0> // Blickrichtung (erscheint im Bildmittelpunkt) angle 30 // Ö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) } light_source { <0,0,2> // Position des Lichts color rgb <1,1,1> // Farbe des Lichts, als rot-grün-blau Vektor (Komponenten 0 bis 1) } plane {z,0 pigment {checker color rgb 1 color rgb 0.3} } // Punkt aus Winkel berechnen #macro meinPunkt(winkel) #end #declare startw=0; #declare endw=2*pi; // 360 Grad im Bogenmass, weil cos(.) und sin(.) von POV-Ray im Bogenmass arbeiten #declare schritte=20; #declare winkel = startw; #declare dwinkel = (endw-startw)/schritte; #while(winkel } finish { phong 0.9 } } #declare winkel = winkel + dwinkel; #end