// Trabalho de Laboratório 1 // Last edited on 2001-05-12 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 < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare raio = 1.000; #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_Amarela = 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_Roxo = texture { pigment { color rgb < 1.00, 0.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare Cubo = box { < -2.00, 4.00, 2.00 > < 4.00, 2.00, -2.00 > texture { tinta_Azul } } #declare Furo1 = cylinder { <2.00, 5.00, -2.00> <5.00,-2.00,2.00> 0.75 texture { tinta_Roxo } } #declare Esfera = sphere { < 3.00, 3.00, 4.50 >, 0.75 texture { tinta_Amarela } } // Aqui está a cena, finalmente: union { object{ Esfera} object { Cubo } object {Furo1} }