// Last edited on 2007-04-03 19:21:04 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.05, 0.20, 1.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

#declare tinta_B = 
  texture {
    pigment { color rgb < 0.00, 1.00, 0.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }
  
#declare tinta_C = 
  texture {
    pigment { color rgb < 250.00, 250.00, 0.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

#declare bola =
  sphere {
    < 0.00, 0.00, 0.00 >, 2.00 
    texture { tinta_A }
  }
  
#declare cubo = 
  box {
    < +2.50, -2.50, -2.50 >,
    < -2.50, +2.50, +0.00 >    
    texture { tinta_B }
  }
  
#declare pino = 
  cylinder {
    < 0.00, 0.00, -2.50 >,
    < 0.00, 0.00, +0.50 >,
    2.2
    texture { tinta_C }
  }
  

difference { 
  union{
    object { bola } 
    object { pino }
    object { cubo }
  }
}

// Original camera parameters:
// #local cam_ctr = <0,0,0>
// #local cam_vec = <8.00,4.00,2.00>
// #local cam_sky = z

#include "camlight.inc"
camlight(<0,0,-1>,<10,10,10>,12,z,1.0)