//"Mein Billardtisch" von Anja Meyner #version 3.5; #declare intervall = 6; #declare winkel =-60; #include "vorlage.inc" #include "woods" #include "textures.inc" #include "colors.inc" #include "functions.inc" #include "glass.inc" #include "stones1.inc" #include "stones2.inc" background {colour rgb<1,1,1>} global_settings {assumed_gamma 1.3 } //ks10 //meine Kameraeinstellungen camera{location<14,10,12 > look_at<0,-0.5,-5>} //camera{location<6,-3,12 > look_at<0,-0.5,-5>} //camera{location<13,-3,12 > look_at<0,-0.5,-5>} //camera{location<8,20,12 > look_at<0,-0.5,-5>} //camera{location<1,20,15 > look_at<0,-0.5,-5>} //camera{location<8,2,0 > look_at<0,0,0>} //ausgeschn. Box //camera{location<8,6,-6 > look_at<9,4,-8>} //Tisch //Licht light_source {<20,20,0 >color rgb <0.8, 0.5, 0.6> } light_source {<-3,25,-5>color rgb <0.6, 0.8, 1> } light_source {<100,-25, 8>color <0.7,0.9,0.7> } light_source {<0,36,0>color <0.8,0.6,0.7> } //Ebenen plane {<0,1,0>, -3.9 texture {T_Grnt28}} plane {<0,0,1>, -16 texture {T_Grnt0}} plane {<1,0,0>, -15 texture {T_Grnt0}} //Füße vom Billardtisch sphere {<4.2, -3.6, 5.7 >0.3 texture { pigment{color BakersChoc}}} sphere {<4.2, -3.6, -5.7 >0.3 texture { pigment{color BakersChoc}}} sphere {<-4.2, -3.6, -5.7 >0.3 texture { pigment{color BakersChoc}}} sphere {<-4.2, -3.6, 5.7 >0.3 texture { pigment{color BakersChoc}}} //grüner Belag box {<-4.1,2.5,-5.6>,<4.1,2.6,5.6> texture{ pigment{color Green} normal {wrinkles 100 scale 0.1 } finish {crand 0.05 ambient 0.4 brilliance 0 diffuse 0.01 }}} //Tischbeine cone{<-4.2,-3.8,-5.7>,0.17,<-4.2,0,-5.7>0.3 texture{holz}} cone{<4.2,-3.8,-5.7>,0.17,<4.2,0,-5.7>0.3 texture{holz}} cone{<-4.2,-3.8,5.7>,0.17,<-4.2,0,5.7>0.3 texture{holz}} cone{<4.2,-3.8,5.7>,0.17,<4.2,0,5.7>0.3 texture{holz}} //Billardqueues cone{<5,3.05,5>0.05,<-3.9,3.1,6.4>0.1 texture{holz}} cone{<6,-3.9,-5>0.1,<4.15,5,-5>0.05 texture{holz}} //Kreide box{<4.3,2.9,-3 >,< 4.1,3.1,-2.8 >texture{blau_matt}} //Kugeln auf dem Tisch sphere {<-2,2.77,2>,0.17 texture{schwarz}} sphere {<-3,2.77,-3.5>,0.17 texture{rot_matt}} sphere {< 2 ,2.77,-1>,0.17 texture{blau_matt}} sphere {< 3,2.77,3>,0.17 texture{silbergrau}} sphere {< 0,2.77,-3.2>,0.17 texture{blau_glanz}} sphere {< 3.6,2.77,0>,0.17 texture{rot_glanz}} sphere {<-0.5,2.77,2>,0.17 texture{silber}} //Tisch mit Löchern...Box difference { union{ box { < 4.5,2.5,6> , <-4.5,0,-6> texture {DMFWood6}} box {<-4.5,2.5,-6>,<-4.1,3,6> texture{pigment{color BakersChoc}}} box {<-4.1,2.5,-6>,<4.1,3,-5.6> texture { pigment{color BakersChoc}}} box {<4.5,2.5,-6>,<4.1,3,6> texture { pigment{color BakersChoc}}} box {<4.5,2.5,6>,<-4.1,3,5.6> texture { pigment{color BakersChoc}}} } box {< 4.5,1,1.5>,<4,2,-1.5> texture{pigment{color Green}normal {wrinkles 100 scale 0.1 } finish {crand 0.12 ambient 0.4 brilliance 0 diffuse 0.01 }}} }//fängt Kugeln auf union{sphere {<4.1,2.77,0>,0.18 }//Seitenlöcher cylinder{<4.1,2.77,0>,<4.1,2.1,0>,0.18} } union{sphere {<-4.1,2.77,0>,0.18 } cylinder{<-4.1,2.77,0>,<-4.1,2.1,0>,0.18} } cylinder{<-4.1,2.96,-5.6>,<-4.1,2.1,-5.6>,0.283}//Ecklöcher cylinder{<4.1,2.96,-5.6>,<4.1,2.1,-5.6>,0.283} cylinder{<-4.1,2.96,5.6>,<-4.1,2.1,5.6>,0.283} cylinder{<4.1,2.96,5.6>,<4.1,2.1,5.6>,0.283} //Bierglas auf Billardtisch cylinder{<0,3,-5.8>,<0,3.05,-5.8>0.2 texture{T_Glass1}} difference{ cone{<0,3,-5.8>,0.1,<0,4.1,-5.8>0.28} cone{<0,3,-5.8>,0.08,<0,4.1,-5.8>0.26} texture{T_Glass1} } //Stehtisch (abgerundete Kante) intersection{ cylinder{<9,4,-8>,<9,4.2,-8>,1.75} sphere {<9,4.1,-8>,1.6} texture{holz} } cone{<9,-3.9,-8>,0.17,<9,4,-8>,0.3 texture{holz}} cone{<9,-3.9,-8>,1.2,<9,-3,-8>,0.2 texture{holz} } sphere {<9, -3, -8 >0.3 texture { pigment{color BakersChoc}}} //Tischdecke cylinder{<9,4.2,-8>,<9,4.2001,-8>,1.5 texture{rot_matt}} //Bierglas auf Stehtisch cylinder{<9,4.2,-8>,<9,4.25,-8>0.2 texture{T_Glass3}} difference{ cone{<9,4.2,-8>,0.1,<9,5.2,-8>0.28} cone{<9,4.2,-8>,0.08,<9,5.2,-8>0.26} texture{T_Glass3} } //Kugeln im Tisch sphere{<4.345,1.17,0>,0.17 texture{T_Gold_1A}} sphere{<4.345,1.17,-0.6>,0.17 texture{Brushed_Aluminum}} sphere{<4.345,1.17,0.6>,0.17 texture{Rusty_Iron}} //Barriere für gesammelte Kugeln box{<4.5,1,1.5>,<4.499,1.1,-1.5>texture{schwarz}} // Dreidimensionalität im Auffangkasten box {<4.5,0.95,1.5>,<4,1.01,-1.5> texture{ pigment{color BakersChoc}}} //Aschenbecher cylinder{<9,4.2,-7>,<9,4.25,-7>0.37 texture{T_Stone1}} torus{0.37,0.06 rotate<0,0,0> translate<9,4.25,-7> texture{T_Stone1}}