// Last edited on 2007-04-03 18:44:50 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.3 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.3 roughness 0.005 ambient 0.1 }
  }

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

#declare tinta_D = 
  texture {
    pigment { color rgb < 1.0, 0.0, 0.0 > }
    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 bola2 =
  sphere {
    < 0.00, 0.00, 0.00 >, 1.80 
    texture { tinta_A }
  }

#declare corte_bola =
  box {   
    <-2,0.2,2>,
    < 2,2,-2>  
    texture { tinta_A }
}
  
#declare cilindro = 
  cylinder {
    < 0, -1.00, 0 >,
    < 0, 0.60, 0 >,
    1.50
    texture { tinta_B }
  }

#declare cilindro2 = 
  cylinder {
    < 0, -1.00, 0 >,
    < 0, 0.70, 0 >,
    1.30
    texture { tinta_B }
  }

#declare cubo =
  box {   
    <-0.8,-1,0.8>,
    < 0.8,1,-0.8>  
    texture { tinta_C }
}

#declare cubo2 =
  box {   
    <-0.6,-1,0.6>,
    < 0.6,1.1,-0.6>  
    texture { tinta_C }
}

  
#declare planeta1 = 
  sphere {
    < +1.95, 0.00, 0.00 >,
    0.1
    texture { tinta_D }
  }

#declare planeta2 = 
  sphere {
    < 1.45, 0.40, 0.00 >,
    0.1
    texture { tinta_D }
  }
  
#declare planeta3 = 
  sphere {
    < 0.75, 0.70, 0.00 >,
    0.1
    texture { tinta_D }
  }

union {
 difference { 
  object { bola } 
  object { corte_bola }
   object { bola2 }
 }
 object { planeta1 }
 
 difference {
  object { cilindro }
  object { cilindro2 }
 }
 object { planeta2 }

 difference {
  object { cubo }
  object { cubo2 }
 }
 object { planeta3 }
}

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

#include "camlight.inc"
camlight(<0,0,0>,<10,10,10>,8,y,1.0)