// 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 "textures.inc" #include "woods.inc" background { color Gray25 } //to make the patch easier to see light_source { <300, 300, -700> White } plane { z, -12 texture { pigment { checker color Blue color White } } } light_source { < 10.00, 10.00, 12.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 9.00, 9.00, 3.00 > right 2* < -1.20, 0.00, 0.00 > up 2* < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare tinta_A = texture { pigment { color rgb < 0.8, 0.50, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 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 tex = texture { DMFWood6 } #declare superTex = texture { pigment {color rgb <1,1,0>} finish { ambient .1 diffuse .4 specular 1 roughness 0.001 reflection .7 metallic } } #declare base = box { <-6,-4,0>, <6,4,0.5> texture {tex} } #declare box_aux = box { <-6,-4,0>, <6,4,-2> texture {tex} } #declare esfera = sphere { <0,0,2.6>,3 texture {tex} } #declare cilindro = cylinder { <0,0,5>, <0,0,9>, 1.5 texture {tex} } #declare cilindro_int = cylinder { <0,0,4.9>, <0,0,9>, 1.4 texture {tex} } #declare superBlob = blob { threshold .65 sphere { <0,0,4>,3 1 texture {tex} } cylinder { <0,0,7>, <0,0,10>, 1 1 texture {tex} } finish { phong 1 } } object {base} //object {superBlob} difference { object {cilindro} object {cilindro_int} } difference { object {esfera} object{box_aux} }