#include "colors.inc" #include "textures.inc" // MONUMENTO #declare andar = merge{ box{<-2.5, 0, -2.5>,<2.5, 3, 2.5>} box{<-10 , 0, -6>,<-2.5, 3, 6>} box{<2.5, 0, -6>,<10, 3, 6>} box{<-10, 0.2, 2.8>,<-10.5, 0, 1>} //4 chaos de varanda box{<-10, 0.2, -2.8>,<-10.5, 0, -1>} box{<10, 0.2, 2.8>,<10.5, 0, 1>} box{<10, 0.2, -2.8>,<10.5, 0, -1>} texture {pigment{color Gray}}} #declare espacos = merge{ box{<-.9, 0, -1>,<.9, 3.1, 1>} //poco do elevador box{<-2.3, 0.2, 1.1>,<2.3, 3.1, 2.3>} //corredores frente e tras do elevador box{<-2.3, 0.2, -1.1>,<2.3, 3.1, -2.3>} box{<-2.3, 0.2, -1.2>,<-1.1, 3.1, 1.2>} //laterais do elevador box{<2.3, 0.2, -1.2>,<1.1, 3.1, 1.2>} box{<-3.4, 0.2001, -.9>,<-2.1, 3.1, .9>} // entradas dos apartamentos box{<3.4, 0.2001, -.9>,<2.1, 3.1, .9>} box{<-9.8, 0.2, 5.8>,<-5.6, 3.1, 3.1>} //4 quartos box{<-9.8, 0.2, -5.8>,<-5.6, 3.1, -3.1>} box{<9.8, 0.2, 5.8>,<5.6, 3.1, 3.1>} box{<9.8, 0.2, -5.8>,<5.6, 3.1, -3.1>} box{<-9.8, 0.2, 2.9>,<-5.6, 3.1, 0.1>} //4 salas box{<-9.8, 0.2, -2.9>,<-5.6, 3.1, -0.1>} box{<9.8, 0.2, 2.9>,<5.6, 3.1, 0.1>} box{<9.8, 0.2, -2.9>,<5.6, 3.1, -0.1>} box{<-5.7, 0.2001, 0.9>,<-3.6, 3.1, 0.1>} //4 corredores box{<-5.7, 0.2001, -0.9>,<-3.6, 3.1, -0.1>} box{<5.7, 0.2001, 0.9>,<3.6, 3.1, 0.1>} box{<5.7, 0.2001, -0.9>,<3.6, 3.1, -0.1>} box{<-5.4, 0.2, 2.9>,<-2.6, 3.1, 1.1>} //4 cozinhas box{<-5.4, 0.2, -2.9>,<-2.6, 3.1, -1.1>} box{<5.4, 0.2, 2.9>,<2.6, 3.1, 1.1>} box{<5.4, 0.2, -2.9>,<2.6, 3.1, -1.1>} box{<-5.4, 0.2, 5.8>,<-2.6, 3.1, 4.6>} //4 banheiros box{<-5.4, 0.2, -5.8>,<-2.6, 3.1, -4.6>} box{<5.4, 0.2, 5.8>,<2.6, 3.1, 4.6>} box{<5.4, 0.2, -5.8>,<2.6, 3.1, -4.6>} box{<-5.4, 0.2, 4.4>,<-2.6, 3.1, 3.1>} //4 areas de servico box{<-5.4, 0.2, -4.4>,<-2.6, 3.1, -3.1>} box{<5.4, 0.2, 4.4>,<2.6, 3.1, 3.1>} box{<5.4, 0.2, -4.4>,<2.6, 3.1, -3.1>} box{<-10.1, 0.2, 2.8>,<-9.7, 2.6, 1>} //4 varandas da sala box{<-10.1, 0.2, -2.8>,<-9.7, 2.6, -1>} box{<10.1, 0.2, 2.8>,<9.7, 2.6, 1>} box{<10.1, 0.2, -2.8>,<9.7, 2.6, -1>} box{<-10.1, 1.2, 3.2>,<-9.7, 2.6, 5>} //4 janelas no quarto box{<-10.1, 1.2, -3.2>,<-9.7, 2.6, -5>} box{<10.1, 1.2, 3.2>,<9.7, 2.6, 5>} box{<10.1, 1.2, -3.2>,<9.7, 2.6, -5>} box{<-2.3, 2, 4.75>,<-2.7, 2.6, 5.75>} //4 janelas no banheiro box{<-2.3, 2, -4.75>,<-2.7, 2.6, -5.75>} box{<2.3, 2, 4.75>,<2.7, 2.6, 5.75>} box{<2.3, 2, -4.75>,<2.7, 2.6, -5.75>} box{<-2.3, 2, 4.25>,<-2.7, 2.6, 3.25>} //4 janelas na area de servico box{<-2.3, 2, -4.25>,<-2.7, 2.6, -3.25>} box{<2.3, 2, 4.25>,<2.7, 2.6, 3.25>} box{<2.3, 2, -4.25>,<2.7, 2.6, -3.25>} box{<-2.3, .8, 2.6>,<-2.7, 2.6, 2.9>} //4 janelas na area da cozinha box{<-2.3, .8, -2.6>,<-2.7, 2.6, -2.9>} box{<2.3, .8, 2.6>,<2.7, 2.6, 2.9>} box{<2.3, .8, -2.6>,<2.7, 2.6, -2.9>} box{<-3.3, .2, .13>,<-3.7, 2.6, .87>} //4 portas de entrada box{<-3.3, .2, -.13>,<-3.7, 2.6, -.87>} box{<3.3, .2, .13>,<3.7, 2.6, .87>} box{<3.3, .2, -.13>,<3.7, 2.6, -.87>} box{<-4.6, .2, .8>,<-3.8 2.6, 1.2>} //4 portas da cozinha box{<-4.6, .2, -.8>,<-3.8, 2.6, -1.2>} box{<4.6, .2, .8>,<3.8, 2.6, 1.2>} box{<4.6, .2, -.8>,<3.8, 2.6, -1.2>} texture {pigment{color White}} } difference{object{andar} object{espacos} } // PAVIMENTO plane{<0,1,0>,0 texture{pigment{color Green}}} // FUNDO background{ color Blue } // CAMERA camera { location <-6,6,0.4> look_at <-3,0,0> } // LUZ light_source{ <-10,10,0> color White}