// Last edited on 2009-07-22 16:19:16 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare BLUE = texture { pigment { color rgb < 0.10, 0.20, 1.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare YELLOW = texture { pigment { color rgb < 1.0, 1.0, 0.0 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare GREEN = texture { pigment { color rgb < 0.20, 0.80, 0.10 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare RED = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare SILVER = texture { pigment { color rgb < 0.86, 0.86, 0.86 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare GOLDENROD = texture { pigment { color rgb < 0.854, 0.64, 0.125 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare t1 = 1.414213562/4; #declare e1 = 3; #declare base = difference { box { <0,0,0>, <4,4,e1> } cylinder { <0,0,e1*2>, <0,0,-e1*2>, 1 translate <1,1,0> } cylinder { <0,0,e1*2>, <0,0,-e1*2>, 1 translate <3,1,0> } cylinder { <0,0,e1*2>, <0,0,-e1*2>, 1 translate <2,3,0> } } #macro my_siep(n) #if (n = 0) object{ base } #else union{ object { base } object{ my_siep(n-1) scale translate } object{ my_siep(n-1) scale translate <2+t1,t1,0>} object{ my_siep(n-1) scale translate <1+t1,2+t1,0>} } #end #end object{my_siep(3) texture{YELLOW}} // Original camera parameters: // #local cam_ctr = <3.00,3.00,0.00> // #local cam_vec = (<-2.0,-2.00,10.00>-<3.00,3.00,0.00>) // #local cam_sky = z #include "camlight.inc" camlight(<2,2,e1>,<10,-10,10>,8.0,z,1.0)