// Last edited on 2009-07-22 19:53:20 by stolfilocal
// Processed by remove-cam-lights

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

global_settings { max_trace_level 10 }

#declare colorDarkBlue = 
  texture {
    pigment { color rgb < 0.00, 0.00, 0.80 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 }
  }

#declare colorLightBlue = 
  texture {
    pigment { color rgb < 0.00, 0.40, 1.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 }
  }

#declare colorDarkGreen = 
  texture {
    pigment { color rgb < 0.00, 0.80, 0.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
  
#declare colorLightGreen = 
  texture {
    pigment { color rgb < 0.00, 1.00, 0.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
  
#declare colorYellow =
  texture {
    pigment { color rgb < 1.00, 1.00, 0.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
  
#declare colorGlassRed =
  texture {
    pigment { color rgb < 0.95, 0.05, 0.05 > filter 0.8 }
    finish { diffuse 0.1 ambient 0.1 }
  }
  
#declare colorGlassRed1 =
  texture {
    pigment { color rgb < 0.95, 0.05, 0.05 > transmit 0.8 }
    finish { diffuse 0.1 ambient 0.1 }
  }
  
#declare colorRed =
  texture {
    pigment { color rgb < 1.00, 0.00, 0.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
  
#declare colorBrown = 
  texture {
    pigment { color rgb < 0.90, 0.90, 0.75 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
  
#declare colorGrey = 
  texture {
    pigment { color rgb < 0.70, 0.70, 0.70 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 }
  }
  
#declare colorGlassGrey = 
  texture {
    pigment { color rgb < 0.70, 0.70, 0.70 > filter 0.8 }
    finish { diffuse 0.1 specular 0.5 roughness 0.205 ambient 0.1 }
  }
  
#declare colorMetalGrey1 = 
  texture {
    pigment { color rgb < 0.70, 0.70, 0.70 > }
    finish { diffuse 0.1 ambient 0.1 reflection 0.8 }
  }
  
#declare colorMetalGrey2 = 
  texture {
    pigment { color rgb < 0.50, 0.50, 0.50 > }
    finish { diffuse 0.3 ambient 0.2 reflection 0.5 }
  }
  
#declare colorArray = array[6] {colorDarkBlue,colorLightBlue,colorDarkGreen,colorLightGreen,colorYellow,colorRed};

#declare pedestal = 
  merge {
    
    cylinder { < 0.00, 0.00, 0.00 >, < 0.00, 0.00, 5.00 >, 1.00 texture { colorMetalGrey2 } }
  }
  
#declare circulo =
  merge {
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < 2.00, 0.00, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < 0.00, 2.00, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < 0.00, -2.00, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < -2.00, 0.00, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < 1.414, 1.414, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < -1.414, 1.414, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < -1.414, -1.414, 0.00 > }
    sphere { < 0.00, 0.00, 0.00 >, 1.0 texture { colorGlassRed } interior { ior 0.5 } translate < 1.414, -1.414, 0.00 > }
  }
  
#declare bola2 = 
  merge {
    object { circulo scale 1.00 rotate < 0, 0, 0 > }
    object { circulo scale 0.99 rotate < 45, 0, 0 > }
    object { circulo scale 1.01 rotate < 90, 0, 0 > }
    object { circulo scale 0.98 rotate < 135, 0, 0 > }
    scale 0.8 translate < 0.00, 0.00, 7.00 >
  }
  
plane { z , 0 
  texture { 
    pigment { checker rgb < 1, 1, 1 >, rgb < 0, 0, 0 > rotate 17*z }
    finish { diffuse 0.5 ambient 0.5 }
  }
  scale 3.4
  translate -10*z
}

merge {
  object { bola2 } 
  object { pedestal }
}

// Original camera parameters:
// #local cam_ctr = <0.00,0.00,3.00>
// #local cam_vec = (<10.00,10.00,8.00>-<0.00,0.00,3.00>)
// #local cam_sky = z

#include "camlight.inc"
camlight(<0.00,0.00,5.00>,<10,3,7>,12.0,z,1.0)