// Last edited on 2013-11-04 01:44:36 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, 1.00, 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.6 reflection 0.3*< 1.00, 0.85, 0.30 > ambient 0.1 } } #declare tx_vidro = texture{ pigment{ color rgb < 1, 1.0, 1.00 > filter 0.70 } finish{ diffuse 0.3 reflection 0.01 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.50, 0.62, 0.80 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare tx_coco = texture{ pigment {color rgb <153/255,204/255,50/255>} finish{reflection 0.01 } } #include "colors.inc" #include "textures.inc" #declare raio = 3.000; #declare bolinha = sphere{ < 0,0,0 >, 0.60 } #declare bolota = sphere{ < 0,0,0 >, 1.50 } #declare bola = sphere{ < 0.00, 0.00, 0.00 >, raio texture{ tx_plastico } } #declare pino = cylinder{ < -2.00, +2.00, -1.00 >, < +2.00, -2.00, +1.00 >, 0.75 texture{ tx_fosca } } #declare furo = cylinder{ < -1.00, -2.00, -2.00 >, < +1.00, +2.00, +2.00 >, 0.75*raio texture{ tx_fosca } } #declare chao = box{ <-20,-20,-1>, <+20,+20,0> } #declare cortador = intersection{ box{<-1,1-1>, <1,1,1> rotate <45,0,0>} box{<-1,1-1>, <1,1,1> rotate <0,0,0>} } #declare coco = sphere{<0,0,0>, 0.55 } #declare segurador = union{ torus{0.3,0.1 rotate <90,0,0>} box{ <-1,-0.2,-0.1>, <1,0.2,-2> } } #declare espremedor = union{ cylinder{ <0,-1,0>, <0,-0.6,0>, 0.15 } box {<-1,-1.4,-1>, <1,-1,1>} box {<-0.6,-0.6,-1>, <0.6,0,0.6>} } union{ object { cortador texture{Aluminum} rotate <23,0,0> translate<0,0,0.4> scale<1,0.3,0>} object {segurador texture{tx_espelho} translate<0,0,-1>} object {coco translate<0,0,-0.45> texture{tx_coco}} object {espremedor texture{tx_fosca} translate<0,-1.5,-2>} object {espremedor texture{tx_fosca} translate<0,-1.5,-2> scale<1,-1,1>} object{ chao translate < 0,0,-3 > texture{ tx_xadrez } } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, -0.70 >; #declare raio_cena = 5.0; #declare dir_camera = < 20.00, 5.00, 5.00 >; #declare dist_camera = 12.0; #declare intens_luz = 1.400; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)