// Last edited on 2007-03-31 19:51:26 by stolfi background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.00, 0.80, 0.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_B = texture { pigment { color rgb < 0.00, 0.0, 0.0 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_C = texture { pigment { color rgb < 0.30, 0.40, 1.00 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare tinta_D = texture { pigment { color rgb < 1.0, 0.0, 0.0 > } finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 } } #declare bola = sphere { < 0.00, -2.00, 0.00 >, 1.0 texture { tinta_A } } #declare furo = cylinder { < -1.00, -2.00, -2.00 >, < +1.00, +2.00, +2.00 >, 2.00 texture { tinta_B } } #declare pino = cylinder { < -2.00, +2.00, -1.00 >, < +2.00, -2.00, +1.00 >, 0.75 texture { tinta_B } } #declare caixa1 = box { < 1.00, -1.00, 1.00 >, < -1.00, +3.00, -1.00 > texture { tinta_C } } #declare caixa2 = box { < 1.00, 2.00, 2.00 >, < -1.00, 4.00, 1.00 > texture { tinta_B } } #declare cone1 = cone { <0.00, -2.00, -7.00>, 2.5, <0.00, -2.00, -5.00>, 1.5 texture { tinta_D } } #declare paleta = box { < 0.00, -2.00, 0.00 >, < -0.30, -2.00, -4.00 > texture { tinta_B } } // Aqui está a cena, finalmente: //intersection{ // object { bola } // object { caixa } //} object { bola scale <0.5,0.5,0.5> } object { caixa1 scale <0.5,0.5,0.5> } object { caixa1 rotate -90*x translate <0,4,0> scale <0.5,0.5,0.5> } object { cone1 scale <0.5,0.5,0.5> } object { paleta scale <0.5,0.5,0.5> } object { caixa2 scale <0.5,0.5,0.5> } #include "camlight.inc" camlight(<0,0,-1>,<10.00,5.00,5.00>,0.5,z,1.0)