// Last edited on 2005-01-05 23:07:48 by stolfi
// Processed by remove-cam-lights

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

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

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

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

#declare cor_espelho = <0.00, 0.00, 1.00>;

#declare tx_espelho =
 texture{
  pigment{ rgb cor_espelho }
  finish{
   ambient 0.05 diffuse 0.05
   reflection cor_espelho
   specular 0.20 roughness 0.05
  }
 }
#declare cor_cristal = < 1, 0, 0>;

#declare tx_cristal =
 texture{
  finish{
   ambient 0.1 diffuse 0.1 reflection 0.25
   specular 1 roughness 0.001
  }
  pigment {color cor_cristal filter 1}
 }

#declare toro =
  torus {
     2.00, 0.25
 rotate <90, 0, 0>
 texture{tx_espelho}
  }

#declare haste =
 cylinder{
  < 0.0, -1.85, 0.00>,
  < 0.0, -1.85, 1.00>,
  0.15
  texture { tinta_azul }
 }

#declare topo =
 lathe{
  linear_spline
  8,
  <0,1>, <2, 1>, <2, 1.4>, <1.75, 1.8>, <2, 2.2>, <2, 2.6>, <0.50, 2.6>, <0, 3>
  texture{tx_cristal}
  interior { ior 1.5}
  rotate <90, 0, 0>

 }

plane { z, -2
 texture{
  pigment{checker <0.5,0.5,0.5>, <1, 1, 1>}
  finish { ambient 0.6 diffuse 0.4 }
  scale 0.5
 }
}

#declare pedras =
   union{
 sphere{ < 0, 2, 2.4>, 0.1
 texture{tinta_azul}
 }
 box{ <-0.1, 2.1, 1.1>, <0.1, 1.9, 1.3>
 texture{tinta_verde}
 }
 sphere{ < 1, 1.75, 1.2>, 0.1
 texture{tinta_vermelha}
 }
 sphere{ < -1, 1.75, 1.2>, 0.1
 texture{tinta_azul}
 }
 box{ <1.1, 1.65, 2.3>, <0.9, 1.85, 2.5>
 texture{tinta_verde}
 }
 box{ <-1.1, 1.65, 2.3>, <-0.9, 1.85, 2.5>
 texture{tinta_vermelha}
 }
   }

  union {
    object{toro}
    object{haste}
    object{topo}
    object{pedras}

  }

#include "camlight.inc"
camlight(<0,0,1.5>,<2,7,3>,1.00,z,1.0)