// Boolesche Operationen, Beispiel 1 // --------------------------------------------------------------- #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 background{color White } camera { angle 2 location <15, 15, -30> look_at <0, 0, 0> } light_source { <-20, 20, -20> color White } light_source { <20, 20, 20> color rgb<0.7,0.7,0.7> } intersection { prism { 0, 0.4, 7, < 0.3, 0 >, < 0.15, 0.26 >, <-0.15, 0.26 >, <-0.3, 0 >, <-0.15, -0.26 >, < 0.15, -0.26 >, < 0.3, 0 > } sphere {< 0, 0, 0 >, 0.45} rotate <90,90,0> pigment{color < 0.6, 0.6, 0.65 >} finish { reflection .2 specular 0.35 phong 0.8 metallic } }