// Last edited on 2003-10-14 23:18:27 by stolfi #include "colors.inc" background{ color rgb < 0.0, 0.7, 0.85 > } light_source { 100*< -10.00, 8.00, -5.00 > color rgb 0.6 * < 1.00, 1.00, 1.00 > } light_source { 100*< 5.00, 3.00, -15.00 > color rgb 1.2 * < 1.00, 1.00, 1.00 > } #declare ctr = < 0.00, 1.00, 0.00 >; #declare camdir = < -12.00, 9.00, -23.00 >; camera { location ctr + 1.0*camdir right -0.60*x up 0.80*y sky y look_at ctr } // amarelo #declare tinta_A = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } // vermelho #declare tinta_B = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } // azul #declare tinta_C = texture { pigment { color rgb < 0.20, 0.40, 1.00 > } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } //cinza #declare tinta_D = texture { pigment { color rgb < 0.50, 0.50, 0.50 > } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } //cinza laranja #declare tinta_E = texture { pigment { color Orange } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } //verde #declare tinta_F = texture { // pigment { color Green } pigment { color rgb < 0.0, 0.85, 0.80 > } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } // verd escuro #declare tinta_G = texture { pigment { color rgb < 0.0, 0.70, 0.0 > } finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 } } // cabeça box { <-1.8, 7.3, -1.8>, // Near lower left corner < 1.8, 3.7, 1.8> // Far upper right corner texture { tinta_A } } // olho dir cylinder { < 0.00, 5.9, -1.95 >, < 0.00, 5.9, -1.80 >, 0.3 texture { tinta_F } translate <0.8, 0.0, 0> } // olho esq cylinder { < 0.00, 6.0, -1.95 >, < 0.00, 6.0, -1.80 >, 0.3 texture { tinta_F } translate <-0.8, 0.0, 0> } // nariz cone { < 0.00, 6.0, -1.95 >, 0.1 < 0.00, 6.0, -1.80 >, 0.35 texture { tinta_D } translate <0.0, -0.8, 0> } //boca cone { < -0.90, 5.0, -1.95 >, 0.1 < 0.90, 5.0, -1.90 >, 0.3 texture { tinta_B } translate <0.0, -0.8, 0> } union { //base do chapeu torus { 2.6, 0.6 translate <0.0, 7.3, 0> texture { tinta_B } } //topo chapeu cylinder { <0, 7.3 , 0.00 >, < 0, 9.4 , 0.00 >, 2.0 texture { tinta_B} // translate <2.5,-0.2,0> } } // Pescoço cylinder { < 0.00, 2.50, 0.00 >, < 0.00, 3.80, 0.00 >, 0.75 scale < 1.5,1,1.5> texture { tinta_A } } // Tronco box { < -2.50 , -3.10, -1.20 >, < 2.50 , 2.55, 1.20> texture { tinta_G } } //Perna esquerda cylinder { < -1.8, -9.90 , 0.00 >, < -1.8, -3.90 , 0.00 >, 1.10 texture { tinta_C} rotate -30*z translate <2.5,-0.2,0> } //Perna direita cylinder { < 1.8, -9.90 , 0.00 >, < 1.8, -3.90 , 0.00 >, 1.10 texture { tinta_C} rotate 30*z translate <-2.5,-0.2,0> } //Braço Esquerdo cylinder { <-3.00, 1.55, 0.00>, <-5.00, -0.50, -3.00>, 0.90 texture { tinta_A } } //Braço direito cylinder { < 6.00, 1.55, 0.00> < 3.00, 1.55, 6.00>, 0.90 texture { tinta_A } translate <0.0,-1.0,0> } plane { y, -9 pigment { checker color Black color White scale 3 } finish { diffuse 0.5 ambient 0.5 } }