//Projekt Terrarium // von Katja Schönhals (abgegeben am 15.2.05) #version 3.5; // benötigte POV-Ray-Version #declare intervall = 6; // Von der Kamera erfasster Bildausschnitt #declare winkel = 11 ; // Winkel der Kamera zur x-Achse (in Grad) // Kamera camera {location <1,2,10> angle 11 look_at<10,1,10> } //Lichtquellen light_source { <60,10,10> color rgb <1,1,1>} light_source { <-70,40,20> color rgb <1,1,1> } //light_source { <70,40,20> color rgb <1,1,1> } //Definition der Materialien #include "vorlage.inc" // Enthält vordefinierte Objekte und Materialien #include "textures.inc" #include "woods.inc" background {White} // Farbe des Hintergrundes // --------------------------------------------------------------- //Beschreibung des Glaskörpers union{ box{<-8,12,8><8,0,-8>} //texture {Lightning2}} box{<8,12,8><7.7,0,-8>} box{<-8,12,8><-7.7,0,-8>} box{<-8,12,8><8,0,7.7>} box{<-8,12,-8><8,0,-7.7>} //Boden //box{ <-8,0,8><8,-0.3,-8>} material {M_Glass3}} //Wasser //box{<-7.98,10.7,7.98><7.98,1,-7.98> //box{<-7.90,11,7.90><7.90,0,-7.90> //texture {Shadow_Clouds}} //texture {Clouds}} //material {M_Glass3}} //texture {M_Watx4}} //texture { pigment { color Blue } } } //Umrandung an den langen Seiten union{ box{<8.1,12,8.2><7.2,0,8.1>} box{<-8.1,12,8.2><-7.2,0,8.1>} box{<-8.1,12,-8.2><-7.2,0,-8.1>} box{<8.1,12,-8.2><7.2,0,-8.1>} texture {Aluminum}} //Umrandung an den kurzen Seiten union{ box{<8.1,12,-8.1><8.2,0,-7.2>} box{<-8.1,12,-8.1><-8.2,0,-7.2>} box{<8.1,12,8.1><8.2,0,7.2>} box{<-8.1,12,8.1><-8.2,0,7.2>} texture {Aluminum}} //Boden des Aquariums box{<-7.70,1.56,-7.70><7.70,0,7.70> texture {Cork}} //Ecke mit Sand difference { box{<-7.70,3.8,-7.70><-4,0,-4> texture {Cork}} sphere{<-5.2,3.7,-5.2>3.45} texture {Cork} } difference { box{<7.70,2.4,-7.70><4,0,-4> texture {Cork}} sphere{<5.2,3.5,-5.2>3.43} texture {Cork} } //Sand difference { box{<-5.8,1.5,-7.70><2.2,1.7,-7> texture {Cork}} cylinder { <-5.98,1.9,-7.15>,<0.23,1.9,-7.15>,0.55 } texture {Cork} } //Baumstamm difference { //intersection { cylinder { <-4.94,1.6,-5.72>,<2.2,1.6,-5.72>,1.38 texture {T_Wood13}} cylinder { <-4.96,1.6,-5.72>,<2.23,1.6,-5.72>,0.9 texture {T_Wood13}} } cylinder { <-1.2,1.6,-5.72>,<0.1,1.6,-5.77>,1.51 texture {T_Wood4}} cylinder { <-0.2,1.3,-5.72>,<-2,1.3,-5.77>,1.91 texture {T_Wood7}} cylinder { <-2,1.4,-5.72>,<-2.3,1.4,-5.77>,1.61 texture {T_Wood5}} //großes Tier: //Körper #declare gelb = texture { pigment { color rgb < 1, 0.82, 0.2> } finish { ambient 0.2 diffuse 0.7 phong 0.2 phong_size 20 reflection 0 } } #declare orange = texture { pigment { color rgb < 1, 0.52, 0.2> } finish { ambient 0.2 diffuse 0.7 phong 0.2 phong_size 20 reflection 0 } } union { sphere {<-1.3,1.8,1.2>1.2 } sphere {<-1.1,2.89,1.1>0.84} texture {orange}} //Kopf difference { sphere {<-1.2,4,1.1>0.7 texture {orange}} sphere{<-0.73,4.47,0.8>0.2 texture {Lightning1}} sphere{<-0.73,4.47,1.4>0.2 texture {Lightning1}} } //Auge zur Mitte torus {0.19,0.059 translate <-0.83,4.28,0.86> texture {Cork}} sphere {<-1.01,4.3,0.92> 0.296 texture {Soft_Silver}} sphere {<-0.83,4.33,0.73> 0.09 texture { pigment { color Black } } } //Auge zur Scheibe torus {0.19,0.059 translate <-0.83,4.28,1.34> texture {Cork}} sphere {<-1.01,4.3,1.18> 0.296 texture {Soft_Silver}} sphere {<-0.73,4.33,1.37> 0.09 texture { pigment { color Black } } } //Nase sphere {<-0.4,4.098,1.1> 0.065 texture{Cork}} //Mund torus {0.22,0.08 translate <-0.75,3.83,1.1> texture{Cork}} //Haare torus {0.2,0.08 translate <-1.23,4.66,1.1> texture{Cork}} torus {0.17,0.05 translate <-1.23,4.74,1.1> texture{Cork}} torus {0.16,0.034 translate <-1.23,4.8,1.1> texture{Cork}} torus {0.14,0.024 translate <-1.23,4.83,1.1> texture{Cork}} union { sphere {<-1.23,4.78,1.1> 0.17 } sphere {<-1.3,4.99,1> 0.15 } sphere {<-1.4,5.1,0.7> 0.1 } sphere {<-1.4,5.13,0.5> 0.07} texture {orange}} //Arme union { sphere {<-0.87,3.37,0.43>0.29 } sphere {<-0.87,3.37,1.65> 0.29 } texture {orange}} //Blumenstil cylinder {<-0.87,3.37,0.4,>,<-0.47,4.8,0>,0.025 texture { pigment { color Green } } } //Blüte #declare rot = texture{ pigment{rgbf<1,0,0>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0} } union { cylinder {<-0.57,4.3,0.16>,<-0.56,4.35,0.16>, 0.12 } cylinder {<-0.48,4.5,0.2>,<-0.47,4.55,0.1>, 0.2 } cylinder {<-0.47,4.7,0.16>,<-0.46,4.75,0>, 0.12 } texture {rot} } //kleines Tier in Röhre: //Kopf difference { sphere {<2.4,2.37,-5.76> 0.44 texture {gelb}} sphere {<2.58,2.54,-5.58> 0.18 texture {Lightning1}} sphere {<2.58,2.54,-5.94> 0.18 texture {Lightning1}} } //Auge zur Mitte torus {0.18,0.045 translate <2.58,2.52,-5.94> texture {Cork}} sphere {<2.48,2.53,-5.57> 0.17 texture {Soft_Silver}} sphere {<2.62,2.55,-5.60> 0.09 texture { pigment { color Black } } } //Auge zur Scheibe torus {0.18,0.045 translate <2.58,2.52,-5.58> texture {Cork}} sphere {<2.54,2.53,-5.95> 0.17 texture {Soft_Silver}} sphere {<2.68,2.55,-5.92>0.09 texture { pigment { color Black } } } //Nase sphere {<2.86,2.43,-5.73> 0.045 texture{Cork}} //Mund torus {0.12,0.05 translate <2.69,2.23,-5.73> texture{Cork}} //Haare torus {0.1,0.05 translate <2.46,2.76,-5.73> texture{Cork}} torus {0.07,0.03 translate <2.46,2.8,-5.73> texture{Cork}} torus {0.06,0.02 translate <2.46,2.84,-5.73> texture{Cork}} torus {0.04,0.01 translate <2.46,2.87,-5.73> texture{Cork}} sphere {<2.46,2.92,-5.7> 0.04 texture{Cork}} sphere {<2.46,2.95,-5.65> 0.04 texture{Cork}} //Körper union { sphere {<2.1,1.65,-5.7> 0.52 } sphere {<1.4,1.65,-5.7> 0.6 } //Füße sphere {<2.55,1.55,-5.9> 0.273 } sphere {<2.55,1.55,-5.5> 0.273 } texture {gelb} } //Tisch cylinder{<0,-0.07,0>,<0,-1.67,0>,13.7 texture {T_Stone13}} cylinder{<0,-0.32,0>,<0,-25.9,0>,1.3 texture {T_Stone13}} cylinder{<0,-25,0>,<0,-25.9,0>,9.2 texture {T_Stone13}} cylinder{<0,-26,0>,<0,-26.9,0>,10.3 texture {T_Stone13}} cylinder{<0,-27,0>,<0,-29.5,0>,11.4 texture {T_Stone13}} //Pflanze hinter Stamm union{ cone {<-5.69,2.48,-6.4>,0.77<-5.69,2.51,-6.4>,0.66 } cone {<-5.79,2.54,-6.4>,0.70<-5.79,2.60,-6.4>,0.62 } cone {<-5.72,2.64,-6.4>,0.65<-5.72,2.7,-6.4>,0.58 } cone {<-5.8,2.74,-6.4>,0.60<-5.8,2.8,-6.4>,0.52 } cone {<-5.83,2.85,-6.4>,0.53<-5.83,2.9,-6.4>,0.46 } cone {<-5.72,3.3,-6.4>,0.5<-5.72,3.41,-6.4>,0.4 } cone {<-5.74,4.1,-6.4>,0.43<-5.74,4.2,-6.4>,0.35 } cone {<-5.84,3.8,-6.4>,0.43<-5.84,3.93,-6.4>,0.3 } cone {<-5.64,3.97,-6.4>,0.43<-5.64,4,-6.4>,0.27 } texture { pigment { color Green } } } cylinder {<-5.69,1.4,-6.4>,<-5.69,3.4,-6.4>,0.1 texture {T_Wood24}} cylinder {<-5.69,1.4,-6.4>,<-5.69,4.3,-6.4>,0.051 texture {T_Wood24}} //großer Baum union{ cone {<-6.39,2.9,-5.1>,1.47<-6.39,3,-5.1>,1.31 } cone {<-6.29,3.54,-5.1>,1.31<-6.29,3.60,-5.1>,1.26 } cone {<-6.32,3.84,-5.1>,1.24<-6.32,3.9,-5.1>,1.13 } cone {<-6.28,4.24,-5.1>,1.12<-6.28,4.3,-5.1>,1.1 } cone {<-6.43,4.85,-5.1>,1.13<-6.43,4.9,-5.1>,1 } cone {<-6.42,5,-5.1>,1.06,<-6.42,5.1,-5.1>,0.9} cone {<-6.37,5.6,-5.1>,1<-6.37,5.8,-5.1>,0.8 } cone {<-6.28,6.28,-5.1>,0.89<-6.28,6.43,-5.1>,0.7 } cone {<-6.36,6.97,-5.1>,1.13<-6.36,7,-5.1>,1 } cone {<-6.39,7.4,-5.1>,1.1<-6.39,7.5,-5.1>,0.96 } cone {<-6.39,7.54,-5.1>,1<-6.39,7.6,-5.1>,0.92 } cone {<-6.42,7.64,-5.1>,0.98<-6.42,7.7,-5.1>,0.94 } cone {<-6.38,5.74,-5.1>,0.95<-6.38,5.84,-5.1>,0.88 } cone {<-6.3,7.85,-5.1>,0.93<-6.3,7.9,-5.1>,0.86 } cone {<-6.2,8.2,-5.1>,0.9<-6.2,8.26,-5.1>,0.83} cone {<-6.3,8.4,-5.1>,0.86<-6.3,8.48,-5.1>,0.82 } cone {<-6.38,8.6,-5.1>,0.83<-6.38,8.69,-5.1>,0.77} cone {<-6.36,8.87,-5.1>,0.78<-6.36,8.9,-5.1>,0.73 } texture { pigment { color Green } } } cylinder {<-6.3,1.4,-5.1>,<-6.3,5,-5.1>,0.1 texture {T_Wood24}} cylinder {<-6.3,1.4,-5.1>,<-6.3,9,-5.1>,0.08 texture {T_Wood24}} //kleiner Baum hellgrün #declare gruen_tran = texture{ pigment{rgbf<0.4,1,0.2,0.4>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0.0} } union{ cone {<-2,2.7,-1.5>,1.1<-2,2.8,-1.5>,1} cone {<-2,2.9,-1.5>,1<-2,2.99,-1.5>,0.9} cone {<-2,3.1,-1.5>,0.98<-2,3.2,-1.5>,0.8} cone {<-2,3.3,-1.5>,0.81<-2,3.45,-1.5>,0.7} cone {<-2,3.6,-1.5>,0.6<-2,3.65,-1.5>,0.5} cone {<-2,3.8,-1.5>,0.51<-2,3.89,-1.5>,0.45} cone {<-2,4,-1.5>,0.41<-2,4.2,-1.5>,0.36} cone {<-2,4.4,-1.5>,0.31<-2,4.5,-1.5>,0.2} cone {<-2,4.7,-1.5>,0.3<-2,4.8,-1.5>,0.23} cone {<-2,4.99,-1.5>,0.26<-2,5.1,-1.5>0.1} cone {<-2,5.3,-1.5>,0.21<-2,5.4,-1.5>,0.1} cone {<-2,5.7,-1.5>,0.17<-2,5.8,-1.5>,0.1} cone {<-2,5.8,-1.5>,0.1<-2,5.9,-1.5>,0.05} texture {gruen_tran}} cylinder {<-2,1.5,-1.5>,<-2,4.5,-1.5>,0.07 texture {T_Wood24}} cylinder {<-2,1.5,-1.5>,<-2,5.8,-1.5>,0.03 texture {T_Wood24}} //kleiner Baum gemischt #declare gruen_tra = texture{ pigment{rgbf<0.72,2,0.42,0.4>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0.0} } union{ cone {<-4.3,2.1,-2.9>,1<-4.3,2.2,-2.9>,0.91} cone {<-4.4,2.5,-2.9>,1.1<-4.4,2.6,-2.9>,1} cone {<-4.5,2.8,-2.6>,0.7<-4.5,2.9,-2.6>,0.61} cone {<-4.4,3.1,-2.6>,0.71<-4.4,3.2,-2.6>,0.58} cone {<-4.1,3.5,-2.9>,0.4<-4.1,3.6,-2.9>,0.35} cone {<-4.2,3.8,-2.6>,0.3<-4.2,3.9,-2.6>,0.2} texture {gruen_tra}} union { cone {<-4.5,2.3,-2.9>,0.8<-4.5,2.4,-2.9>,0.71} cone {<-4.2,4.1,-2.6>,0.4<-4.2,4.2,-2.6>,0.31} cone {<-4.2,4.4,-2.6>,0.21<-4.2,4.5,-2.6>,0.1} texture {pigment { color Green } }} cylinder {<-4.4,1.5,-2.9>,<-4.4,3.1,-2.9>,0.06 texture {T_Wood24}} cylinder {<-4,3.1,-2.69>,<-4,4.4,-2.69>,0.05 texture {T_Wood24}} //Baum neben Höhleneingang #declare gruen_tran = texture{ pigment{rgbf<0.4,1,0.6,0.4>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection 0.0} } union { cone {<2.9,1.8,-7>,0.48<2.9,1.9,-7>,0.37} cone {<2.8,2.1,-7>,0.38<2.8,2.2,-7>,0.27} cone {<2.9,2.4,-7>,0.32<2.9,2.5,-7>,0.2 } cone {<2.7,2.8,-7>,0.2<2.7,2.9,-7>,0.17 } cone {<2.9,3.85,-7>,0.28<2.9,3.9,-7>,0.13} texture {gruen_tra}} cylinder {<2.9,1.5,-7>,<2.9,3.8,-7>,0.04 texture {T_Wood24}} //kleiner Baum hingter großem Tier #declare gruentran = texture{ pigment{rgbf<0.4,1,0.43,0.4>} finish{ ambient 1.0 diffuse 0.7 phong 0 reflection 0.0} } union{ cone {<-4,2.7,2.5>,1.1<-4,2.8,2.5>,1} cone {<-4,2.9,2.5>,1<-4,2.99,2.5>,0.9} cone {<-4,3.1,2.5>,0.98<-4,3.2,2.5>,0.8} cone {<-4,3.3,2.5>,0.81<-4,3.45,2.5>,0.7} cone {<-4,3.6,2.5>,0.6<-4,3.65,2.5>,0.5} cone {<-4,3.8,2.5>,0.51<-4,3.89,2.5>,0.45} cone {<-4,4,2.5>,0.41<-4,4.2,2.5>,0.36} cone {<-4,4.4,2.5>,0.31<-4,4.5,2.5>,0.2} cone {<-4,4.7,2.5>,0.3<-4,4.8,2.5>,0.23} cone {<-4,4.99,2.5>,0.26<-4,5.1,2.5>0.1} cone {<-4,5.3,2.5>,0.21<-4,5.4,2.5>,0.1} cone {<-4,5.7,2.5>,0.17<-4,5.8,2.5>,0.1} cone {<-4,5.8,2.5>,0.1<-4,5.9,2.5>,0.05} texture {gruentran}} cylinder {<-4,1.5,2.5>,<-4,4.5,2.5>,0.07 texture {T_Wood24}} cylinder {<-4,1.5,2.5>,<-4,5.8,2.5>,0.03 texture {T_Wood24}} //großer Baum #declare gruentransp = texture{ pigment{rgbf<0.5,1,0.1,0.5>} finish{ ambient 1.0 diffuse 0.7 phong 0 reflection 0.0}} union{ cone {<-4.39,2.7,4.1>,1.47<-4.39,2.9,4.1>,1.31 } cone {<-4.29,3.54,4.1>,1.31<-4.29,3.60,4.1>,1.26 } cone {<-4.32,3.84,4.1>,1.24<-4.32,3.9,4.1>,1.13 } //cone {<-4.28,4.24,4.1>,1.12<-4.28,4.3,4.1>,1.1 } cone {<-4.43,4.85,4.1>,1.13<-4.43,4.9,4.1>,1 } cone {<-4.42,5,4.1>,1.06,<-4.42,5.1,4.1>,0.9} cone {<-4.37,5.6,4.1>,1<-4.37,5.8,4.1>,0.8 } //cone {<-4.28,6.28,4.1>,0.89<-4.28,6.43,4.1>,0.7 } cone {<-4.36,6.97,4.1>,1.13<-4.36,7,4.1>,1 } cone {<-4.39,7.4,4.1>,1.1<-4.39,7.5,4.1>,0.96 } cone {<-4.39,7.54,4.1>,1<-4.39,7.6,4.1>,0.92 } cone {<-4.42,7.64,4.1>,0.98<-4.42,7.7,4.1>,0.94 } cone {<-4.38,5.74,4.1>,0.95<-4.38,5.84,4.1>,0.88 } cone {<-4.3,7.85,4.1>,0.93<-4.3,7.9,4.1>,0.86 } cone {<-4.2,8.2,4.1>,0.9<-4.2,8.26,4.1>,0.83} texture { gruentransp} } cylinder {<-4.3,1.4,4.1>,<-4.3,5,4.1>,0.1 texture {T_Wood24}} cylinder {<-4.3,1.4,4.1>,<-4.3,8.2,4.1>,0.08 texture {T_Wood24}} //Ebenen #declare BLAU = texture{ pigment{rgbf<0.4,1,0.2,0.3>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection -1.0} } #declare GELB = texture{ pigment{rgbf<0.6,1,0.2,0.9>} finish{ ambient 1.0 diffuse 0.8 phong 0 reflection -1.0} } #declare schachbrett = texture { pigment { checker color rgbf < 0.7, 0.7, 1 >, color rgbf < 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 } #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 } } plane {y,-29.55 texture {T_Stone15 }} //texture {shadow_clouds}} plane {x,-70 texture {blau_matt}} //texcture {Shadow_Clouds}} plane {z,-70 texture {mattweiss}} //texture {Lightning2}} //Fenster an x-Achse difference { box {<-40,-12,-69>,<20,45,-70> texture {T_Stone23}} box {<-36,-8,-69>,<16,41,-70> texture {Shadow_Clouds}} } //Fenster an z-Achse difference { box {<-69,-12,-40>,<-70,45,20> texture {T_Stone23}} box {<-69,-8,-36>,<-70,41,16> texture {Shadow_Clouds}} }