#include "colors.inc" #include "metals.inc" #include "golds.inc" //background { Yellow } plane { y,0 texture { pigment {White } } } plane { -z,-30 texture { T_Chrome_3C } } camera { location <10,40,-30> direction z right x up y look_at <4,17,0> angle 30 } light_source { < 0,100,0>,<1,1,1>} light_source { < -100,10,0>,<1,1,1>/2} ovus { 1, 1/2 texture { T_Gold_5C }// rotate -90*z translate +y+4*z } #declare FaceD=texture { T_Gold_3C }; #declare FaceL=texture { hexagon texture { T_Gold_5E},texture { T_Gold_3C}, texture{ T_Gold_1E } rotate 90*x scale 1/9 }; #declare SideL=texture { gradient z texture_map { [0 T_Gold_5E ] [0.1 T_Gold_5E ] [0.2 T_Gold_5C ] [0.3 T_Gold_5A ] [0.4 T_Gold_5C ] [0.5 T_Gold_5E ] [0.6 T_Gold_5C ] [0.7 T_Gold_5A ] [0.8 T_Gold_5C ] [0.9 T_Gold_5E ] [1.0 T_Gold_5E ] } scale 1/2 }; #declare SideD=texture { gradient z texture_map { [0 T_Gold_5A ] [0.1 T_Gold_5A ] [0.2 T_Gold_5C ] [0.3 T_Gold_5E ] [0.4 T_Gold_5C ] [0.5 T_Gold_5A ] [0.6 T_Gold_5C ] [0.7 T_Gold_5E ] [0.8 T_Gold_5C ] [0.9 T_Gold_5A ] [1.0 T_Gold_5A ] } scale 1/2 }; #declare Ply=texture{ cubic texture {SideL} texture {SideD} texture { FaceL} texture {SideL} texture {SideD} texture { FaceD} } difference { box { <-10,-10,-1>,<10,10,1> texture {Ply scale <10,10,1> } } box { <-2,-2,-2>,<2,2,2> texture {Ply scale <2,2,2> } } box { <-2,-2,-2>,<2,2,2> texture {Ply scale <2,2,2> } translate 3.5*x-3*y } box { <-2,-2,-2>,<2,2,2> texture {Ply scale <2,2,2> } translate -3.4*x+y } box { <-2,-2,-2>,<2,2,2> texture {Ply scale <2,2,2> } translate y*3.4+3*x} cylinder { -2*z,2*z, 2 texture {Ply scale <2,2,2> } translate -3*y-3*x } rotate 30*y translate <0,10,10> }