// Last edited on 2013-11-04 01:03:00 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_coco = texture{ pigment{ color rgb < 0.0, 0.9, 0 > } finish{ diffuse 0.75 ambient 0.1 specular 1.5 roughness 0.065 } } #declare tx_espremedor = texture{ pigment{ color rgb < 1, 0.1, 0 > } finish{ diffuse 0.8 ambient 0.25 specular 0.5 roughness 0.005 } } #declare tx_joint = texture{ pigment{ color rgb < 1, 0.1, 0 > } finish{ diffuse 0.8 ambient 0.2 specular 0.5 roughness 0.005 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 1.0, 1.0, 1.0 >, color rgb < 0.0, 0.0, 0.0 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.5 } #declare raio_maior = 0.8; #declare raio_menor = 0.15; #declare joint = box{ <0, 0, 0>, <2.5, 0.7, 0.1> texture{tx_joint} } #declare espremedor = torus{ raio_maior, raio_menor texture{tx_espremedor} } #declare coco = sphere{ <0,0,0> raio_maior + raio_menor texture{tx_coco} } #declare chao = box{ <-20,-20,-1>, <+20,+20,0> } #include "eixos.inc" union{ //object{ eixos(20.00) } object{ chao translate < 0,0,-5 > texture{ tx_xadrez } } object{joint translate <0.8,0,1.5> rotate <0,-15,0>} object{joint translate <-0.1,0,1.7> rotate<0,15,0>} difference{ union{ object{espremedor rotate <90,0,0> translate <3.6, 0.4, 1.0> } object{espremedor rotate <90,0,0> translate <3.6, 0.4, 2.3> } object{coco translate <3.6, 0.4, 1.65>} } } } #include "camlight.inc" #declare centro_cena = < 2.50, 0.00, 1.00 >; #declare raio_cena = 3.5; #declare dir_camera = < 4, 7, 4 >; #declare dist_camera = 16; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)