// 2o. Exercicio de MC930 // Editado em 05/10/2000 // Alexandre Piccolo - RA 961871 background{ color rgb < 1,1,1 > } light_source { < 4.00, 10.00, 50.00 > color rgb < 1.0, 1.0, 1.0 > } camera { location < -19.00, 0.00, 1.50 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare raio = 2.000; #declare tinta_red = texture { pigment { color rgb < 1, 0, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.070 ambient 0.1 } } #declare tinta_green = texture { pigment { color rgb < 0, 1, 0 > } finish { diffuse 0.5 specular 0.5 roughness 0.007 ambient 0.1 } } #declare tinta_blue = texture { pigment { color rgb < 0, 0, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.050 ambient 0.1 } } //#declare bola = // sphere { // < 1, 1.7, 1.7 >, 0.92 // texture { tinta_red } // } #declare roda = cylinder { < 4.50, -3.0, -3.5 >, < 4.50, -4.0, -3.5 >, 1.0 texture { tinta_green } } #declare base = box { <-7.0, 3.0, -3.0>, < 7.0, -3.0, -4.0> texture { tinta_blue } } #declare haste_helice = cylinder { < 0, 0, -3.0 >, < 0, 0, 5 >, 0.15 texture { tinta_red } } #declare helice = box { < -9.0, -0.5, 5.0 >, < 9.0, 0.5, 5.5 > texture { tinta_red } } #declare banco = box { < 4.0, 1.70, -2.5 >, < 6.0, -1.70, -3.2 > texture { tinta_blue } } // Aqui está a cena, finalmente: // plataforma... object { base } // rodas... object { roda } object { roda translate <-9.00, 0.0, 0.0>} object { roda translate <0.00, 7.0, 0.0>} object { roda translate <-9.00, 7.0, 0.0>} //bancos... object { banco } object { banco translate <-9.5, 0.0, 0.0> } //helice object { haste_helice } object { helice rotate <0.0, 0.0, 45.0>} object { helice rotate <0.0, 0.0, 135.0>}