// Last edited on 2005-01-05 16:31:17 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 tinta_C =
  texture {
    pigment { color rgb < 1.00, 0.50, 0.10 > }
    finish { diffuse 0.8 specular 0.4 roughness 0.005 ambient 0.1 }
  }

#declare bola =
  sphere {
    < 0.00, 0.00, 0.00 >, 4.00
    texture { tinta_A }
  }

#declare bola2 =
  sphere {
    < 0.00, 4.00, 4.00 >, 4.00
    texture { tinta_A }
  }

#declare furo =
  cylinder {
    < 0.00, 0.00, 0.00 >,
    < +8.00, +8.00, +3.00 >,
    1.50
    texture { tinta_B }
  }

#declare pino =
  cylinder {
    < -2.00, +2.00, -1.00 >,
    < +2.00, -2.00, +1.00 >,
    0.75
    texture { tinta_B }
  }

#declare caixa =
  box {
    <  0.00, -3.00, 4.00 >
    <  5.00, 7.00, 5.00 >
    texture {tinta_C }
  }

difference {
  union {
    object { bola }

  object { caixa }
}
  object { furo }
}

#include "camlight.inc"
camlight(<0,4,4>,<7.00,30.00,8.00>,0.85,z,1.0)