// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi background{ color rgb < 0.90, 0.90, 0.90 > } light_source { < 8.00, 10.00, 20.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 5.00, 5.00, 5.00 > sky < 0.00, 0.00, 7.00 > look_at < 3.50, 0.00, 1.00 > } #declare laranja = texture { pigment { color rgb < 1.00, 0.60, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare amarelo = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } normal { bumps 0.4 scale 0.1 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare 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 preto = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare fruta = blob { threshold 0.95 sphere { <3, 0, 0>, 2.5, 1 texture { amarelo } } sphere { <1, 0, 0>, 2, 1 texture { amarelo } } } #declare dentro = blob { threshold 1.2 sphere { <3, 0, 0>, 2.5, 1 texture { preto } } sphere { <1, 0, 0>, 2, 1 texture { preto } } } // Aqui está a cena, finalmente: difference { object { fruta } box { <0, -1, 0.2>, <2, 1, 1> texture { laranja } } } difference { object { dentro } box { <0, -1, 0.2>, <2, 1, 1> texture { preto } } }