#include "colors.inc" camera { location < 23, 8, 3> look_at < 10, 3.0, 3> angle 80 } light_source { <0, 10, -20> White } light_source { <0, 10, 20> White } sky_sphere { pigment { gradient y color_map { [0.000 0.002 color rgb <1.0, 0.2, 0.0> color rgb <1.0, 0.2, 0.0>] [0.002 0.200 color rgb <0.4, 0.5, 0.9> color rgb <0.4, 0.5, 0.9>] } scale 2 translate -1 } pigment { bozo turbulence 0.65 octaves 6 omega 0.7 lambda 2 color_map { [0.0 0.1 color rgb <0.85, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>] [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 1>] [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] } scale <0.2, 0.5, 0.2> } rotate -135*x } plane { y, 0 pigment { color Green } finish { ambient .3 diffuse .7 } } #declare meio = box{ <-6.0, 2.0, 3.0>, <-2.0, 0.0, -1.5> pigment { color White }} //Primeiro andar #declare Primeiro_andar = union{ //Ala da Esquerda difference{ box{ <-11.0, 2.0, 4.0>, <-6.0, 0.0, -3.0> pigment { color White }} box{ <-11.5, 2.5, 0.0>, <-9.0, -0.5, 2.5> pigment { color White}} } object{meio} box{ <-2.0, 0.0, -3.0>, <2.0, 2.0, 3.0> pigment { color White }} object {meio translate <8.0, 0, 0>} //Ala da direita difference{ box{ <6.0, 0.0, 4.0>, <11.0, 2.0, -3.0> pigment { color White }} box{ <9.0, 2.5, 0.0>, <11.5,-0.5, 2.5> pigment { color White}} } } #declare Segundo_andar = box{ <-11.0, 2.0, 3.0>, <-6.0, 4.0, 9.0> pigment { color White }} object{ meio translate <0, 2.0, 4.5> } box{ <-2.0, 2.0, 3.0>, <2.0, 4.0, 9.0> pigment { color White }} object{ meio translate <8.0, 2.0, 4.5> } box{ <6.0, 2.0, 3.0>, <11.0, 4.0, 9.0> pigment{ color White }} #declare Morro = box{ <-20.0, 0.0, 3.0>, <20.0, 2.0, 50.0> pigment { color Brown }} union{ object { Morro } object{ Primeiro_andar } object{ Segundo_andar } } object{ Primeiro_andar translate <0, 2.0,0>}