// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2001-05-23 00:41:46 by stolfi background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 40.00, 10.00, 25.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 13.00, 8.00, 2.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.000 > } #declare raio = 3.000; #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare caixa = box { < 3.00, 3.00, 3.00 >, -3.50 texture { tinta_A } } #declare furo1 = cylinder { < -0.50, 1.00, 1.50 >, < 4.50, 1.00, 1.50 > 1.00 texture { tinta_B } } #declare furo2 = cylinder { < - 1.00, - 1.00, 1.50 >, < +2.00, +2.00, 1.50 >, 2.00 texture { tinta_B } } // Aqui está a cena, finalmente: difference { object { caixa } union { object { furo1 } object { furo2 } } }