#include "colors.inc" #include "golds.inc" #include "metals.inc" background { White } camera { location <10, 10, -10> look_at <0, 0, 0> } light_source { <50, 100, -50> White } #declare cubus = union{ difference { box { <-5, -5, -5>, <5, 5, 5> texture { T_Gold_1A } } 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 { cubus rotate y*94 translate y*5 scale .5 }