#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 = 13; // Nur wenn das //#include "ks.inc" // Koordinatensystem //ks // benötigt wird. background {White} // Farbe des Hintergrundes // --------------------------------------------------------------------------- // Beschreibung der Kamera // --------------------------------------------------------------------------- camera { location<150,50,250> look_at<30,40,7> angle 45 } // --------------------------------------------------------------------------- // Lichtquellen // --------------------------------------------------------------------------- light_source { <0,500,50> color rgb <1, 1, 1> spotlight point_at <0,0,0> radius 20 falloff 70} //light_source { <-300,2000,150> color rgb <1, 1, 1>} light_source { <0,120,50> color rgb <1, 1, 1>} // --------------------------------------------------------------- // Beginnen Sie, Objekte in der Szene zu beschreiben. // ******************************************************************************* //Hintere Wand plane { z,-250 texture {pigment{color Gray85}}} // Grundfläche plane { y, 0 texture {T_Grnt11} } //linke Wand plane {<-600,0,90> ,-137 texture {pigment {color Gray85}}} // Tischplatte #declare Tischplatte = sor{ 12, <40, -0.1>, <45, 0>, <45, .5>, <48, .501>, <45, 0.6>, <50, 2> , <50, 2.8>, <50, 3.6>, <50, 4.2>, <43, 4.501>, <41, 4.6>, <0, 4.601> texture {T_Wood15} finish { reflection 0.5 specular 1 }} object {Tischplatte translate <0,26,0>} #declare Tischbein = sor{ 25, <0, -.5>, <7.5, 0>, <5.8, 1>, <5, 1.5>, <4.5, 2>, <4, 2.5>, <2.5, 2.99>, <2.8, 3>, <3, 6>, <4.2, 9>, <2.3, 10>, <2.7, 11>, <2.8, 13>, <2.9, 15>, <3, 15.5>, <4.5, 16>, <3.5, 16.5>, <3, 17>, <2.5, 20>, <2.6, 23>, <2.9, 23.5>, <3.3, 24>, <3.5, 24.5>, <3.7, 25.4>, <4.6, 26> texture {T_Wood15}} union { object {Tischbein translate <-32,0,18>} object {Tischbein translate <32,0,18>} object {Tischbein translate <-32,0,-18>} object {Tischbein translate <32,0,-18>} finish { reflection 1 specular .1 }} //Glas #declare Glas = cone {<0,0,0> 2 <0,8,0> 3 material {M_Glass3}} union { object {Glas translate <-30,30.6,-7>} object {Glas translate <5,30.6,-4>} } //Flasche #declare Flasche = sor {6, <0,-.5>, <5,.2>,<6,6>, <2,9>, <2,16>, <2,17> texture {pigment {color Blue}} finish { reflection .05 specular .1}} object {Flasche translate <-15,30.6,-8>} //Globus #declare Globus = sphere {<0,0,0> 9 texture {pigment {image_map { jpeg "ErdMap2.jpg" map_type 1 }}} finish { reflection .1 specular .1 }} object {Globus translate <-100,20,0>} // Lampe #declare Lampe= sor {12, <0,-0.5>, <7,10.2>, <6,12.5>, <5,15>, <4,16.3>, <3,26.5>, <2,27.9>, <2,35>, <2,40.3>, < 2,56>, <2,70.7>,<2,53> texture {DMFDarkOak}} object {Lampe translate <-70,0,0>} // schirm #declare schirm= sor {7, <0,-0.5>, <17,6>, <16,7.5>,<15,15>, <14,20.5>, <13,25>, <10,1> pigment {color Blue} finish { reflection .05 specular .1}} object {schirm translate <-70,65,0>} //Globushalter #declare halter= union { cylinder {<-12,0,0>, <12,0,0>, 1} torus {12,1} texture {DMFDarkOak}} object {halter translate <-100,20,0>} //Globusbeine #declare globusbein= sor{ 16, <0,-.5>, <1.5,0>,<1.8,1>,<1.5,2>,<1.1,2.8>,<.9,3.1>,<.9,4.3>,<1.4,5.4>, <1.4,5.9>,<1.1,6.4>,<1,12>,<1.2,13>,<1.4,14>,<1.6,17>,<2,20>,<2,25> texture {T_Wood15}} union { object {globusbein translate <-106,0,7>} object {globusbein translate <-106,0,-7>} object {globusbein translate <-94,0,-7>} object {globusbein translate <-94,0,7>} } //Stuhlbein #declare stuhl= sor { 16, <0,-.5>, <1.5,0>,<1.8,1>,<1.5,2>,<1.1,2.8>,<.9,3.1>,<.9,4.3>,<1.4,5.4>, <1.4,5.9>,<1.1,6.4>,<1,12>,<1.2,13>,<1.4,14>,<1.6,15>,<2,16>,<2,17> translate <-53, 0, -13> texture {T_Wood15}} union{ object {stuhl translate <130,0,10>} object {stuhl translate <130,0,-10>} object {stuhl translate <110,0,10>} object {stuhl translate <110,0,-10>} finish { reflection 0.3 specular 1}} // Sitzfläche #declare sitz= cylinder {<0,0,0>, <0,2,0>,15 texture {T_Wood15} finish { reflection 0.3 specular 1}} object {sitz translate <68,15,-10>} // Topf #declare topf= sor {8, <0,-0.5>, <7,2>, <8.5,7>, <9.5,9>, <10.5,15>, <9,19>, <7.5,20.5>, <10,21> pigment {color Blue}} object {topf translate < 80,0,-80>} // Pflanze #declare pflanze= cylinder{<0,0,0>, <0,40,0>1 pigment{color Green}} object { pflanze translate <81,0,-80>} //Stengel #declare stengel= cylinder{<0,0,0>, <0,50,0>1 rotate <0,5,10> pigment{color Green}} object { stengel translate <80,0,-80>} //Stengel1 #declare stengel1= cylinder{<0,0,0>, <0,50,0>1 rotate <0,5,-5> pigment{color Green}} object { stengel1 translate <80,0,-80>} //Blume #declare blume= parametric { function {8*cos(u)*sin(v)} // Funktion x(u,v) function {cos(v)+ln(tan(v/2))+6*u} // Funktion y(u,v) function {8*sin(u)*sin(v)} // Funktion z(u,v) <0,0.0005>,<40*pi,2> // Intervall für u und v contained_by { box { <-9,-9,-9>, <9,9,9> } } // Begrenzungsquader: Nur innerhalb dieses Quaders // wird die Fläche dargestellt. max_gradient 3 // Maximaler Anstieg: größere Werte führen zu längeren Renderzeiten. accuracy 0.008 // Genauigkeit/Feinheit der Berechnung: kleinere Werte führen zu höherer // Qualität der darstellung und längeren Renderzeiten. precompute 18 x,y,z // Vorausberechnung der Geometriedaten texture{ pigment{rgb<0.3,0.3,0.6>} // Textur finish{ ambient 0.4 diffuse 0.55 phong 0.4 reflection 0.2 specular 0.2 metallic } } rotate<180,0,180> no_shadow } union { object {blume translate <87,34, -75>} object {blume translate <72,45, -78>} object {blume translate <86,44, -77>} object {blume translate <80,40, -78>} object {blume translate <81,30, -78>}}