#include "colors.inc" #include "textures.inc" #include "golds.inc" #include "metals.inc" #include "glass.inc" #declare BGCOLOR_WHITE = color rgbft <1,1,1,0,1>; // Hintergrundfarbe der Szene #if (1) #declare BGCOLOR = BGCOLOR_WHITE; #else #declare BGCOLOR = Black; #end #declare Glockenschale = lathe { cubic_spline #switch (3) #case (0) 14, <0 ,0.5>, <0 ,0.25>, <1 ,0.5>, <1.5 ,1>, // <2 ,3>, <1.75 ,2.25>, <2.25 ,3.25> <2.5 ,3.5>, <2.5 ,4>, <2 ,4>, <1.5 ,3>, <1 ,1>, <0 ,0.5>, <0 ,0.25>, <1 ,0.5> #break #case (1) 15, <0 ,2.75>, <0.75 ,2.75>, <1.5 ,2.75>, <2 ,2 >, <3 ,0 >, <2.5 ,1.75>, <2 ,2.75>, <1 ,3 >, <1 ,4.25>, <2.5 ,5 >, <1 ,4.75>, <0 ,3.25>, <0 ,2.75>, <0.75 ,2.75>, <1.5 ,2.75> #break #case (2) 19, <0 ,2.75>, <0.75 ,2.75>, <1.5 ,2.75>, <2 ,2 >, <2.75 ,0.25>, <3.25 ,0 >, <3.25 ,0.25>, <3 ,0.25> <2.75 ,0.75> <2.5 ,1.75>, <2 ,2.75>, <1 ,3 >, <1 ,4.25>, <2.5 ,5 >, <1 ,4.75>, <0 ,3.25>, <0 ,2.75>, <0.75 ,2.75>, <1.5 ,2.75> #break #case (3) 24, <0,10200>, <600,10200>, <2600,7400>, <4000,5600>, <7000,0>, <7000,1600>, <6600,3400>, <5800,5200>, <4600,6600>, <2800,8000>, <2600,8600>, <3400,8800>, <2600,9400>, <2200,11000>, <2400,12600>, <3200,14200>, <3600,15000>, <4400,15200>, <5000,16000>, <5200,17200>, <0,17200> <0,10200>, <600,10200>, <2600,7400> #break #end scale 1/100 scale 0.03 scale <1,-1,1> translate <0,5.5/2,0> #switch (3) #case (0) rotate x*-0 #break #case (1) rotate x*-15 #break #case (2) rotate x*-40 #break #case (3) rotate x*-17 #break #case (4) rotate x*+10 #break #end } object { Glockenschale texture { T_Gold_1D finish { ambient .05 // phong .75 } } } background { BGCOLOR } camera { location <0, 0, -20> look_at <0, 0, 0> angle 24 #switch (2) #case (0) #break #case (1) translate z*-400 rotate y*180 #break #case (2) translate y*-0.9 angle 5 #break #end } light_source { <10,-10, -20> color White } light_source { <-18,-10, -20> color White } light_source { <5,10, -20> color White } light_source { <0,100,0> color White } #if (false) object { plane { z,0 pigment { image_map { "Heads.png" } } #if (1) clipped_by { box { <0,0,-1>, <1,1,1> } } #end finish { ambient 0.8 } } translate y*-0.5 translate x*-0.5 #if (0) scale 100 #else scale 200 #end translate z*-40 } #end global_settings { #if (1) max_trace_level 17 #else max_trace_level 2 #end }