// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-12-14 by samuel #include "colors.inc" #include "stones.inc" background{ color rgb < 1, 1, 1 > } light_source { < 30.00, 80.00, -20.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 5.00,70.00, -30.00 > // right < 2.40, 0.00, 0.00 > // up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.00 > look_at < 25.00, 10.00, 30.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} } //-------------------------------------------------- //BASE DO GINASIO - ENTRADA PARA CENTRO CONFERENCIAS //-------------------------------------------------- #declare base = union{ box{ <-20,0,0>,<40,20,55> texture { pigment {color Gray} } } box{ <40,0,-20>,<70,20,55> texture { pigment { color Gray } } } } //---------------------------------------------------- //----------------------------------------------------- //ESCADARIA LATERAL //---------------------------------------------------- #declare escada = union{ #declare cont=0; #while (cont<20) box{ <40+cont,1+cont,0>,<41+cont,25,-10> } #declare cont=cont+1; #end } //------------------------------------------------------ //------------------------------------------------------ //ENTRADA PARA GINASIO (superior) //------------------------------------------------------ //alguma coisa aqui //------------------------------------------------------ //------------------------------------------------------ //PARTE SUPERIOR //------------------------------------------------------ //alguma coisa aqui //------------------------------------------------------ //------------------------------------------------------ //A CENA FINAL //------------------------------------------------------ difference{ object {base} object {escada} } //------------------------------------------------------