// Last edited on 2013-11-04 01:40:54 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_espelho = texture{ pigment{ color rgb < 1.00, 0.85, 0.30 > } finish{ diffuse 0.2 reflection 0.7*< 1.00, 0.85, 0.30 > ambient 0.1 } } #declare tx_vidro = texture{ pigment{ color rgb < 0.85, 0.95, 1.00 > filter 0.70 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.90, 0.92, 0.98 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 10.0 } #declare raio = 2.000; #declare cascas = difference { sphere{<15, 23, 0>, 5} sphere{<15, 23, 0>, 3.5} box{<10, 18, 2>, <20, 28, 7>} box{<10, 18, -2>, <20, 28, -7>} box{<10, 21, 5>, <20, 25, -5>} cylinder{<15, 23, 0>, <15, 15, 0>, 1} } #declare suporte = merge{ cylinder{<17, 27, 0>, <32, 27, 0>, 0.75} cylinder{<17, 19, 0>, <32, 19, 0>, 0.75} cylinder{<34, 30, 0>, <34, 10, 0>, 3} torus{ 4, 1 translate <34, 30, 0>} torus{ 4, 1 translate <34, 10, 0>} } #declare manivela = union { merge{ box{<-1, -5, -1>, <1, 5, 1> rotate<0, 0, 45> translate<35, 15, -4>} box{<-1, -5, -1>, <1, 5, 1> rotate<0, 0, 135> translate<35, 15, -4>} } sphere{<35, 15, -4>, 2} } #declare copo = difference{ cone{<15, 10, 0>, 3 <15, 15, 0>, 5} cone{<15, 11, 0>, 2 <15, 15, 0>, 4} } #include "eixos.inc" union{ // object{eixos(30)} object{ manivela texture{ tx_espelho } } object{ suporte texture{ tx_espelho } } object{ cascas texture{ tx_vidro }} object{ copo texture{ tx_vidro }} plane{ y,0 texture{ tx_xadrez rotate 11.7*y } } } #include "camlight.inc" #declare centro_cena = < 25.00, 17.00, 10.00 >; #declare raio_cena = 29.0; #declare dir_camera = < 0.00, 5.00, -10.00 >; #declare dist_camera = 50.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera, y, intens_luz)