// Last edited on 2007-04-03 19:24: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 < 1, 0, 0 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

#declare tinta_B = 
  texture {
    pigment { color rgbf < 0, 1, 0, 0> }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

#declare tinta_C = 
  texture {
    pigment { color rgb < 0, 0, 1  > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

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

#declare buraco_bola = 
   sphere {
    < 0, 0, 0.5>, 2
    texture { tinta_C  }
}

#declare caixinha = 
box {
<-1.2, -1.5, -0.5>,
<1.2, 1.5, 0.5>
texture {tinta_B}
}

#declare buraco_caixinha = 
box {
<-1, -1.2, -1>,
<1, 1.2, 1>
texture {tinta_C}
}

#declare cilindro =
cylinder {
<0, 0, 0>,
<0, 0, 1>,
1
texture {tinta_C}
}

#declare buraco_cilindro = 
cylinder {
<0, 0, 0>,
<0, 0, 1.5>,
0.8
texture {tinta_B}
}

difference { 
 object {bola}
 object {buraco_bola}
}

difference { 
 object {caixinha }
 object {buraco_caixinha}
}

difference { 
 object {cilindro}
 object {buraco_cilindro}
}

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

#include "camlight.inc"
camlight(<0,0,0>,<10,10,10>,7,z,1.0)