// Texturbeispiele // A. Filler, 2003 // --------------------------------------------------------------- #version 3.5; // benötigte POV-Ray-Version #include "colors.inc" #include "textures.inc" #include "metals.inc" #include "golds.inc" #include "skies.inc" #include "stars.inc" #include "stones1.inc" #include "stones2.inc" #include "woods.inc" #declare intervall = 3; // Von der Kamera erfasster Bildausschnitt #declare winkel = - 60 ; // Winkel der Kamera zur x-Achse (in Grad) background {White} // Farbe des Hintergrundes // --------------------------------------------------------------------------- // Beschreibung der Kamera // --------------------------------------------------------------------------- camera { orthographic location <60*intervall*cos(winkel*pi/180), 20*intervall, 60*intervall*sin(winkel*pi/180)> right x*4/3*2.7*intervall up y*2.7*intervall look_at <0.0, -intervall/10, 0.0> } // --------------------------------------------------------------------------- // Lichtquellen // --------------------------------------------------------------------------- light_source { <2.5*intervall, 2*intervall, -5*intervall> color rgb <1, 1, 1> } light_source { <0,10*intervall,2*intervall> color rgb <1, 1, 1> } // --------------------------------------------------------------- // Beginnen Sie, Objekte in der Szene zu beschreiben. // ******************************************************************************* //Himmel sphere { <0, 0, 0.0>, 1000 texture { Starfield1 } } // Grundfläche plane { y, 0 texture { T_Grnt1 } } // Körper der Szene sphere { <-2, 2, -3>, 2 texture { T_Silver_1C } } torus {3, 0.8 translate <5.5,0.8,-7> texture { T_Gold_2C } } cone{ <2,0,3>, 2, <2,3,3>, 0.8 texture { T_Wood21 } }