// Last edited on 2017-05-03 18:23:12 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 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.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.10, 0.32, 0.60 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare bulk = box{ <-7, -3, 12>, <7, 3, 56> texture{tx_plastico} } #declare plug = box{<-6, -2, 0>, <6, 2, 12> } #declare connectHole = box { <-5.2, -1.2, 0>, <5.2, 1.2, 12> } #declare holeForBottle = sphere { <-8, 0, 42>, 8 } #declare coneHull = cylinder { <0,3.3,28>, <0,0.8,28>,32 } #declare coneInter = cone { <0,3.5,28>,24, <0,0.5,28>,32 } #declare conicCut = difference { object {coneHull} object {coneInter} } #declare coneHull2 = cylinder { <0,-3.3,28>, <0,-0.8,28>,32 } #declare coneInter2 = cone { <0,-3.5,28>,24, <0,-0.5,28>,32 } #declare conicCut2 = difference { object {coneHull2} object {coneInter2} } #declare tooth = box { <-7,-3,30>, <-4.8,3,40> } difference { object {plug texture{tx_plastico}} object {connectHole} } difference { object { bulk texture{tx_plastico}} object { holeForBottle texture{tx_plastico}} object { conicCut texture{tx_plastico}} object { conicCut2 texture{tx_plastico}} } object { tooth texture{tx_plastico}} #include "eixos.inc" object {eixos(30)} #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 30.00 >; #declare raio_cena = 50.0; #declare dir_camera = < 1.00, -1.50, 0.75 >; #declare dist_camera = 300.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)