// Trabalho 3 // Last edited on 2001-05-26 by Daniella background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 4.00, 10.00, 50.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 8.00, 8.00, 8.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 1.00, 0.00, 0.00 > look_at < 0.00, 0.00, 0.00 > } #declare raio = 2.000; #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 < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } // Corpo do Aviao #declare Corpo = union { //Corpo do Aviao sphere { < 0.00, 0.00, 0.00 >, 1.3 scale <1.7, 5.0, 1.7> texture { tinta_A } } // Rabo sphere{ <0.00, 0.00, 0.00>, 1 scale <0.1, 1, 2.5> rotate -20*y translate <0.25, 5.36, 0> texture {tinta_A} } // Asas sphere{ <0.00, 0.00, 0.00>, 1 scale <0.1, 1.0, 3.00> rotate 20*y translate <0.00, 0.50, 4.00> texture {tinta_B} } sphere{ <0.00, 0.00, 0.00>, 1 scale <0.1, 1.0, 3.00> rotate -20*y translate <0.00, 0.5, -4.00> texture {tinta_B} } } // Aqui está a cena, finalmente: object{ Corpo }