// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-11-09 by samuel #include "colors.inc" #include "stones.inc" background{ color rgb < 1, 1, 1 > } light_source { < 30.00, 30.00, 30.00 > color rgb < 1.00, 1.00, 1.00 > } plane { y, -12 texture { pigment { checker color Black color White } } } camera { location < 5.00,25.00, 15.00 > // right < 2.40, 0.00, 0.00 > // up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.00 > look_at < 0.00, 10.00, 3.00 > } //amarelo #declare amarelo = texture { pigment { color rgb < 1, 1, 0 > } finish {diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 phong 1} } #declare vermelho = texture { pigment { color rgb < 1, 0, 0> } finish {phong 1} } #declare verde = texture { pigment { color rgb < 0, 1, 0> } normal { bumps 0.6 scale 0.2 } finish {phong 1} } #declare preto = texture { pigment { color rgb <0, 0, 0> } finish {phong 1} } #declare cuba = difference{ difference { sphere { <-10,3,0>, 4 texture { verde finish {metallic reflection 0.5 phong 1} } } box { <-14,3,4>,<-6,7,-4> } } sphere { <-10,5,0>,4 texture {verde finish {metallic phong 1}} } } #declare base = cylinder { <0,0,0>,<0,3,0>,6.3 texture {pigment {BrightGold} finish {reflection 0.8 metallic phong 1 }} } #declare corpo = difference{ cylinder { <0,3,0>,<0,14,0>,5 texture {T_Stone10} //texture{pigment {granite} finish {reflection 0.7 metallic phong 1 diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1}} } cylinder { <0,4,0>,<0,15,0>,3 texture {pigment {granite} finish {reflection 0.6 metallic phong 1}} } } #declare vazio = cylinder { <0,5,6>,<0,12,6>,2 texture {pigment {granite} finish{reflection .7 metallic}} } // Aqui a cena object {cuba} object {base} difference { difference { difference { difference { object {corpo} object {vazio} } object {vazio translate <6,0,-6>} } object {vazio translate <-6,0,-6>} } object {vazio translate <0,0,-12>} } object {cuba translate <20,1,1>}