// Last edited on DATE TIME by USER
// Processed by remove-cam-lights








#declare randvar = seed(032883);

  






 




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




#declare ouro =
  texture {
   pigment { color rgb < 0.90, 0.80, 0.00 > }
   finish {
    ambient 0.2
    diffuse 0.3
    specular 0.3 roughness 0.005
    reflection 0.2
   }    
  }
  
#declare rubi =
  texture {
   pigment { color rgb < 0.90, 0.00, 0.00 > filter 1.0 }
   finish {
    ambient 0.2
    diffuse 0.3
    specular 0.3 roughness 0.005
    reflection 0.2
   }
  }
  
#declare marrom_claro = 
  texture {
    pigment { color rgb < 1.00, 0.95, 0.90 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }
  
#declare marrom_escuro = 
  texture {
    pigment { color rgb < 0.50, 0.40, 0.40 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }


#declare calice =
 lathe {
  linear_spline
  17,
  <4,0>, <4,0.7>, <1,2>, <1,6>, <3.5,6>, <4,6.3>, <4,6.7>, <3,7>, <3,8.5>, <4,9.4>, <4,10>,
  <3.7,10>, <3.7,9.4>, <2.7,8.5>, <2.7,7>, <2.7,6.3>, <0,6.3> 
  texture {ouro}
 }

#declare base =
 prism {
  linear_spline
  -2, 0, 10,
  <0,1>, <0,3>, <2.5,4>, <5,3>, <5,1>, <4,0>, <3,0>, <2.5,1>, <2,0>, <1,0>
  texture { marrom_claro }
 }

object { base
 translate <-2.5,0,-2.5>
 scale 3
}

difference {
 object { calice }
 box { <-10,-1.0,-10>, <10,20,0>
  texture {ouro} }
}


// Original camera parameters:
// #local cam_ctr = <0,0,0>
// #local cam_vec = <0,15.0,-50.00>
// #local cam_sky = y

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