// Boolesche Operationen, Beispiel 2 // --------------------------------------------------------------- #version 3.5; // benötigte POV-Ray-Version #include "colors.inc" // Defintion der Farben #include "textures.inc" // vordefinierte Oberflächen background {White} // Farbe des Hintergrundes camera { location <-15, 20, -50> direction <0.0, 0.0, 1.0> up <0.0, 0.5, 0.0> right <2/3, 0.0, 0.0> look_at <0, -1, 0> } light_source { <-10, 20, -25> color White } light_source { <0, 0, 0> color White } difference { intersection { cylinder {<-1,0,0>,<1,0,0>,1} cylinder {<0,-1,0>,<0,1,0>,1} } union { cylinder {<-1,0,0>,<1,0,0>,0.5} cylinder {<0,-1,0>,<0,1,0>,0.5} } texture { finish {ambient 0.25 } pigment { color rgb <0.5, 0.5, 0.5> } } scale 10 rotate y*45 }