#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" #include "stars.inc" #include "glass.inc" #declare intervall = 5; // Nur wenn das //#include "ks.inc" // Koordinatensystem //ks // benötigt wird. background {White} // Farbe des Hintergrundes #declare holz = DMFWood6 #declare stein = T_Stone9 #declare silber = T_Silver_4D #declare blau_matt = texture { pigment { color rgb < 0.3, 0.3, 1.0> } finish { ambient 0.2 diffuse 0.7 phong 0.2 phong_size 20 reflection 0 } } #declare blau_glanz = texture { pigment { color rgb < 0.1, 0.1, 1.0> } finish { ambient 0.05 diffuse 0.3 phong 0.4 phong_size 50 reflection 0.4 } } #declare rot_matt = texture { pigment { color rgb < 1, 0.2, 0.2> } finish { ambient 0.2 diffuse 0.7 phong 0.2 phong_size 20 reflection 0 } } #declare rot_glanz = texture { pigment { color rgb < 1, 0, 0> } finish { ambient 0.05 diffuse 0.3 phong 0.4 phong_size 50 reflection 0.4 } } #declare gruen_matt = texture { pigment { color rgb < 0.15, 1, 0.15> } finish { ambient 0.2 diffuse 0.7 phong 0.2 phong_size 20 reflection 0 } } #declare gruen_glanz = texture { pigment { color rgb < 0, 1, 0> } finish { ambient 0.05 diffuse 0.3 phong 0.4 phong_size 50 reflection 0.4 } } #declare mattweiss = texture { pigment { color rgb < 1, 1, 1> } finish { ambient 0.6 diffuse 0.4 phong 0 reflection 0 roughness 0.8 crand 0.03} } #declare schwarz = texture { pigment { color rgb < 0.1, 0.1, 0.1> } finish { ambient 0.7 diffuse 0.5 phong 0.05 phong_size 15 reflection 0 roughness 0.8 crand 0.1} } #declare silbergrau = texture { pigment { rgbt<0.3,0.3,0.3,0> } finish { ambient 0.0 diffuse 0.2 reflection 0.4 brilliance 1 specular 0.4 roughness 0.1 }}; #declare blau_transp = texture{ pigment{rgbf<0.4,0.4,1,0.4>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0.0} } #declare gruen_transp = texture{ pigment{rgbf<0.4,1,0.4,0.4>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0.0} } #declare rot_transp = texture{ pigment{rgbf<1,0.4,0.4,0.4>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0.0} } #declare schachbrett = texture { pigment { checker color rgb < 0.7, 0.7, 1 >, color rgb < 0.2, 0.2, 0.2 > } finish { ambient 1.0 brilliance 2 diffuse 0.7 metallic specular 0.90 roughness 1/20 phong 0.45 reflection 0 } scale intervall*0.5 } // --------------------------------------------------------------------------- // Beschreibung der Kamera // --------------------------------------------------------------------------- camera { location<0,40,-100> look_at<0,3.2,0> angle 5} // --------------------------------------------------------------------------- // Lichtquellen // --------------------------------------------------------------------------- light_source { <10,40,-100> color rgb <1, 1, 1> } light_source { <10,100,0> color rgb <1, 1, 1> } light_source { <0,10,-10> color rgb <1,1,1,>} // --------------------------------------------------------------- // Beginnen Sie, Objekte in der Szene zu beschreiben. // ******************************************************************************* plane {z,3 texture {mattweiss}} plane {y, 0 texture {schwarz}} //Blumenvase difference {sor {7, <0,-0.5> <1.2,0>, <0.5,0.5>, <1,1>, <1,3>, <1.2,4>, <1.5, 4.5> } cone {<0,1,0> 0.8 <0,4.5,0> , 1.1} material {M_Glass3}} //Wasser sor {8, <0,-0.5>, <0.2,0.5> <0.7,0.9> <0.8,1.2>, <0.85,1.4>, <0.8,2.8>, <1,3.8>, <1.3, 4.3> texture {blau_transp}} //Blumen //"Lila Blume" //Blatt Lila Blume #declare Blattlila = prism { cubic_spline 0, // sweep the following shape from here ... 0.2, // ... up through here 17, // the number of points making up the shape ... <-2.5,0> // point#1 (control point... not on curve) <-2,0>, // point#2 ... THIS POINT ... <-1.8,-0.5>, // point#3 <-1,-1>, // point#4 <0,-1>, // point#5 ... MUST MATCH THIS POINT <1,-0.8>, // point#6 (control point... not on curve) <2,-0.5> <2.5,-0.2> <3,0> <2.5,0.2> <2,0.5> <1,0.8> <0,1> <-1,1> <-1.8,0.5> <-2,0> <-2.5,0> scale <0.15,0.15,0.15> pigment {ForestGreen} } //Blüte + Stiel + Blätter sphere {<-1,5.9,0> 0.05 pigment {Yellow}} difference {sphere {<-1,5.9,0> 0.4} cylinder {<-1,5.9,0> <-1,5.9,-1> 0.35} pigment {Maroon}} difference {sphere {<-1,5.9,0> 0.3} cylinder {<-1,5.9,0> <-1,5.9,-1> 0.25} pigment {Maroon}} difference {sphere {<-1,5.9,0> 0.2} cylinder {<-1,5.9,0> <-1,5.9,-1> 0.15} pigment {Thistle }} difference {sphere {<-1,5.9,0> 0.1} cylinder {<-1,5.9,0> <-1,5.9,-1> 0.05} pigment {Thistle}} cylinder {<-0.5,0.8,0> <-1,5.5,0> 0.05 pigment {ForestGreen}} object {Blattlila rotate <-50,0,70> translate <-0.7,4,0> } object {Blattlila rotate <40,180,-60> translate <-1.1,5,0> } //Rote Blume //Blatt Rote Blume #declare Blattrot = prism { cubic_spline 0, // sweep the following shape from here ... 0.2, // ... up through here 17, // the number of points making up the shape ... <-2.5,0> // point#1 (control point... not on curve) < -2,0>, // point#2 ... THIS POINT ... < -1.8,-0.5>, // point#3 <-1,-1>, // point#4 < 0,-1>, // point#5 ... MUST MATCH THIS POINT < 1,-0.8>, // point#6 (control point... not on curve) <2,-0.5> <2.5,-0.2> <3,0> <2.5,0.2> <2,0.5> <1,0.8> <0,1> <-1,1> <-1.8,0.5> <-2,0> <-2.5,0> scale <0.1,0.1,0.1> pigment {ForestGreen} } //Blüte + Stiel + Blätter cylinder {<-0.3,0.8,0> <-0.5,5,-1> 0.05 pigment {ForestGreen}} sor {5, <0.3,0> <0.08,0> <0.2,0.2> <0.2,0.7> <2,2> translate <-0.5,5,-1> pigment {Scarlet}} cylinder {<-0.5,5.6,-1> <-0.5,5.8,-1> 0.05 texture {rot_matt}} object {Blattrot rotate <-40,0,50> translate <-0.3,3.9,-0.7> } object {Blattrot rotate <50,170,-50> translate <-0.6,4.5,-0.9> } //"Rose" //Blüte + Stiel + Blätter cylinder {<0,0.8,0> <0.3,5.5,-0.80> 0.05 pigment {ForestGreen}} difference {sor {6 <0,0> <0.05,0> <0.2,0.1> <0.3,0.2> <0.4,0.6> <1,1.2> translate <0.3,5.5,-0.80> pigment {Yellow }} cone {<1,5.1,0> 0.2 <1,5.7,0> 0.4 pigment {Scarlet }}} difference {sor {6 <0,0> <0.05,0> <0.2,0.1> <0.25,0.2> <0.3,0.65> <2,2> translate <0.3,5.5,-0.80> pigment {Yellow }} cone {<1,5.1,0> 0.1 <1,5.7,0> 0.25 pigment {DustyRose}}} sor {6 <0,0> <0.025,0> <0.1,0.1> <0.125,0.2> <0.2,0.7> <2,2> translate <0.3,5.5,-0.80> pigment {Yellow }} object {Blattrot rotate <-40,0,40> translate <0.4,5,-0.70> } object {Blattrot rotate <40,180,-50> translate <0.1,4.8,-0.70> } object {Blattrot rotate <-50,0,50> translate <0.35,4.4,-0.6> } object {Blattrot rotate <40,170,-50> translate <0.1,4,-0.550> } //"Blaue Blume" //Blattgedreht #declare Blattgedreht = prism { cubic_spline 0, // sweep the following shape from here ... 0.2, // ... up through here 17, // the number of points making up the shape ... <-2.5,0> // point#1 (control point... not on curve) <-2,0>, // point#2 ... THIS POINT ... <-1.8,-0.5>, // point#3 <-1,-1>, // point#4 <0,-1>, // point#5 ... MUST MATCH THIS POINT <1,-0.8>, // point#6 (control point... not on curve) <2,-0.5> <2.5,-0.2> <3,0> <2.5,0.2> <2,0.5> <1,0.8> <0,1> <-1,1> <-1.8,0.5> <-2,0> <-2.5,0> scale <0.15,0.15,0.15> rotate <50,0,60> pigment {ForestGreen} } //Blüte + Stiel + Blätter cylinder {<-0.25,0.8,0> <-0.25,5.7,1> 0.05 pigment {ForestGreen}} torus {0.45,0.045 translate <-0.25,6.15,1> pigment {CornflowerBlue}} torus {0.4,0.04 translate <-0.25,6.2,1> pigment {CornflowerBlue}} torus {0.5,0.05 translate <-0.25,6.08,1> pigment {CornflowerBlue}} torus {0.45,0.045 translate <-0.25,6.0,1> pigment {CornflowerBlue}} torus {0.4,0.04 translate <-0.25,5.96,1> pigment {CornflowerBlue}} torus {0.35,0.035 translate <-0.25,5.9,1> pigment {CornflowerBlue}} torus {0.3,0.03 translate <-0.25,5.84,1> pigment {CornflowerBlue}} torus {0.25,0.025 translate <-0.25,5.79,1> pigment {CornflowerBlue}} cylinder {<-0.25,5.7,1> <-0.25,5.74,1> 0.23 pigment {CornflowerBlue}} object {Blattlila rotate <40,0,70> translate <-0.1,3.9,0.6> } object {Blattgedreht rotate <0,180,0> translate <-0.4,4.2,0.65>} object {Blattgedreht rotate <-10,0,0> translate <-0.1,4.8,0.7>} object {Blattgedreht rotate <-20,200,10> translate <-0.4,5.4,1>} //Helllila Blume cylinder {<0.5,0.8,0> <0.9,5.7,0.8> 0.05 pigment {ForestGreen}} difference {sor {7 <0,0> <0.1,0.1> <0.25,0.25> <0.375,0.375> <0.15,0.625> <0.375,0.875> <2,2> translate <0.9,5.5,0.8> } cone {<0.9,6.3,0.8>0.2 <0.9,6.4,0.8> 0.3} pigment {DarkOrchid }} object {Blattgedreht rotate<0,0,0> translate <1,5.2,0.7>} object {Blattlila rotate <20,180,-70> translate <0.7,4.6,0.5>} object {Blattgedreht rotate<0,40,0> translate <0.95,4.2,0.5>}