// MC930: Exercicio 1 - 28/09/2000 background{ color rgb < 0.00, 0.03, 0.15 > } light_source { < 5.00, 5.00, -1.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 5.00, 3.00, 4.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, 0.00, 0.00 > } #declare tinta_A = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = 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_C = texture { pigment { color rgb < 1.00, 1.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bola_menor = sphere { < 0.00, 0.00, 0.00 >, 1.00 texture { tinta_B } } #declare bola_maior = sphere { < 0.00, 0.00, -3.00 >, 2.00 texture { tinta_C } } #declare chapeu = cone { < 0.00, 0.00, 1.00 >, 1.00 < 0.00, 0.00, 3.00 >, 0.00 texture { tinta_A } } // Cena Final object { bola_menor } object { bola_maior } object { chapeu }