// Last edited on 2005-01-05 18:01:18 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 caixa_centro = box { <-1.00, -0.60, +1.30> <+1.00, +0.60, -0.40> texture {tinta_B} } #declare caixa_dentro_centro = box { <-0.90, -0.50, +1.40> <+0.90, +0.50, -0.35> texture {tinta_B} } #declare dobradica_ponta = cylinder { <-0.45, 0, 0> <+0.45, 0, 0> 0.05 rotate 90*z } #declare ponta = cone { <-0.6, 0.0, 0>, 0.40 <+0.6, 0.0, 0>, 0.01 texture{tinta_A} } #declare base = box { <-0.60, 0.30, -0.4> <+0.60, -0.30, -0.9> texture {tinta_B} } #declare sbase = box { <-1.00, +0.6, -0.90> <+1.00, -0.6, -1.20> texture {tinta_B} } #declare tampa = box { <-1.00, +0.6, -0.20> <+1.00, -0.6, +0.10> rotate 70*x texture {tinta_B} } union{ difference { object { caixa_centro } object { caixa_dentro_centro } } union { object { dobradica_ponta translate <+0.95,0,+1.35>} object { ponta translate <+1.65,0,+0.95>} } union { object { dobradica_ponta translate <-0.95,0,+1.35>} object { ponta rotate -100*y translate <-1.40, 0, +1.87>} object { tampa translate <0,-0.5,2>} } union { object {base} object {sbase} } } #include "camlight.inc" camlight(<0.0,0.0,0.4>,<3.00,5.00,3.00>,1.20,z,1.0)