// Last edited on 2005-01-05 16:09:47 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.05, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 1.00, 0.10, 0.10 > } finish { diffuse 0.4 ambient 0.1 specular 0.75 roughness 0.001 reflection 0.5 } } #declare tinta_B = texture { normal { bumps 0.4 scale 0.2 } pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 ambient 0.1 specular 0.50 roughness 0.005 } } #declare bola = sphere { < 0.00, 0.00, 0.00 >, 2.00 texture { tinta_A } } #declare furo = cylinder { < 0.00, 0.00, +2.00 >, < 0.00, 0.00, -2.00 >, 1.50 } #declare pino1 = cylinder { < +2.50, 0.00, 0.00 >, < -2.50, 0.00, 0.00 >, 0.75 texture { tinta_B } } #declare pino2 = cylinder { < 0.00, +2.50, 0.00 >, < 0.00, -2.50, 0.00 >, 0.75 texture { tinta_B } } union { difference { object { bola } object { furo } } object { pino1 } object { pino2 } } plane { z, -10 pigment { checker color rgb<1.0, 1.0, 0.0> color rgb<0.0, 1.0, 1.0> scale 2 } finish { ambient .1 diffuse .1 reflection .2 specular 1 roughness .001 irid { 0.35 thickness .5 turbulence .5 } } } #include "camlight.inc" camlight(<0,0,0>,<4.00,2.00,8.00>,1.00,z,1.0)