// Wirkung der Renderparameter ambient, diffuse, phong, reflection // Beispielszene 2 // A. Filler // --------------------------------------------------------------- #version 3.5; // benötigte POV-Ray-Version #include "colors.inc" // Defintion der Farben background {White} // Farbe des Hintergrundes global_settings { ambient_light rgb <0.6, 0.6, 0.6> } // Stärke des Umgebungslichtes global_settings { max_trace_level 30} // Strahlverfolgungstiefe // Verändern Sie die Renderparameter ambient, diffuse, phong, reflection // Kamera //------- camera { location<0,6,-20> angle 12 look_at<0,-0.5,0>} // Lichtquellen //------------- light_source { < 0, 300, 0 > color rgb <0.5,0.5,0.5> } light_source { < -30, 100, 0 > color rgb <1,1,1> } light_source { <0,6,-20> color rgb <0.5,0.5,0.5> } // Geometrische Objekte //--------------------- sphere { <0.1, -0.4, 1.2> 0.6 texture { pigment { color rgb <0.2,0.2,1> } finish { ambient 0 diffuse 0.1 phong 0.2 phong_size 30 reflection 0.6 } } } cone{ <1.2,-1,0.5>, 0.5, <1.2,1,0.5>, 0.0 texture { pigment { color rgb <1,0.5,0.5>} finish { ambient 0 diffuse 0.4 phong 0.3 phong_size 30 reflection 0.2 } } } cone{ <-1.1,-1,0.2>, 0.6, <-1.1,0,0.2>, 0.0 texture { pigment { color rgb <0.4,1,0.4> } finish { ambient 0.9 diffuse 0 phong 0 reflection 0 } } } torus { 0.7 , 0.2 texture { pigment { color rgb <1,1,0.3> } finish { ambient 0 diffuse 0.9 phong 0 phong_size 30 reflection 0 } } translate <0.2,-0.8,-0.9> } // Tisch cylinder { <0,-1.1,0>, <0,-1,0>, 2 texture { pigment { color rgb <0.7,0.7,0.7> } finish { ambient 0 diffuse 0.3 phong 0.2 phong_size 30 reflection 0.5 } } } // Tischbein cylinder { <0,-10,0>, <0,-1,0>, 0.2 texture { pigment { color rgb <0.7,0.7,0.7> } finish { ambient 0 diffuse 0.3 phong 0.2 phong_size 30 reflection 0.5 } } }