// Last edited on 2007-07-22 21:00:18 by stolfi
// Processed by remove-cam-lights

background{ color rgb < 0.75, 0.80, 0.85 > }

#declare raio = 2.500;

#declare tinta_A = 
  texture {
    pigment { color rgb < 0.30, 0.40, 0.80 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 }
  }

#declare tinta_B = 
  texture {
    pigment { color rgb < 0.00, 0.80, 0.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 }
  }

#declare tinta_C = 
  texture {
    pigment { color rgb < 0.80, 0.00, 0.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.2 }
  }
  
#declare planeta =
  sphere {
    < 0.00, 0.00, 0.00 >, 1.50 
    texture { tinta_B }
  }

#declare buraco =
  sphere {
    < 0.10, 0.10, 0.00 >, 1.40 
    texture { tinta_B } // [js]
  }

#declare ob1 =
  box
    {
        <-2.00, -2.00, 2.00 >, 
        <2.00, 2.00, -2.00 >
        texture { tinta_A }
    }

#declare ob2 =
  box
    {
        <-1.90, -1.90, 1.90 >, 
        <2.50, 2.50, -1.90 >
        texture { tinta_A }
    }

#declare ob3 =
  box
    {
        <0.00, 0.00, 0.50 >, 
        < 0.00, 1.00, -0.50 >
        texture { tinta_C }
    }

difference {
 object { ob1 }
 object { ob2 }
}

difference {
 object { planeta }
 object { buraco }
}

object { ob3 }

// 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,0>,<10,10,-2>,10,z,1.0)