//3DCG Prokekr SS 04 // --------------------------------------------------------------- #declare intervall = 7; // Von der Kamera erfasster Bildausschnitt #declare winkel = -270 ; // Winkel der Kamera zur x-Achse (in Grad) #include "vorlage.inc" // Farbe des Hintergrundes #include "colors.inc" #include "textures.inc" #include "shapes.inc" #include "metals.inc" #include "glass.inc" #include "woods.inc" #include "stones.inc" // --------------------------------------------------------------- light_source {<55,40,-50> rgb <1.0, 1.0, 0.95>*1.5} light_source {<40,30,-15> rgb <0.9, 0.9, 1.00>*0.8 shadowless} light_source {<13,25,0> rgb <1.0, 1.0, 0.95>*1.5} light_source {<10,25,8> rgb <1.0, 1.0, 0.95>*1.5} light_source {<20,30,70> rgb <1.0, 1.0, 0.95>*1.5} light_source {<22.5,20.5,-10> rgb <1.0, 1.0, 0.95>*1.5} #declare Tischchen= union{ cylinder {<10,5.8,-20> <10,0,-20> 6 texture {holz}} cylinder {<10,2.5,-20> <10,2.7,-20> 6.3 texture{schwarz}} sphere {< 4.8,1.25,-17> 0.5 texture {Gold_Metal}} sphere {<4.8,3.5,-17> 0.5 texture {Gold_Metal}} torus { 6.3,1 translate <10,5.8,-20> texture {T_Stone12}} scale <0.3,0.4,0.5> } #declare Glas= sor { 13 <9.9,-0.3> <9,0 > <8,0.5> <1,2> <2.5,3> <1,3.5> <3,4.5> <1,5> <5,5.5> <1,5.8> <7,6> <10,10> <8.5,10> material{M_Green_Glass} scale <0.09,0.09,0.09> } object {Glas translate <29.5,22.4,-27>} object {Tischchen translate <26,20,-17> } //Hintergrund plane { y,17 pigment {Jade } } background {Blue} sphere{<80,70,-120> 15 material {M_Yellow_Glass}} sphere{ <120,70,-120> 8 material{M_Glass}} sphere {<120,70,-120> 10 pigment {FBM_Clouds}} light_source{< 120,70,-120> rgb<0,0,1>} light_source{<80,70,-120> rgb <1.0, 1.0, 0.95>} //Pfeiler union{ cone {<31,33,-1>2,<31,35,-1> 0 texture {Rust} } box {<30, 20, 0> < 32,33,-2> texture {T_Grnt20}}} union{ box {<0, 20, 0> < 2,33,-2> texture {T_Grnt20}} cone {<1,33,-1>2 <1,35,-1> 0 texture {Rust}}} sphere {<30,33,-28> 3 texture { Silver_Metal}} sphere {<0,33,-28> 3 texture { Silver_Metal}} cone {<30,36,-28>2,<30,42,-28> 0 texture {Rust}} cone {<0,36,-28>2 <0,42,-28> 0 texture {Rust}} //Kuppel sor{ 18, <15.1,-0.3> <15,0.0> <14.0,3> <13.5,4> <12.5,5> <11,6> <10.5,7> <9.5,8> <8.0,9> <7,10> <6,11> <5,12> <4,13> <3,14> <2,15> <1,16> <0,17> <0,29> material {M_Green_Glass} translate < 15,31,-15> } //Decke box {<32, 30, -30> <0,31,0> texture { Silver_Metal}} //Lampe cylinder{<22.5,25,-15> <22.5,24.5,-15> 0.03 texture{schwarz}} cone{<22.5,24.7,-15>0.7 <22.5,24.2,-15>0.2 material {M_Glass}} light_source{<22.5,24,-15> rgb<0,0.5,0.5>} // //Aussenwände //Fenster linke Wand difference{ box {<30, 20,-30> < 32,30,-2> texture {T_Grnt20}} box{<29,21,-23.5> < 33,24,-12.8> } box {<28,21,-10.5> < 38,24,-4.5> } box {<29,26,-23.5> <33,29,-12.8>} box{<28,26,-10.5><38,29,-4.5>} texture{Dark_Wood}} box{<30.5,20.5,-27> <30.6,30,-4> material {M_Yellow_Glass}} //Rechte Wand & Fenster difference{ box {<0, 20, -30> < 2,30,-2> texture {T_Grnt20}} box {<-1,21,-23.5> <3,24,-12.5>} box{<-1,21,-11.5> <3,24,-3.5>} box{<-1,26,-23.5> <3,29,-12.5>} box{<-1,26,-11.5><3,29,-3.5>} texture{Dark_Wood}} box{<0.5,20.5,-27> <0.6,30,-4> material {M_Yellow_Glass}} //Fenster Hintere Wand & Fenster difference{ box{ <32,20,-29> <2,30,-30> texture {T_Grnt20}} box {<19.5,21,-28> <26.5,24,-33>} box{<14.5,21,-28> <8.5,24,-33>} box{<19.5,26,-28> <26.5,29,-33>} box{<14.5,26,-28><8.5,29,-33>} texture{Dark_Wood}} box{<31,20.5,-29.4> <8,29.2,-29.5> material {M_Yellow_Glass}} //Zwischenboden box {<31,25,-29.89> <0.9,25.3,-1> texture {schachbrett}} //Boden box {<30,20,0> <0,20.1,-30> texture {Dark_Wood}} //zwischenwand & Tür box {<14.8, 20, 0> <15.2,30,-29.9> texture { T_Grnt20}} box { <14.7,20,-13.5> <15.3,24,-15.5> texture{DMFDarkOak}} cylinder{<15.31,20,-14.5> <15.31,24,-14.5> 0.05 texture{schwarz}} cylinder{<14.69,20,-14.5> <14.69,24,-14.5> 0.05 texture{schwarz}} sphere {<14.69,22, -14.2> 0.15 texture {Gold_Metal}} sphere {<14.69,22, -14.8> 0.15 texture {Gold_Metal}} sphere {<15.31,22, -14.2> 0.15 texture {Gold_Metal}} sphere {<15.31,22, -14.8> 0.15 texture {Gold_Metal}} //Teppen box {<32,19,1> <-2,20,-30> texture {T_Grnt20}} box {<34,18,3> <-4,19,-30> texture {T_Grnt20}} box {<36,17,5> <-6,18,-30> texture {T_Grnt20}} //Rasen&Umzäunung box {<52,17.01,40> <-40,17.2,-40> material {M_Yellow_Glass}} torus{4,1 translate <20,25,40> texture{Chrome_Metal}} cylinder {<52,17,40><52,25,40> 1 texture{Chrome_Metal}} cylinder {<48,17,40><48,25,40> 1 texture{Chrome_Metal}} cylinder {<44,17,40><44,25,40> 1 texture{Chrome_Metal}} cylinder {<40,17,40><40,25,40> 1 texture{Chrome_Metal}} cylinder {<36,17,40><36,25,40> 1 texture{Chrome_Metal}} cylinder {<32,17,40><32,25,40> 1 texture{Chrome_Metal}} cylinder {<28,17,40><28,25,40> 1 texture{Chrome_Metal}} cylinder {<24,17,40><24,25,40> 1 texture{Chrome_Metal}} cylinder {<16,17,40><16,25,40> 1 texture{Chrome_Metal}} cylinder {<12,17,40><12,25,40> 1 texture{Chrome_Metal}} cylinder {<8,17,40><8,25,40> 1 texture{Chrome_Metal}} cylinder {<4,17,40><4,25,40> 1 texture{Chrome_Metal}} cylinder {<0,17,40><0,25,40> 1 texture{Chrome_Metal}} cylinder {<-40,17,40><-40,25,40> 1 texture{Chrome_Metal}} cylinder {<-36,17,40><-36,25,40> 1 texture{Chrome_Metal}} cylinder {<-32,17,40><-32,25,40> 1 texture{Chrome_Metal}} cylinder {<-28,17,60><-28,25,40> 1 texture{Chrome_Metal}} cylinder {<-24,17,40><-24,25,40> 1 texture{Chrome_Metal}} cylinder {<-20,17,40><-20,25,40> 1 texture{Chrome_Metal}} cylinder {<-16,17,40><-16,25,40> 1 texture{Chrome_Metal}} cylinder {<-12,17,40><-12,25,40> 1 texture{Chrome_Metal}} cylinder {<-8,17,40><-8,25,40> 1 texture{Chrome_Metal}} cylinder {<-4,17,40><-4,25,40> 1 texture{Chrome_Metal}} cylinder {<-40,17,36><-40,25,36> 1 texture{Chrome_Metal}} cylinder {<-40,17,32><-40,25,32> 1 texture{Chrome_Metal}} cylinder {<-40,17,28><-40,25,28> 1 texture{Chrome_Metal}} cylinder {<-40,17,24><-40,25,24> 1 texture{Chrome_Metal}} cylinder {<-40,17,20><-40,25,20> 1 texture{Chrome_Metal}} cylinder {<-40,17,16><-40,25,16> 1 texture{Chrome_Metal}} cylinder {<-40,17,12><-40,25,12> 1 texture{Chrome_Metal}} cylinder {<-40,17,8><-40,25,8> 1 texture{Chrome_Metal}} cylinder {<-40,17,4><-40,25,4> 1 texture{Chrome_Metal}} cylinder {<-40,17,0><-40,25,0> 1 texture{Chrome_Metal}} cylinder {<-40,17,-36><-40,25,-36> 1 texture{Chrome_Metal}} cylinder {<-40,17,-32><-40,25,-32> 1 texture{Chrome_Metal}} cylinder {<-40,17,-28><-40,25,-28> 1 texture{Chrome_Metal}} cylinder {<-40,17,-24><-40,25,-24> 1 texture{Chrome_Metal}} cylinder {<-40,17,-20><-40,25,-20> 1 texture{Chrome_Metal}} cylinder {<-40,17,-16><-40,25,-16> 1 texture{Chrome_Metal}} cylinder {<-40,17,-12><-40,25,-12> 1 texture{Chrome_Metal}} cylinder {<-40,17,-8><-40,25,-8> 1 texture{Chrome_Metal}} cylinder {<-40,17,-4><-40,25,-4> 1 texture{Chrome_Metal}} cylinder {<-40,17,-40><-40,25,-40> 1 texture{Chrome_Metal}} cylinder {<-36,17,-40><-36,25,-40> 1 texture{Chrome_Metal}} cylinder {<-32,17,-40><-32,25,-40> 1 texture{Chrome_Metal}} cylinder {<-28,17,-40><-28,25,-40> 1 texture{Chrome_Metal}} cylinder {<-24,17,-40><-24,25,-40> 1 texture{Chrome_Metal}} cylinder {<-20,17,-40><-20,25,-40> 1 texture{Chrome_Metal}} cylinder {<-16,17,-40><-16,25,-40> 1 texture{Chrome_Metal}} cylinder {<-12,17,-40><-12,25,-40> 1 texture{Chrome_Metal}} cylinder {<-8,17,-40><-8,25,-40> 1 texture{Chrome_Metal}} cylinder {<-4,17,-40><-4,25,-40> 1 texture{Chrome_Metal}} cylinder {<52,17,-40> <52,25,-40> 1 texture{Chrome_Metal}} cylinder {<48,17,-40><48,25,-40> 1 texture{Chrome_Metal}} cylinder {<44,17,-40><44,25,-40> 1 texture{Chrome_Metal}} cylinder {<40,17,-40><40,25,-40> 1 texture{Chrome_Metal}} cylinder {<36,17,-40><36,25,-40> 1 texture{Chrome_Metal}} cylinder {<32,17,-40><32,25,-40> 1 texture{Chrome_Metal}} cylinder {<28,17,-40><28,25,-40> 1 texture{Chrome_Metal}} cylinder {<24,17,-40><24,25,-40> 1 texture{Chrome_Metal}} cylinder {<16,17,-40><16,25,-40> 1 texture{Chrome_Metal}} cylinder {<12,17,-40><12,25,-40> 1 texture{Chrome_Metal}} cylinder {<8,17,-40><8,25,-40> 1 texture{Chrome_Metal}} cylinder {<4,17,-40><4,25,-40> 1 texture{Chrome_Metal}} cylinder {<0,17,-40><0,25,-40> 1 texture{Chrome_Metal}} cylinder {<52,17,36><52,25,36> 1 texture{Chrome_Metal}} cylinder {<52,17,32><52,25,32> 1 texture{Chrome_Metal}} cylinder {<52,17,28><52,25,28> 1 texture{Chrome_Metal}} cylinder {<52,17,24><52,25,24> 1 texture{Chrome_Metal}} cylinder {<52,17,20><52,25,20> 1 texture{Chrome_Metal}} cylinder {<52,17,16><52,25,16> 1 texture{Chrome_Metal}} cylinder {<52,17,12><52,25,12> 1 texture{Chrome_Metal}} cylinder {<52,17,8><52,25,8> 1 texture{Chrome_Metal}} cylinder {<52,17,4><52,25,4> 1 texture{Chrome_Metal}} cylinder {<52,17,0><52,25,0> 1 texture{Chrome_Metal}} cylinder {<52,17,-36><52,25,-36> 1 texture{Chrome_Metal}} cylinder {<52,17,-32><52,25,-32> 1 texture{Chrome_Metal}} cylinder {<52,17,-28><52,25,-28> 1 texture{Chrome_Metal}} cylinder {<52,17,-24><52,25,-24> 1 texture{Chrome_Metal}} cylinder {<52,17,-20><52,25,-20> 1 texture{Chrome_Metal}} cylinder {<52,17,-16><52,25,-16> 1 texture{Chrome_Metal}} cylinder {<52,17,-12><52,25,-12> 1 texture{Chrome_Metal}} cylinder {<52,17,-8><52,25,-8> 1 texture{Chrome_Metal}} cylinder {<52,17,-4><52,25,-4> 1 texture{Chrome_Metal}} cylinder {<52,21,40><24,21,40> 1 texture{Chrome_Metal}} cylinder {<16,21,40><-40,21,40> 1 texture{Chrome_Metal}} cylinder {<52,21,40><52,21,-40> 1 texture{Chrome_Metal}} cylinder {<52,21,-40><-40,21,-40> 1 texture{Chrome_Metal}} cylinder {<-40,21,-40><-40,21,40> 1 texture{Chrome_Metal}} //Tor sor{ 18, <15.1,-0.3> <15,0.0> <14.0,3> <13.5,4> <12.5,5> <11,6> <10.5,7> <9.5,8> <8.0,9> <7,10> <6,11> <5,12> <4,13> <3,14> <2,15> <1,16> <0,17> <0,29> material {M_Green_Glass} scale <0.26,0.26,0.26> translate < 20,25,40> } box {<24,17,40><16,25,40> texture {Gold_Metal} } sphere {<20,29.54,40> 1.5 texture {Gold_Metal}} //Tisch #declare Tischbein= sor{ 8 <0,-0.1> <0.1,0> <0.12,0.1> <0.07,0.2> <0.07,0.4> <0.08,0.45> <0.07,0.5> <0,0.5> texture{DMFLightOak} scale<1.2,1.6,1.2>} #declare Tisch= union{ object {Tischbein translate<17,20.1,-15>} object {Tischbein translate <19,20.1,-15>} object {Tischbein translate <17,20.1,-17>} object {Tischbein translate <19,20.1,-17> } sor{ 4 <0,-0.1> <1.5,0> <1.4,0.08> <1.5,0.1> texture{DMFLightOak} scale <1.5,2.5,1.5> translate <18,20.8,-16>}} object {Tisch translate<3,0,3> } object {Glas scale<0.5,0.5,0.5>translate <21,21,-13>} //Stühle object {Tischbein translate <18,20.1,-13> } object {Tischbein translate <18,20.1,-13.8> } object {Tischbein translate<17.2,20.1,-13>} object {Tischbein translate<17.2,20.1,-13.8> } box {<18.2,20.8,-12.8> <16.9,20.9,-14> texture{DMFLightOak}} box{<16.9,20.9,-12.8> <17,22,-14> texture{DMFLightOak}} camera {location <30,40,100> look_at <20,20.9,-17> angle 60 rotate <0,0,0>} //Bett box {<27,25.1,-24> <30,26,-30> texture {holz}} box {<27,26,-24> <30,26.5,-30> pigment{Blue}} sor{ 5 <0,-0.2> <1.4,0> <1.2,0.2> <0.5,0.3> <0,0.4> pigment{White} translate <29,26.5,-28>} box{<29.8,26.5,-26.6><27.2,26.7,-24.3> pigment{White}} cylinder{<27,25,-24> <27,27.2,-24> 0.15 texture{schwarz }} sphere{<27,27.2,-24> 0.3 texture{Gold_Metal}} cylinder{<27,25,-29> <27,27.2,-29> 0.15 texture{schwarz }} sphere {<27,27.2,-29> 0.3 texture{Gold_Metal}} cylinder{<29.9,25,-24> <29.9,27.2,-24> 0.15 texture{schwarz }} sphere {<29.9,27.2,-24> 0.3 texture{Gold_Metal}} cylinder{<29.9,25,-29> <29.9,27.2,-29> 0.05 texture{schwarz }} sphere{<29.9,27.2,-29> 0.3 texture{Gold_Metal}}