// Last edited on 2007-04-03 18:46:34 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 bola =
  sphere {
    < 0.00, 0.00, 0.00 >, 2.5 
    texture { tinta_A }
  }

#declare bola_inner =
  sphere {
    < 0.00, 0.00, 0.00 >, 2.3 
    texture { tinta_A }
  }
  
#declare bola_corte = 
  box {                 
    <-3, -3, 1.2>,
    <3, 3, 7>
    texture { tinta_A }
  }
  
#declare planeta1 =
difference { 
  difference {
    object { bola }
    object { bola_inner }
  }
  object { bola_corte }
}

#declare cubo =
box { <-1, -1, -0.5>, <1.5, 1.5, 2.0> texture { tinta_B } }

#declare cubo_inner =
box { <-0.7, -0.7, -0.2>, <1.2, 1.2, 1.7> texture { tinta_B } }

#declare cubo_corte =
box { <-1.3, 1, -0.7>, <2, 2, 2.5> texture { tinta_B } }

#declare planeta2 =
difference { 
  difference {
    object { cubo }
    object { cubo_inner }
  }
  object { cubo_corte }
}

object { planeta1 }
object { planeta2 }

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

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