// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 09:50:30 by stolfi background{ color rgb < 1.200, 1.255, .200 > } light_source { < 100.00, 50.00, 100.00 > color rgb < 1.00, 1.00, 1.00 > } light_source { < 0.00, 0.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 50.00, 3.00, 5.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 5.00 > } #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.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 tinta_C = texture { pigment { color rgb <1.99, 0.00, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare olho1 = box { < 20.00, -17.50, -6.50 >, < 6.00, -1.50, 7.50 > texture { tinta_A } } #declare olho2 = sphere { < 14.00, 10.0, 0.00 >, 8.50 texture { tinta_A } } #declare nariz = cylinder { < 23.00, 0.00, 0.00 >, < 23.00, 0.00, -10.00 >, 3.00 texture { tinta_C } } #declare boca = cylinder { < 15.00, 2.00, -20.00 >, < 15.00, 15.00, -12.50 >, 4.00 texture { tinta_A } } #declare chapeu = cone { < 0.00, 0.00, 10.00>, 20.00 < 0.00, 0.00, 50.00>, 0.00 texture { tinta_B } } // Aqui está a cena, finalmente: union { object { chapeu } object { olho1 } object { olho2 } object { nariz } object { boca } }