// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi /* background{ color rgb < 0.00, 0.03, 0.15 > } light_source { < 4.00, 10.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, 0.00, -40.00 > // right < 0.00, 0.00, 0.00 > // up < 0.00, 0.00, 0.00 > // sky < 0.00, 0.00, 0.00 > look_at < 0.00, 0.00, 0.00 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.00, 0.10, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare olho1 = sphere { < 0.00, 0.00, 0.00 >, 2.00 texture { tinta_A } scale <1,2,1> translate <2,3,4> } #declare olho2 = sphere { < 0.00, 0.00, 0.00 >, 2.00 texture { tinta_A } scale <1,2,1> translate <-2,3,4> } #declare olhodentro1 = sphere { < 0.00, 0.00, 0.00 >, 1.00 texture { tinta_B } scale <1,2,1> translate <2,3,4> } #declare olhodentro2 = sphere { < 0.00, 0.00, 0.00 >, 1.00 texture { tinta_B } scale <1,2,1> translate <-2,3,4> } #declare antena1 = cylinder { < 0.00, 5.00, 0.00 >, < 5.00, 10.00, 0.00 >, 0.75 texture { tinta_B } } #declare antena2 = cylinder { < 0.00, 5.00, 0.00 >, < -5.00, 8.00, 0.00 >, 0.75 texture { tinta_B } } #declare antenaponta1 = sphere { < 0.00, 0.00, 0.00 >, 1.00 texture { tinta_B } translate < 5.00, 10.00, 0.00 > } #declare antenaponta2 = sphere { < 0.00, 0.00, 0.00 >, 1.00 texture { tinta_B } translate < -5.00, 8.00, 0.00 > } #declare pescoco = cylinder { < 0.00, 5.00, 0.00 >, < 0.00, -8.00, 0.00 >, 0.75 texture { tinta_B } } #declare corpo = cylinder { < 0.00, -8.00, 0.00 >, < 0.00, -18.00, 0.00 >, 4.75 texture { tinta_B } } // Aqui está a cena, finalme union { object { antena1 } object { antena2 } object { pescoco } object { corpo } object { olho1 } object { olho2 } object { olhodentro1 } object { olhodentro2 } object { antenaponta1 } object { antenaponta2 } } difference { object { bola } union { object { furo1 } object { furo2 } } } */ #include "colors.inc" camera { //angle 20 location<0,0,-40> look_at<0,0,0> } light_source { <10, 20, -10> color White } #declare tinta_A = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 3 roughness .005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare antena1 = blob { threshold .65 sphere { <5,10,0>,1,1 } //palm cylinder { <0,5,0>, <5,10,0>, .75, 1 } //lower pinky texture { tinta_A } } #declare antena2 = blob { threshold .65 sphere { <-5,8,0>,1,1 } //palm cylinder { <0,5,0>, <-5,8,0>, .75, 1 } //lower pinky texture { tinta_A } } #declare pescoco = blob { threshold .65 //pescoco cylinder { <0,5,0>, <0,-8,0>, .75, 1 } //segura olho cylinder { <-3,5,0>, <3,5,0>, .75, 1 } //corpo cylinder { <0,-8,0>, <0,-14,0>, 5, 1 } texture { tinta_A } } #declare olho1 = blob { threshold .65 sphere { <0,0,0>,3,1 scale <1,2,.5> } translate < 3.0, 5.00, -0.50 > texture { tinta_A } } #declare olhodedentro1 = blob { threshold .65 sphere { <0,0,0>,1,1 scale <1,2,.5> } translate < 2.0, 5.00, -0.50 > texture { tinta_A } } #declare olho2 = blob { threshold .65 sphere { <0,0,0>,3,1 scale <1,2,.5> } translate < -3.0, 5.00, -0.50 > texture { tinta_A } } #declare boca = blob { threshold .65 cylinder { <-3.5, 0.5,-1>, <3.5, 0.5,-1>, .75, 1 } cylinder { <-3.0, 0.0,-1>, <3.0, 0.0,-1>, .75, 1 } cylinder { <-2.5,-0.5,-1>, <2.5,-0.5,-1>, .75, 1 } cylinder { <-2.0,-1.0,-1>, <2.0,-1.0,-1>, .75, 1 } texture { tinta_A } } union { object { antena1 } object { antena2 } object { pescoco } object { olho1 } object { olho2 } object { olhodedentro1 } object { boca } }