// Last edited on 2013-11-04 01:18:58 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 1.00, 0.50, 0 > } 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_fosca2 = texture{ pigment{ color rgb < 0.19, 0.19, 0.8 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca3 = texture{ pigment{ color rgb < 0.37, 0.62, 0.62 > } 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.40, 0.45, 0.60 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare raio = 2.000; #declare apoio_box = box{ < 1,1.3,0 >, < -1,-1.3,0.2 > translate< 0,0,-0.5 >} #declare apoio_cylinder = cylinder{ < 0, 2, -0.7>, < 0, 2, -0.2>, 1.7 } #declare apoio = union{ difference{ object{ apoio_box } object{ apoio_cylinder } } } #declare suporte_box = box{ < 0.1,1.5,0 >, < -0.1,-1.3,3 > translate< 0,0,-0.5 >} #declare suporte_sphere = sphere{ < 0, 1.5, 0 >, 3 translate< 0,0.5,-0.5 >} #declare suporte = union{ difference{ object{ suporte_box } object{ suporte_sphere } } } #declare espremedor_cylinder = cylinder{ < 0, 1.3, 1.9>, < 0, 1.3, 2.5>, 0.1 } #declare espremedor_box = box{ < 0.6, 2, 1.75 >, < -0.6, 0.7, 1.9 >} #declare espremedor = union{ object{ espremedor_cylinder } object{ espremedor_box } } #declare apoio_coco = torus{ 0.8, 0.15 rotate< 90, 0, 0 > translate<0, 1.3, 0.8> } #declare suporte_coco_torus = torus{ 1, 0.1 rotate< 63, 0, 0 > translate<0, 0.4, 1.1> } #declare suporte_coco_sphere = sphere{ < 0, 1.3, 0.8 >, 0.9} #declare suporte_coco = union{ difference{ object{ suporte_coco_torus } object{ suporte_coco_sphere } } } #declare chao = box{ <-20,-20,-1>, <+20,+20,0> } #include "eixos.inc" union{ // object{ eixos(3.00) } object{ apoio texture{tx_plastico} } object{ suporte texture{tx_plastico} } object{ espremedor texture{tx_fosca} } object{ apoio_coco texture{tx_fosca} } object{ suporte_coco texture{tx_fosca} } object{ chao translate < 0,0,-0.5 > texture{ tx_xadrez } } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 4.0; #declare dir_camera = < 14.00, 7.00, 4.00 >; #declare dist_camera = 16.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)