// Last edited on 2013-11-04 00:51:09 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 1.0, 1.0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_vermelho = texture{ pigment{ color rgb < 1.00, 0.0, 0.0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_met = texture { pigment { colour red 0.500 green 0.500 blue 0.500 filter 0.500} finish { metallic } } #declare tx_fosca2 = texture{ pigment{ color rgb < 0.00,1.00, 0.00 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca3 = texture{ pigment{ color rgb < 0.00, 1.00, 1.00 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca4 = texture{ pigment{ color rgb < 0.00, 0.0, 0.0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare raio = 2.000; #declare suporte = difference{ object {sphere{ < 0,0,0 >, raio } texture {tx_fosca2}} object { box{ < -2, -2 , 0 >, <2, 2.0, 2.0 > } texture {tx_fosca3}} object {sphere { < 0, 0, 0>, 1.7} texture {tx_fosca}}} #declare apoio = torus { 2.0, 0.3 } #declare aba = union{ cylinder {< 0.00, 0.0, 0 >, <0, 1.5, 0>, 0.15 texture {tx_met} } cylinder {< 0 , 1.5 ,-1 >, < 0, 1.5, 1 >, 0.15 texture {tx_vermelho} } } #declare perfurador = union { cone{ < 0,0,0 >, 0.30, <0, 0, -1.0 >, 0.0 texture {tx_met} } cylinder {< 0.00, 0.0, 0 >, <0, 0, 2>, 0.3 texture {tx_met} } cylinder {<1,0 , 2>, < -1,0 , 2>, 0.3 texture {tx_vermelho}}} #include "eixos.inc" union{ // object{ eixos(3.0) } object {apoio texture {tx_fosca3} rotate <90, 0, 0> translate <0,0, -1.5>} object {suporte translate <0,0, -2>} object {aba translate <1.0, 2.2, -1.0> rotate <0, 45, 0>} object {aba translate <-1.0,2.2, 1.0> rotate <180, -45, 0> } object {perfurador translate <0, 0, 1> rotate <0, 45, 0>} } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, -0.75 >; #declare raio_cena = 7.0; #declare dir_camera = < 6.01, 4.01, 3.01 >; #declare dist_camera = 16.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)