// MC930 - Exemplo de main.pov para o trabalho final
// Last edited on 2000-12-14 09:07:40 by mc726


#include "colors.inc"
#include "glass.inc"

#declare centro_do_monumento = <0,0,0>


// PAVIMENTO
#declare pavimento =
  plane{ z, 0
    texture{ 
      pigment{ color Gray }
    }
  }

//Andar 1
#declare andar1=
union{
	difference{
	box{ <-9.0, 4.0, 0.0>, <-19.0, -4.0, 3.0> pigment { color White }}
	box{ <-11.5, 1.5, 0.0>, <-14.5, -1.5, 3.5> pigment { color White}}
	box{ <-17.0, 1.5, 0.0>, <-19.5, -4.5, 3.5> pigment { color White }}
	}

	difference{
    box{ <-4.0, 2.0, 0.0>, <-9.0, -2.0, 3.0> pigment { color White }}
	box{ <-5.5, 2.1, 0.0>, <-7.5, 1.5, 2.0> texture { T_Glass2 }}
	}
	
	difference{
	box{ <4.0, 4.0, 0.0>, <-4.0, -4.0, 3.0> pigment { color White }}
	box{ <1.0, 4.1, 0.0>, <-1.0, 3.0, 3.0> texture { T_Glass2 }}
	}

	difference{	
	box{ <4.0, 2.0, 0.0>, <9.0, -2.0, 3.0> pigment { color White }}
	box{ <5.5, 2.1, 0.0>, <7.5, 1.5, 3.0> texture { T_Glass2 }}
	}

	difference{
	box{ <9.0, 4.0, 0.0>, <19.0, -4.0, 3.0> pigment { color White }}
	box{ <11.5, 1.5, 0.0>, <14.5, -1.5, 3.5> pigment { color White}}
	box{ <17.0, 1.5, 0.0>, <19.5, -1.5, 3.5> pigment { color White }}
	box{ <17.1, 1.3, 0.0>, <16.5, 0.5, 2.5> texture { T_Glass2 }}
	}
}

object { pavimento }
object {andar1}

// CÂMARA

#declare centro_da_cena = centro_do_monumento;
#declare raio_da_cena = 1.0;
#declare direcao_da_camera = vnormalize( < 0, 2, 0.5 > );

#declare dist_da_camera = 65.0 * raio_da_cena
#declare pos_da_camera = centro_da_cena + dist_da_camera * direcao_da_camera;
camera {
  location  pos_da_camera
  right     <  -0.64,  0.00,  0.00 >
  up        <   0.00,  0.48,  0.00 >
  sky       z
  look_at   centro_da_cena
}

// ILUMINAÇÃO 


light_source {
  <-10,15,60> color rgb < 1, 1, 1 >
}

light_source {
  <250,0,60> color rgb < 1, 1, 1 >
}