// 1o. Exercicio de MC930 // Editado em 28/09/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 < 7.00, 3.00, 0.70 > 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.007 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 cilindro = cylinder { < 1.5, -1.5, 0.45 >, < 1.5, -1.5, 2.45 >, 0.9 texture { tinta_green } } #declare quad = box { <-2.3, -2.3, -2.3>, < -0.3, -0.3, -0.3> texture { tinta_blue } } // Aqui está a cena, finalmente: object { bola } object { cilindro } object { quad }