// MC930: Exercicio 2 - 05/10/2000 background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < -5.00, -5.00, 5.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < -9.00, -4.00, 6.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, 5.00, 0.00 > } #declare tinta_AMAR = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_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 tinta_VERD = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare roda_dian_esq = cylinder { <0, 2.5, 1> <1, 2.5, 1> 1.5 texture { tinta_AMAR} } #declare roda_dian_dir = cylinder { <6, 2.5, 1> <7, 2.5, 1> 1.5 texture { tinta_AMAR} } #declare roda_tras_esq = cylinder { <0, 9.5, 1> <1, 9.5, 1> 1.5 texture { tinta_AMAR} } #declare roda_tras_dir = cylinder { <6, 9.5, 1> <7, 9.5, 1> 1.5 texture { tinta_AMAR} } #declare nariz = cylinder { < 3.5, 5, 1> < 3.5, 5, 3> 3.5 texture { tinta_AZUL } } #declare corpo = box { < 0, 5, 1>, < 7, 11, 3> texture { tinta_AZUL } } #declare cokpit = box { < 0, 7, 3>, < 7, 11, 5.5> texture { tinta_AZUL } } #declare rabo = box { < 2.5, 10, 4>, < 4.5, 20, 5.5> texture { tinta_AZUL } } #declare rabo_triangulo = prism { -2.5, -4.5, 3, <19,5.5>, <20,5.5>, <20, 7> rotate <0, 0, 90> texture { tinta_AMAR } } #declare helice = box { < 3, 2, 6>, < 4, 18, 6.5> texture { tinta_VERD } } #declare comp_helice = cylinder { <4, 10, 5> <4, 10, 6> 1 texture { tinta_AZUL } } #declare triangulo = prism { -7, 0, 3, <5,3>, <7,3>, <7, 5.5> rotate <0, 0, 90> texture { tinta_AMAR } } // Cena Final object { roda_dian_esq } object { roda_dian_dir } object { roda_tras_esq } object { roda_tras_dir } object { nariz } object { corpo } object { cokpit } object { rabo } object { rabo_triangulo } object { helice } object { comp_helice } object { triangulo }