/////////////////////////////////////////// // Computacao Grafica // // Exercicio de POV-Ray // 28/09/2000 ////////////////////////////////////////// // // Luciano Rodrigues Poli - RA 971096 // ////////////////////////////////////////// // Declaracao de parametros iniciais background{ color rgb < 0.00, 0.03, 0.15 > } light_source { < 10.00, 50.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, 12.00, 0.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, 0.00 > } // Declaracao de cores utilizadas na imagem #declare vermelho = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare marrom = texture { pigment { color rgb < 0.50, 0.30, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bege = texture { pigment { color rgb < 1.00, 0.80, 0.50 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } // Declaracao das partes do corpo que formam o boneco #declare cabeca = sphere { < 0.00, 0.00, 3.50>, 1.50 texture { bege } } #declare corpo = cone { < 0.00, 0.00, 2.00>, 0.00 < 0.00, 0.00, -3.00>, 4.00 texture { vermelho } } #declare bracos = cylinder { < -4.00, 0.00, 0.50>, < 4.00, 0.00, 0.50>, 0.50 texture { bege } } #declare perna_direita = box { < -2.00, 0.50, -3.00>, < -1.00, -0.50, -6.00> texture { marrom } } #declare perna_esquerda = box { < 2.00, 0.50, -3.00>, < 1.00, -0.50, -6.00> texture { marrom } } // Desenha a boneca, finalmente object { cabeca } object { corpo } object { bracos } object { perna_direita } object { perna_esquerda }