// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 12.00, 7.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 10.00, 6.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, 0.00, 0.0 > } #declare raio = 0.5; #declare tinta_A = 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_B = texture { pigment { color rgb < 1.00, 0.00, 0.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare caixa1 = box { <-3, 0, 0 >, // Near lower left corner < 3, 1 , 5 > // Far upper right corner texture {tinta_A} } #declare bola1 = sphere { < 5.00, 0.00, 0.00 >, 0.7 texture { tinta_B } } #declare bola2 = sphere { < -5.00, 0.00, 0.00 >, 0.7 texture { tinta_B } } #declare bola3 = sphere { < 0.00, 5.00, 0.00 >, 0.7 texture { tinta_B } } // Aqui está a cena, finalmente: caixa1 bola1 bola2 bola3