#include "colors.inc" #include "woods.inc" #include "glass.inc" #include "metals.inc" background { White } camera { location <0.4, 0.7, 0.7> look_at <0, 0.1, 0> } light_source { <5, 5, -5> White } #declare table = union { box { <-1, 0, -1>, <1, 0.1, 1> } box { <-1, 0, -1>, <-0.8, -1, -0.8> } box { <1, 0, -1>, <0.8, -1, -0.8> } box { <1, 0, 1>, <0.8, -1, 0.8> } box { <-1, 0, 1>, <-0.8, -1, 0.8> } texture { P_WoodGrain1B scale .20 finish { reflection 0.1 phong .5 ambient .3 } } } #declare cubus = union{ difference { box { <-5, -5, -5>, <5, 5, 5> texture { T_Glass1 } } sphere { <0, 0, -5>, .75 texture { T_Silver_3A } } // 1 sphere { <2.7, 0, 5>, .75 texture { T_Silver_3A } } // 6 sphere { <-2.7, 0, 5>, .75 texture { T_Silver_3A } } sphere { <2.7, 2.7, 5>, .75 texture { T_Silver_3A } } sphere { <-2.7, 2.7, 5>, .75 texture { T_Silver_3A } } sphere { <2.7, -2.7, 5>, .75 texture { T_Silver_3A } } sphere { <-2.7, -2.7, 5>, .75 texture { T_Silver_3A } } sphere { <0, -5, 0>, .75 texture { T_Silver_3A } } // 3 sphere { <2.7, -5, -2.7>, .75 texture { T_Silver_3A } } sphere { <-2.7, -5, 2.7>, .75 texture { T_Silver_3A } } sphere { <2.7, 5, 2.7>, .75 texture { T_Silver_3A } } // 4 sphere { <-2.7, 5, -2.7>, .75 texture { T_Silver_3A } } sphere { <-2.7, 5, 2.7>, .75 texture { T_Silver_3A } } sphere { <2.7, 5, -2.7>, .75 texture { T_Silver_3A } } sphere { <5, 0, 0>, .75 texture { T_Silver_3A } } // 5 sphere { <5, 2.7, 2.7>, .75 texture { T_Silver_3A } } sphere { <5, -2.7, -2.7>, .75 texture { T_Silver_3A } } sphere { <5, 2.7, -2.7>, .75 texture { T_Silver_3A } } sphere { <5, -2.7, 2.7>, .75 texture { T_Silver_3A } } sphere { <-5, 2.7, -2.7>, .75 texture { T_Silver_3A } } // 2 sphere { <-5, -2.7, 2.7>, .75 texture { T_Silver_3A } } } texture { finish { phong 1 brilliance .5 } } } object { table rotate y*20 } object { cubus rotate y*94 translate y*7.1 scale .04 }