//Trabalho de Laboratorio I //Aluno : Alex Zerio 970154 28/09/2000 background{ color rgb < 1, 1, 1 > } light_source { < 3.00, 5.00, 20.00 > color rgb < 0.50, 1.00, 1.00 > } camera { location < -3, 3, 15.00 > right < 1.00, 0.00, 0.00 > up < 0.00, 0.00, 1.00 > sky < 0.00, 0.00, 1.00 > look_at < -3, 3, 6 > } #declare tinta_A = texture { pigment { color rgb < 1, 0, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 0, 1, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0, 0, 1 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_D = texture { pigment { color rgb < 0.25, 0.25, 0.25 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare boca = cone { < -3.00, 8.00, 1.00>, 0.00 < -3.00, 4.00, 1.00>, 2.00 texture { tinta_A } } #declare nariz = cylinder { < -3.00, 0.50, 2.50 >, < -3.00, 3.00, 5.00 >, 0.50 texture { tinta_B } } #declare olho_dir = sphere { < -6, 0, 0 >, 1.00 texture { tinta_C } } #declare olho_esq = box { < 1.00, 1.00, 1.00>, < -1.00, -1.00, -1.00> rotate y*40 texture { tinta_D } } union { object { nariz } object { olho_esq } object { boca } object { olho_dir } }