// Tres objetos // Aula 1 - Eduardo Kerr background{ color rgb < 0.80, 0.93, 0.7 > } light_source { < 10.00, 10.00, 15.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 9.00, 9.00, 9.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, 3.00, 5.00 > } #declare raio = 1.0; #declare tinta_A = texture { pigment { color rgb < 1.0, 0.80, 0.00 > } finish { diffuse 0.7 specular 0.5 roughness 0.01 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 0.00, 0.0, 1.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.01 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 1.00, 0.0, 0.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.01 ambient 0.1} } #declare bola = sphere { < 1.0, 1.0, 4.0 >, raio texture { tinta_B } } #declare cobre = cone { < 1.0, 1.0, 7.0 >, 0.2 < 1.0, 1.0, 5.0 >, raio texture { tinta_A } } #declare caixa = box { < 2.0, 2.0, 3.00 >, < 0.0, 0.0, 1.00 > texture { tinta_C } } // Aqui está a cena, finalmente: // object { aula1 } union { object { caixa } object { cobre } object { bola } }