// Last edited on 2007-07-22 21:54:02 by stolfi background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.100, 0.100, 0.100 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_B = texture { pigment { color rgb < 1.000, 0.200, 0.200 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_C = texture { pigment { color rgb < 0.100, 0.300, 1.000 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_D = texture { pigment { color rgb < 1.000, 0.900, 0.000 > } finish { diffuse 0.8 specular 0.3 roughness 0.5 ambient 0.1 } } #declare mex_bola = sphere { < 0.00, 0.00, 0.00 >, 2.00 texture { tinta_A } } #declare furo = cylinder { < +2.00, 0.00, 0.00 >, < -2.00, 0.00, 0.00 >, 1.70 texture { tinta_B } } #declare haste = cylinder { < 0.00, 0.00, 6.00 >, < 0.00, 0.00, 1.70 >, 0.60 texture { tinta_B } } #declare apoio = box { < -2.50, -3.00, 6.00 >, < +2.50, 3.00, 6.50 > texture { tinta_C } } #declare caixa = box { < -2.50,-8.00, -3.00 >, < -6.50, 8.00, 7.50 > texture { tinta_D } } // Aqui está a cena, finalmente: union { object { caixa } object { apoio } object { haste } difference { object { mex_bola } object { furo } } } #include "camlight.inc" camlight(<-5,0,0>,<10.00,10.00,4.00>,1.8,z,1.0)