// Last edited on 2007-04-03 18:47:43 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 < 2.00, 0.00, 0.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }
  
#declare tinta_D = 
  texture {
    pigment { color rgb < 0.00, 2.00, 0.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

#declare tinta_E = 
  texture {
    pigment { color rgb < 0.00, 0.00, 2.00 > }
    finish { diffuse 0.8 specular 0.3 roughness 0.005 ambient 0.1 }
  }

#declare eixoX = 
  cylinder {
    < 0.00, 0.00, 0.00 >,
    < 10.00, 0.00, 0.00 >,
    0.05
    texture { tinta_C }
  }

#declare eixoY = 
  cylinder {
    < 0.00, 0.00, 0.00 >,
    < 0.00, 10.00, 0.00 >,
    0.05
    texture { tinta_D }
  }

#declare eixoZ = 
  cylinder {
    < 0.00, 0.00, 0.00 >,
    < 0.00, 0.00, 10.00 >,
    0.05
    texture { tinta_E }
  }

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

#declare bola_menor =
  sphere {
    < 0.00, 0.00, 0.00 >, 3.80 
    texture { tinta_A }
  }

#declare caixa_corte_esfera = 
  box {
    <  4.00, 4.00, 0.00 >,
    < -4.00, -4.00, 4.00 >
    
    texture { tinta_A }
  }

#declare caixa_maior = 
  box {
    <  2.00, 2.00, 2.00 >,
    < -2.00, -2.00, -2.00 >
    
    texture { tinta_B }
  }
  
#declare caixa_menor = 
  box {
    <  1.80, 1.80, 2.10 >,
    < -1.80, -1.80, -1.80 >
 
    texture { tinta_B }
  }
  
#declare cone_maior = 
  cone {
    <  0.00, 0.00, 2.00 >, 1.70
    <  0.00, 0.00, -1.70 >, 0.00 
    
    texture { tinta_D }
  }  
  
#declare cone_menor = 
  cone {
    <  0.00, 0.00, 2.40 >, 1.70
    <  0.00, 0.00, -1.30 >, 0.00 
    
    texture { tinta_D }
  }  

object { eixoX }
object { eixoY }
object { eixoZ }

difference {
   object { bola_maior }
   object { bola_menor }
   object { caixa_corte_esfera }
}

difference {
   object { caixa_maior }
   object { caixa_menor }
}

difference {
   object { cone_maior }
   object { cone_menor }
}

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

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