/////////////////////////////////////////// // Computacao Grafica // // Exercicio de POV-Ray // 05/10/2000 ////////////////////////////////////////// // // Luciano Rodrigues Poli - RA 971096 // ////////////////////////////////////////// // Declaracao de parametros iniciais background{ color rgb < 0.80, 0.80, 0.80 > } light_source { < 10.00, 50.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 0.00, 4.00, 8.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.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 } } #declare azul = texture { pigment { color rgb < 0.00, 0.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare preto = texture { pigment { color rgb < 0.30, 0.30, 0.30 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } // Declaracao das partes do corpo que formam o helicoptero-carro. #declare cubo = box { <0.00, 0.00, 0.00> <1.00, 1.00, 1.00> texture { preto } } #declare esfera = sphere { <0.00, 0.00, 0.00>, 1.00 texture { marrom } scale <1.00, 1.00, 0.40> } // Desenha // Cauda object { cubo scale < 7.00, 1.00, 1.00> translate < 1.00, 0.00, -0.05 > } // Terminal da cauda object { cubo translate < 7.00, 1.00, -0.05> } // Cabine object { cubo scale < 6.00, 4.00, 4.00> translate < -5.00, -2.00, -2.00> } // Frente da Cabine object { cubo scale < 2.00, 2.00, 4.00> translate < -7.00, -2.00, -2.00> } // Rodas object { esfera translate < -5.00, -2.00, 2.5> } object { esfera translate < -5.00, -2.00, -2.5> } object { esfera translate < -1.00, -2.00, 2.5> } object { esfera translate < -1.00, -2.00, -2.5> } // object { cabine_traseira } // object { cabine_frente } // object { cauda }