// Last edited on DATE TIME by USER
// 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.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

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

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

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



#declare base = 
 prism {
  linear_spline
  0, 1, 13,
   <1,0>,<1.5,1>,<2,0>,<3,1>,<2,1.5>,<3,2>,<2,3>,<1.5,2>,<1,3>,<0,2>,<1,1.5>,<0,1>,<1,0>
  
 }


#declare calice = 
lathe
{
 cubic_spline
 19, 
 <0.06, -0.1>,<0.44, 0.34>,<0.5, 1.23>,<0.44, 1.41>,<0.55, 1.5>,<0.75, 1.51>,<0.75, 1.39>,<0.72, 1.28>,<0.65, 1.27>,<0.8, 0.78>,
 <0.86, 0.48>,<0.72, 0.12>,<0.48, 0.01>,<0.32, -0.09>,<0.67, -0.34>,<0.31, -0.51>,<0.15, -0.82>,<0.38, -1.68>,<0.03, -1.86>
}

#declare doom_calice = 
union{
object{base rotate x*90 translate <-1.5,1.5,0> scale <0.5,0.5,0.5>  texture{tinta_vermelha}}
object{calice rotate x*90 translate <0,0,2> texture{tinta_vermelha}}
}

object{doom_calice scale <2,2,2>}

// Original camera parameters:
// #local cam_ctr = <0,0,0>
// #local cam_vec = <12.00,8.00,4.00>
// #local cam_sky = z

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