// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 09:50:30 by stolfi background{ color rgb < 0.00, 0.03, 0.15 > } light_source { < 3.00, 0.00, 2.00 > color rgb < 1.00, 1.00, 1.00 > } light_source { < 5.00, 2.00, 8.00 > color rgb <1.00, 1.00, 1.00 > } light_source { < 10.00, 2.00, 8.00 > color rgb <1.00, 1.00, 1.00 > } plane { <0, 0, 1>, 1 pigment { checker color rgb < 1, 1, 1 >, color rgb < 0, 0, 0> } } camera { location < 5.00, -2.00, 9.00 > right < 2.40, 0.00, 0.00 > up < 0.00, 0.00, 1.80 > sky < 0.00, 0.00, 1.00 > look_at < 5.00, 2.00, 5.50 > } #declare tinta_A = texture { pigment { color rgb < 1.70, 0.90, 0.47 > } finish { diffuse 0.5 specular 0.5 roughness 0.0335 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare torre = cylinder { < +5.0, +2.0, +1.0 >, < +5.0, +2.0, +8.0 >, 1.00 texture { tinta_A } } #declare furo = cylinder { < +5.0, +2.0, 0.0 >, < +5.0, +2.0, 9.0 >, 0.50 texture { tinta_B } } #declare casa = box { < 1.0, 5.0, 1.0 >, < 9.0, 9.0, 4.0 > texture { tinta_B } } #declare janela1 = box { < 7.3, 4.0, 2.0 >, < 8.5, 10.0, 3.0> texture { tinta_A } } #declare janela2 = box { < 1.5, 4.0, 2.0 >, < 2.7, 10.0, 3.0> texture { tinta_A } } // Aqui está a cena, finalmente: difference { object { torre } object { furo } } difference { object { casa } object { janela1 } object { janela2 } }