// Datei: Projekt von Chris Merzinsky.pov // Version: POV-Ray 3.5 // Datum: 19.07.2004 // Author: Chris Merzinsky // Email: CyborgDrumMachine@gmx.de //******************************************************************************************* // DIE WINDMÜHLE ~ ein Projekt für das HS SS 2004 in "3D-Computergrafik" bei Herrn Filler //******************************************************************************************* #include "colors.inc" #include "textures.inc" #include "woods.inc" #include "functions.inc" #include "metals.inc" #include "golds.inc" #include "skies.inc" #include "stars.inc" #include "stones1.inc" #include "stones2.inc" //************************* // Texturen und Finishes //************************* #declare Polished_Chrome2 = texture {pigment { color LightGray } finish { ambient 0.3 diffuse 0.6 brilliance 6.0 reflection 0.6 phong 0.8 phong_size 150 }} #declare Texture2 = texture { pigment{ color OldGold } finish{ metallic ambient 0.2 diffuse 0.7 brilliance 8 reflection 0.4 phong 0.1 phong_size 200 }} #declare matt_glaenzend2 = finish {diffuse 0.56 ambient 0.22 reflection 0.03 phong 0.5 phong_size 95 specular 0.2 roughness 0.02} //************************** // Kamera und Lichtquellen //************************** camera { location <0,0,0> look_at <0,2,0> angle 135 } light_source { <1,1.25,0> color rgb <1,1,1> } //************************** // Hintergrund //************************** background { color White } plane { y, 0 texture { pigment { color White } }} //*************************** // WindmühlenFlügel 1 & 2 //*************************** #declare Fluegel1 = object { box { <0.30, 0.0025, 0.05> <-0.30, -0.0025, -0.05> texture { Texture2 } }} #declare Fluegel2 = object { box { <0.05, 0.0025, 0.30> <-0.05, -0.0025, -0.30> texture { Texture2 } }} #declare Ventilator = object { union { //*********************************** // Bestandteile des Windmühlenrades //*********************************** ///// Silberner Kranz in der Mitte ///// cylinder { <0,0.02,0>, // Mitte Anfang <0,0.13,0>, // Mitte Ende 0.055 // Radius texture { Polished_Chrome2 } } ///// Holz Ummantelung um silbernen Kranz ///// cylinder { <0,0.025,0>, // Mitte Anfang <0,0.105,0>, // Mitte Ende 0.08 // Radius texture { T_Wood32 finish { matt_glaenzend2 } } } ///// Holz Verbindungsstange zur Mühle ///// cylinder { <0,0,0>, // Mitte Anfang <0,0.4,0>, // Mitte Ende 0.02 // Radius texture { T_Wood32 finish { matt_glaenzend2 } } } ///// Befestigung für Rotorblätter-NR.1 ///// cylinder { <-0.13,0.065,0>, // Mitte Anfang <0.13,0.065,0>, // Mitte Ende 0.01 // Radius texture { Polished_Chrome2 } } ///// Befestigung für Rotorblätter-NR.2 ///// cylinder { <0,0.065,-0.13>, // Mitte Anfang <0,0.065,0.13>, // Mitte Ende 0.01 // Radius texture { Polished_Chrome2 } } //////////////////////////////////////////////////////////////// object { Fluegel1 rotate <15,0,0> translate <-0.43,0.065,0> } object { Fluegel1 rotate <-15,0,0> translate <0.43,0.065,0> } object { Fluegel2 rotate <0,0,15> translate <0,0.065,-0.43> } object { Fluegel2 rotate <0,0,-15> translate <0,0.065,0.43> } rotate <0,0.25*clock,0>}} object { Ventilator rotate <0,45,0> translate <0,1.7,0> } //////////////////////////////////////////////////////////////// //************************************************* // Das Gebäude der Windmühle und deren Einzelteile //************************************************* ///// Fahnenmast ///// cone { <0, 2.4, -0.4>, 0.025 <0, 2.4, -1>, 0.025 texture {pigment { color White } finish{reflection 0.3 }} } ///// Fahne ///// box{<0,2.4,-1> <0.4, 2.4, -0.75> texture {Lightning2} } ///// Windmühlendach ///// cone { <0, 2.4, -0.2>, 0.6 <0, 2.4, -0.4>, 0 texture {Cherry_Wood} } ///// Dachgeschoss der Windmühle ///// cone { <0, 2.4, -0.2>, 0.4 <0, 2.4, 0.2>, 0.3 texture { T_Wood35 scale 1 } } ///// Stockwerktrennung der Windmühle ///// cone { <0, 2.4, 0.15>, 0.45 <0, 2.4, 0.25>, 0.35 texture { T_Grnt5 } } ///// 1. Stock der Windmühle ///// cone { <0, 2.4, 0.2>, 0.3 <0, 2.4, 1.0>, 0.45 texture { T_Wood35 scale 1 } } ///// Fenster ///// torus {0.15, 0.02 translate <0,2,0.6> texture { pigment { color White } finish{reflection 0.3 } }} ///// Aussichtsplattform der Windmühle ///// cone { <0, 2.4, 0.97>, 0.65 <0, 2.4, 1.0>, 0.65 texture {T_Grnt5} } ///// Erdgeschoss der Windmühle ///// cone { <0, 2.4, 1.0>, 0.5 <0, 2.4, 1.6>, 0.5 texture {T_Grnt5} } //*********************************** // Landschaft und Meer //*********************************** ///// Himmel ///// sky_sphere {S_Cloud5} ///// Wasser ///// plane {z, 1.6 texture {pigment {SeaGreen} finish {reflection 0.8 specular 1} normal {ripples 0.35 turbulence 0.5 scale 0.25} }} ///// Inselboden ///// sphere {<0,2.4,4.95>, 3.5 texture {Cork} } ///// Regenbogen ///// torus {16, 0.04 translate <0,10,0.6> texture { pigment { color Green } finish{reflection 0.3 } }} torus {16.2, 0.04 translate <0,10,0.6> texture { pigment { color Yellow } finish{reflection 0.3 } }} torus {16.4, 0.04 translate <0,10,0.6> texture { pigment { color Orange } finish{reflection 0.3 } }} torus {16.6, 0.04 translate <0,10,0.6> texture { pigment { color Red } finish{reflection 0.3 } }} torus {16.8, 0.04 translate <0,10,0.6> texture { pigment { color Magenta } finish{reflection 0.3 } }} torus {17, 0.04 translate <0,10,0.6> texture { pigment { color Cyan } finish{reflection 0.3 } }} torus {17.2, 0.04 translate <0,10,0.6> texture { pigment { color Blue } finish{reflection 0.3 } }} //****************************************************************************************** //+ - ~ - ~ - ~ THE END ~ - ~ - ~ - + //******************************************************************************************