// Last edited on 2005-01-05 18:17:28 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.8 specular 0.4 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.8 specular 0.4 roughness 0.005 ambient 0.1 } } #declare dobradica = cylinder { < 0.00, 0.00, 0.00 > < 0.00, 4.00, 0.00 > 1.00 texture { tinta_B } } #declare ponta = cone { < 0.00, 0.00, 0.00 >, 1.00 < 0.00,-2.00, 0.00 >, 0.00 texture { tinta_B } } #declare lado1 = box { < 0,0,1 > < 4,4,-1 > texture { tinta_A } } #declare aba1 = box { < 3,0,0.50 > < 4,4,1.50 > texture { tinta_A } translate <-3.5,0,0.5> rotate 45*y translate <2.25,0,-0.25> } #declare furo1 = cylinder { < 0.00, 2.00, 1.5 > < 4.50, 2.00, 1.5 > 0.5 texture { tinta_B } } #declare lado2 = box { < 1,0,0 > < -1,4,-4 > texture { tinta_A } } #declare aba2 = box { < -0.50,0,-3 > < -1.50,4,-4 > texture { tinta_A } translate <-0.5,0,3.5> rotate 45*y translate <0.25,0,-4.25> } #declare furo2 = cylinder { < -1.50, 2.00, 0.00 > < -1.50, 2.00, -4.50 > 0.50 texture { tinta_B } } difference { union { object { lado1 rotate 20*y } object { aba1 rotate 20*y } object { lado2 } object { aba2 } object { dobradica } object { ponta } } object { furo1 rotate 20*y} object { furo2 } } #include "camlight.inc" camlight(<1.60,2.00,-2.00>,<-6.00,-9.40,4.00>,0.90,z,1.0)