#include "colors.inc" #include "textures.inc" // MONUMENTO box{<-5,0,-5>,<5,50,5> texture{pigment{color Yellow}} } box{<-15,0,-15>,<-5,42,5> texture{pigment{color Red}} } box{<15,0,-15>,<5,42,5> texture{pigment{color Red}} } box{<-5,0,-15>,<5,7,-5> texture{pigment{color Yellow}} } #declare j=0; #while (j<2) #declare i=0; #while (i<7) prism { // janelas centrais linear_sweep linear_spline 8+5*i, 11+5*i, 3, < -3+6*j, -5.01>, < -1.5+3*j, -5.01>, < -3+6*j, -5.01> texture { pigment {color Green} finish {reflection 0.5} } #declare i=i+1;} #end #declare j=j+1; #end #declare l=0; #while (l<2) #declare k=0; #declare j=0; #while (j<4) #if (j<2) #declare k=4.5*j; #else #declare k=4.5*j+1.5; #end #declare i=0; #while (i<7) prism { // janelas sala e quarto linear_sweep linear_spline 8+5*i, 11+5*i, 3, < -15.01+30.02*l, -14+k>, < -15.01+30.02*l, -11+k>, < -15.01+30.02*l, -14+k> texture { pigment {color White} finish {reflection 0.4} } #declare i=i+1;} #end #declare j=j+1; #end #declare l=l+1; #end // PAVIMENTO plane{<0,1,0>,0 texture{pigment{color Green}}} // FUNDO background{ color Blue } // CAMERA camera { location <-80,20,0> look_at <0,20,0> } // LUZ light_source{ <-70,30,0> color White}