// Last edited on 2013-11-04 00:45:07 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 1,1,1 > } #declare tx_bico = texture{ pigment{ color rgb < 0.49, 0.99, 0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_corpo = texture{ pigment{ color rgb < 0.48,0.66,0.87 > } finish{ diffuse 0.9 ambient 0.1 } } #declare raio = 1.000; #declare corpo = difference{ union{ cylinder{ < 0.3, 0, 0.5>, <0.3, +3.2, 0.5 >, 0.3 texture{ tx_corpo} } box{ < 0, 0, 0 >, < +0.6, +3.2, +0.5> texture{ tx_corpo } } } cylinder{ < 0.3, 0.5, 0>, <0.3, 0.5, 1.9 >, 0.15 texture{ tx_corpo} }} #declare buraco = cylinder{ < 0.3, 0.5, 0>, <0.3, 0.5, 4 >, 0.15 texture{tx_corpo} } #declare pe = box{ < 0, 0, 0 >, < +0.2, +0.2, +1.5 > texture{ tx_corpo } } #declare suporte = box{ < 0, 0, 0 >, < +0.5, +0.6, +0.5 > texture{ tx_bico } } #declare protetor = box{ < 0, 0, 0 >, < +0.8, +0.6, +0.2 > texture{ tx_bico } rotate <90,0,0> } #declare bico_torus = torus{ 0.30 , 0.2 texture{ tx_bico } rotate <90,0,0> } #include "eixos.inc" union{ // object{ eixos(3.00) } object{ pe translate < 2,3,0 > } object{ pe translate < 2.4,3,0 > } object{ pe translate < 2.4,0,0 > } object{ pe translate < 2,0,0 > } object{ corpo translate < 2,0,1.5 > } union{ object{protetor translate < 1.9,1,2.8 > } difference{ union{ object{ suporte translate < 2.1,0.2,2.3 > } object{ bico_torus translate < 2.3,0.5,2.8 > } } object{ buraco translate < 2,0,1.5 > } } } } #include "camlight.inc" #declare centro_cena = < 2.00, 1.50, 1.50 >; #declare raio_cena = 3.5; #declare dir_camera = < 10.00, -12.00, 7.00 >; #declare dist_camera = 16.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)