// Last edited on DATE TIME by USER // Processed by remove-cam-lights global_settings { ambient_light rgb<1, 0, 0> } background{ color rgb < 0.75, 0.80, 0.85 > } #declare Prata = texture { pigment { color rgb < 0.10, 0.10, 0.10 > } finish { diffuse 1.0 specular 0.6 roughness 0.6 ambient 0.5 reflection { 0.5 metallic } } } #declare Xic3 = texture { pigment { color rgb < 0.50, 0.20, 0.20 > } finish { diffuse 0.2 specular 0.9 roughness 0.15 ambient 0.6 reflection {1.0 metallic }} } #declare Verde = texture { pigment { color rgb < 0.10, 0.90, 0.10 > } finish { diffuse 0.4 specular 0.1 roughness 0.15 ambient 0.1 reflection {0.03} } } #declare Center = texture { pigment { color rgb < 0.50, 0.60, 0.10 > } finish { diffuse 0.4 specular 0.1 roughness 0.15 ambient 0.2 reflection {0.3} } } #declare Wood= texture { pigment { wood color_map { [0.0, 1.101 color rgb <0.90, 0.80, 0.30> color rgb <0.50, 0.30, 0.15>] } ramp_wave } } #declare calice1= lathe { bezier_spline 4, <0,0>, <0,1>, <1,2>, <1.5,2> texture { Wood } } #declare calice2= lathe { bezier_spline 4, <1.5,2>, <1,2>, <1.5,2.3>, <1,2.4> texture { Wood } } #declare calice3= lathe { bezier_spline 4, <1,2.4>, <2,2.6>, <2.1,2.8>, <2.2,2.6> texture { Wood } } #declare calice = union { object {calice1} object {calice2} object {calice3} } #declare corta= box { <0,-10,0>, <20,20,20> } #declare prim1 = prism { conic_sweep linear_spline 0, 0.3, 5, <2,2>,<-2,2>,<-2,-2>,<2,-2>,<2,2> rotate <180, 0, 0> translate <0, 0.1, 0> scale <1, 3, 1> pigment { gradient y scale .2 } texture {Verde} } #declare tudo = union { object {calice} object {prim1} object { prim1 scale <0, -1, 0> translate <0, -1.2, 0> texture {Xic3} rotate <0,90,0> } } box { <-0.6, -1.2, -0.7> <0.7, -2, 0.7> texture {Prata}} difference { object {tudo} object {corta} } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <-6.0,4.00,4.00> // #local cam_sky = y #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,20.0,y,1.0)