// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2000-12-21 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, -50.00 > // right < 2.40, 0.00, 0.00 > // up < 0.00, 0.00, 1.80 > sky < 0.00, 1.00, 0.00 > look_at < 10.00, 20.00, 40.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>,<80,20,100> texture { pigment {color Gray} } } box{ <40,0,-20>,<70,20,100> texture { pigment { color Gray } } } } #declare detalhe1 = prism { linear_sweep linear_spline 0, 1, 3, <0,0>,<25,0>,<0,-10> pigment {Gray} } #declare detalhe2 = box { <-20,20,-5>,<80,25,100> texture{ pigment {color Gray} } } #declare a = 1; #declare detalhes = union{ object {detalhe2} #while (a < 16) object {detalhe1 translate <0,25-5*a,0> rotate <0,0,90>} #declare a = a+1; #end } //---------------------------------------------------- //----------------------------------------------------- //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} } object {detalhes} //------------------------------------------------------