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



 



  

  



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

#declare laranja = 
  texture {
    pigment { color rgb < 0.96, 0.66, 0.2 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

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

#declare vermelho = 
  texture {
    pigment { color rgb < 1, 0, 0 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }
#declare marrom = 
  texture {
    pigment { color rgb < 0.8, 0.5, 0.1 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

plane{y,0
      texture {
         pigment {checker color rgb <0.75, 0.80, 0.85>, color <1, 1, 1>
                 }
      }
}

#declare ouro =
  texture {
    pigment { color rgb < 1.00, 0.80, 0.3 > }
    finish { ambient 0.1 diffuse 0.1 specular 0.4 roughness 0.1  reflection < 1.00, 0.80, 0.3 > }
  }

#declare bloco_pedra =
 prism{
  -3.00, 3.0, 18
  <-3,0>,<-2,0.5>,<-3,1>,<-2,1.5>,<-3,2>,<-2,2.5>,<-2,3>,<-1,4>,<-4,5>,
  <4,5>,<1,4>,<2,3>,<2,2.5>,<3,2>,<2,1.5>,<3,1>,<2,0.5>,<3,0>
  texture { 
   pigment { uv_mapping image_map { jpeg "marmore.jpg" } 
  }} 
  rotate -90*x
  rotate 45*y
}

#macro calice()
 lathe {
  bezier_spline
  40,
  <2.5,0>, <3,0.1>, <3,0.2>, <2.5,0.5>, 

  <2.5,0.5>,<2.7,1>,<0.3,1.5>,<1,2>, 
  
   <1,2>,<0.3,2.2>,<0.3,2.5>,<1,3.5>, 

   <1,3.5>,<0.3,3.7>,<0.3,4>,<1,4>, 

  <1,4>,<2,4>,<0.7,4.3>,<1,4.5>, 
  
  <1,4.5>,<0.7,4.7>,<2,5.5>,<1,5.5>,

  <1.5,5>,<0.7,5.3>,<0.7,5.2>,<1,6>, 

  <1,6>,<0.7,5.3>,<0.7,5.2>,<0.5,6.5>, 

  <0.5,6.5>,<0.3,6.6>,<0.7,6.8>,<0.5,7>,

  <1,7>,<3,7.2>,<1.5,9>, <3,11>

  texture {ouro}
 }
#end

#declare calice_cortado = 
 difference {
  object { calice() translate <0,5,0> }
   box{<-3,0,-3>,<3,12,3> texture {ouro} translate <0,4,3>}
 }

object{bloco_pedra}
object{calice_cortado rotate 80*y}








// Original camera parameters:
// #local cam_ctr = <0.00,10.00,0.00>
// #local cam_vec = (<0.0,9,30.00>-<0.00,10.00,0.00>)
// #local cam_sky = y

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