#include "colors.inc" // Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2001-07-12 10:51:24 by stolfi background{ color rgb < 0.30,0.70, 0.90 > } light_source { <5.00, 25.00, 25.00 > color rgb 1.4*< 1.00, 0.5, 0.50 > } camera { //location < -19.00, 88.00, 10.00> location < 65.00, 70.00, 30.00> right <-0.80,0.00, 0.00> up <0.0, 0.0, 0.60> sky <0.00, 0.00, 1.00> look_at <4.00, 4.0, 0.00> } sky_sphere { pigment { gradient y color_map { [0.000 0.002 color rgb <1.0, 0.2, 0.0> color rgb <1.0, 0.2, 0.0>] [0.002 0.200 color rgb <0.8, 0.1, 0.0> color rgb <0.2, 0.2, 0.3>] } scale 2 translate -1 } pigment { bozo turbulence 0.55 octaves 6 omega 0.65 lambda 2 color_map { [0.0 0.1 color rgb <0.85, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>] [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 0.75>] [0.5 1.0 color rgbt <1, 1, 0.75, 1> color rgbt <1, 1, 1, 1>] } scale <0.2, 0.5, 0.2> } rotate -135*x } #declare preto = texture { pigment { color rgb < 0, 0, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare branco = texture { pigment { color rgb < 1.0, 1.0, 0.9 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 1.5 specular 0.5 roughness 0.05 ambient 0.1 } } #declare amarelo = texture { pigment { color rgb <1.0, 1.0, 0.0>} finish {diffuse 2.5 specular 1.00 roughness 0.050 ambient 0.0} } #declare azul = texture {pigment {color rgb <0.0, 0.2, 1.0> } finish {diffuse 1.0 specular 1.0 roughness 0.050 ambient 0.1} } #declare abobora = texture {pigment {color rgb <0.9, 0.5, 0.2> } finish {diffuse 1.0 specular 1.0 roughness 0.050 ambient 0.1} } #declare verde = texture {pigment {color rgb <0.0, 1.0, 0.1>} finish {diffuse 0.75 specular 1.0 roughness 0.050 ambient 0.1} } #declare verde2 = texture {pigment {color rgb <0.0, 1.0, 0.3>} finish {diffuse 0.75 specular 1.0 roughness 0.050 ambient 0.1} } #declare tx_cristal = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001} pigment {color filter 1 White} } #declare cornea = sphere { <3.35, 9.35, 12.25>, 0.5 scale <1.5,1,1> texture {vermelho} } #declare olho = sphere { <5, 8.0, 12.0>, 1.5 texture {branco} } #declare boca1 = sphere {<2.5,8,9.3>, 0.90 texture {verde} scale <2.0,1,1> } #declare boca2 = sphere {<2.5,8,9.2>, 1.0 texture {verde} scale <2.0,1,1> } #declare cone2 = cone { <10.5, 5.0, 17.0>, 0.5 <5.5, 5.0, 10.0>,2.0 texture {verde}} #declare cone1 = cone { < 0.0, 5.0, 17.00 >, 0.5 < 5.00 , 5.0, 10.00 >, 2.0 texture { verde } } #declare cilindro1 = cylinder { <-5.0,12.0,-14.0>, <15.0,12.0,-14>, 1.50 texture { verde } } // Aqui está a cena, finalmente: blob { threshold 0.75 // rosto sphere { <5,5,9>, 11, 1 texture {verde} scale <1,1,1.2>} sphere { <5,5,0>, 7, 1 texture {verde} } sphere { <13.5,5,0>, 7, 1 texture {verde} scale <1,1,1>} sphere { <-3.5,5,0>, 7, 1 texture {verde} scale <1,1,1>} sphere { <5,5,-7>, 8, 1 texture {verde} scale <1,1,1>} cylinder { <15,5,1>, <18.0,6.0,3>, 1.0 1 texture { verde } } cylinder { <15,5,1>, <18.0,6.0,3>, 1.0 1 texture { verde } } cylinder { <15,5,1>, <18.0,5.0,1>, 1.2 1 texture { verde } } cylinder { <15,5,1>, <18.0,5.0,1>, 1.20 1 texture { verde } } cylinder { <15,5,1>, <18.0,7.0,-1>, 1.00 1 texture { verde } } cylinder { <-5,5,1>, <-8.0,7.0,3>, 1.0 1 texture { verde } } cylinder { <-5,5,1>, <-8.0,5.0,3>, 1.0 1 texture { verde } } cylinder { <-5,5,1>, <-8.0,6.0,1>, 1.0 1 texture { verde } } cylinder { <-5,5,1>, <-8.0,6.0,1>, 1.0 1 texture { verde } } cylinder { <-5,5,1>, <-8.0,7.0,-1>, 1.0 1 texture { verde } } } #declare suporte = box { <12, -8, -15>, < -2, 17, -5> texture {tx_cristal}} #declare painel = box { <1, 17, -5>, < 11, 12, -3> texture {amarelo}} #declare assento = box { <0, -1, 2.0>, < 10, -5, -5> texture {azul}} #declare cambio = cone { < 10.0, 12.0, 1.00 >, 0.5 < 10.0, 15.0, -3.00 >, 1 texture { azul } } #declare direcao1 = cone { < 5.0, 15.0, 2.00 >, 0.5 < 5.0, 15.0, -3.00 >, 1 texture { azul } } #declare direcao0 = torus {3.0, 1.0 texture{azul} rotate -75*x } #declare escapamento = cone { < 2.0, -8.0, -10.00 >, 0.5 < 2.0, -14.0, -10.00 >, 2.5 texture { abobora } } #declare santoantonio = torus {3.5, 3.0 texture{azul} rotate 90*y } #declare parachoque = cone { < 5.0, 27.0, -10.00 >, 0.5 < 5.0, 17.0, -10.00 >, 5.3 texture { azul scale <9,1,1> } } union { object {painel} object {cambio} object {direcao1} object {direcao0 translate <5,15,2>} object {santoantonio translate <5,-3,5>} object{ olho} object {cilindro1 translate <0,-14,0>} object {torus {2.5, 1.45 texture{preto} rotate 90*z translate <15.0,-2.0,-14> }} object {torus {2.5, 1.45 rotate 90*z texture {preto} translate <-5.0,-2.0,-14> } } object {torus {2.5, 1.45 texture{preto} rotate 90*z translate <15.0,12.0,-14> }} object {torus {2.5, 1.45 rotate 90*z texture {preto} translate <-5.0,12.0,-14> } } object {cilindro1} object {parachoque} object {escapamento} object {escapamento translate <5,0,0>} object {assento} object {suporte} object {cone1} object {cone2} object {cornea} difference { object {boca2} object {boca1}} }