// Last edited on 2009-07-22 19:53:09 by stolfilocal
// 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 < 1.00, 0.00, 0.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }

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

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

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

#declare tinta_D =
  texture {
    pigment { color rgb < 1.00, 1.00, 1.00 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
   

#declare Tapete =
  box {
    < -5.00, -5.50, -0.00 >,
    < 5.00, +5.50, +0.10 >
    texture { tinta_A }
  }

#declare caixaBaixoPrateleira =
  box {
    < +0.00, +0.00, +0.00 >,
    < +20.00, +8.00, +0.50 >
    texture { tinta_B }
  }

#declare caixaPrateleira1 =
  box {
    < +0.00, +0.00, +10.00 >,
    < +20.00, +8.00, +10.50 >
    texture { tinta_B }
  }

#declare caixaPrateleira2 =
  box {
    < +0.00, +0.00, +20.00 >,
    < +20.00, +8.00, +20.50 >
    texture { tinta_B }
  }

#declare caixaPrateleira3 =
  box {
    < +0.00, +0.00, +30.00 >,
    < +20.00, +8.00, +30.50 >
    texture { tinta_B }
  }

#declare caixaTrasPrateleira =
  box {
    < +0.00, +8.00, +0.00 >,
    < +20.00, +8.50, +30.50 >
    texture { tinta_B }
  }

#declare obejeto =
  blob {
    threshold 0.5
    sphere { <0,0,0>, 0.8, 1 
     texture { 
  pigment { 
      color rgb <0.4,0.5,0.8> filter 0.5 
  }  finish { brilliance 8
        diffuse 0.1 ambient 0.2 reflection 0.3
     } 

     }  
    }
    sphere { <0.5,-0.5,0.5>, 0.8, 1 
      texture { pigment { color rgb <0.8,0.5,0.4> filter 0.5 }  finish { brilliance 8 diffuse 0.1 ambient 0.1 reflection 0.3}
}  }
    sphere { <-0.5,1,0.5>, 1.2, 1 
      texture { pigment { color rgb <0.5,0.8,0.4> filter 0.5 }  finish { brilliance 8 diffuse 0.1 ambient 0.1 reflection 0.3}
} }
scale 2.0
interior {ior 1.2}
}

#declare cristal =
object {obejeto translate <0,-1,5>}
 
  
#declare chao = 
plane { 
z,0 
  texture { 
    pigment { 
      checker rgb<1,1,1>, rgb <0.5,0.5,0.5> 
      rotate 17*z
    } 
    finish { diffuse 0.5 ambient 0.5 }
  } 
}

#declare suportedourado  =
  box {
    < 0.00, +0.00, +0.00 >,
    < +2.00, +2, +0.2 >
      texture {
      pigment{color rgb<1,0.8,0.2>}
 finish { brilliance 5 specular 2 roughness 0.01 diffuse 0.2 ambient 0.3 reflection {0,0.75 metallic} metallic }
  } 
  }

#declare boxPe=
  box {
    < 0.00, +0.00, +0.00 >,
    < +4.00, +1.00, +4.00 >
    texture {
      pigment{color rgb<0.3,0.3,0.3>}
 finish { roughness 0.06 diffuse 0.3 ambient 0.4 reflection 0.3 }
  } 
  }

#declare boxTiraPe=
  box {
    < 1.00, +-2.00, +0.00 >,
    < +3.00, +2.00, +0.50 >
    texture {
      pigment{color rgb<0.3,0.3,0.3>}
 finish { roughness 0.06 diffuse 0.3 ambient 0.4 reflection 0.3 }
  } 
  }

#declare cilindrope  =
  cylinder {
    < 4.00, -2.00, +4.00 >,
    < 4.00, +2.00, +4.00 >,
    3.00
     texture {
      pigment{color rgb<0.3,0.3,0.3>}
 finish { roughness 0.06 diffuse 0.3 ambient 0.4 reflection 0.3 }
  } 
  }

#declare pe  =
difference {
object { boxPe }
object { cilindrope }
object { boxTiraPe }
}

#declare estrutura =
union 
{
  object { pe }
  object { pe rotate <0,0,90> translate <0,0,0>}
  object { pe rotate <0,0,-90> translate <0,0,0>}
  object { pe rotate <0,0,180> translate <0,0,0> }

}

union {
object { chao }
object { Tapete }
object {estrutura}
object {cristal}
object {suportedourado translate <-1,-1,4>}
}

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

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