// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-09-21 20:06:05 by stolfi #include "colors.inc" #include "stones.inc" background{ color rgb < 1, 1, 1 > } camera { location <1,9,9> look_at <3,4,0> } light_source { <-20,50,50> White } light_source { <12,3,20> White } #declare tinta_Amarela = texture { pigment { color rgb < 0.0, 1.00, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_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 tinta_Branca = texture { pigment { color rgb < 1.0, 1.0, 1.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_Vermelha = texture { pigment { color rgb < 1, 0.0, 0.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_Verde = texture { pigment { color rgb < 0.0, 1.0, 0.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare eixoX = cylinder { < 0.0, 0.0, 0.0 >, <10.0, 0.0, 0.0 >, 0.05 texture { tinta_Azul } } #declare eixoY = cylinder { < 0.0, 0.0, 0.0 >, < 0.0, 10.0, 0.0 >, 0.05 texture { tinta_Vermelha } } #declare eixoZ = cylinder { < 0.0, 0.0, 0.0 >, < 0.0, 0.0, 10.0 >, 0.05 texture { tinta_Verde } } box { < 0, 0, 0 >, < 2, 5, 0.1 > texture {pigment{color rgb <0.5,0.5,0.5>} } matrix < 1,-1,0 0,1,0 0,0,1 0,0,0 > translate<5,0,0> } box { < 0, 0, 0 >, < 2, 5, 0.1 > texture {pigment{color rgb <0,0,0>} } matrix < 1,-1,0 0,1,0 0,0,1 0,0,0 > rotate <0,90,0> translate<5,0,0> } box { < 0, 0, 0 >, < 2, 5, 0.1 > texture {pigment{color rgb <0,0,0>} } matrix < 1,-1,0 0,1,0 0,0,1 0,0,0 > rotate <0,-90,0> translate<5,0,0> } box { < 0, 0, 0 >, < 2, 5, 0.1 > texture {pigment{color rgb <0.5,0.5,0.5>} } matrix < 1,-1,0 0,1,0 0,0,1 0,0,0 > rotate <0,180,0> } box { < 0, 0, 0 >, < 2, 5, 0.1 > texture {pigment{color rgb <0,0,0>} } matrix < 1,-1,0 0,1,0 0,0,1 0,0,0 > rotate <0,90,0> } box { < 0, 0, 0 >, < 2, 5, 0.1 > texture {pigment{color rgb <0,0,0>} } matrix < 1,-1,0 0,1,0 0,0,1 0,0,0 > rotate <0,-90,0> } difference{ sphere{ <2.5,5,0>, 2.5 texture { T_Stone10} } box{ <0,5,-2.5> <5,7.5,2.5> texture { T_Stone10} } sphere{ <2.5,5,0>, 2 texture { T_Stone10} } scale<0,2,0> translate<0,-5,0> } box{ <-5,-2,-5> <10,-1,5> texture {pigment{granite}} }