// Last edited on 2003-12-13 22:18:20 by stolfi //************************************************************************************** //*** Título: O crescimento do Brasil *** //*** Data: Campinas, 28 de novembro de 2003 *** //*** Aluno: Luciano Ludka Cordeiro - ra992077 *** //************************************************************************************** #include "colors.inc" #include "textures.inc" //************************************************************************************** //*** Setagem dos parâmetros gerais da cena: ******************************************* //************************************************************************************** #declare fonte = seed(75135982); #declare mapa_mundi = "../txmaps/earth-land.png"; #declare espaco = "../txmaps/jwm8.jpg"; //************************************************************************************** //*** Câmera: ************************************************************************** //************************************************************************************** #declare ctr = <0.00, 0.00, 0.00>; #declare camDir = < 0.00, 0.00, 8.00>; camera { location ctr + 1.00*camDir right -0.75*x up 0.75*y sky z look_at ctr } //************************************************************************************** //*** Fontes de Luz: ******************************************************************* //************************************************************************************** light_source { < 5.00, 5.00, 10.00> // Posição da lâmpada. color rgb 1.9 * < 1.00, 1.00, 1.00 > // Intensidade e corda luz. } light_source { < -4, -4.00, 12.50> // Posição da lâmpada. color rgb 0.5 * < 1.00, 1.00, 1.00 > // Intensidade e corda luz. } //************************************************************************************** //*** Declaração das cores utilizadas: ************************************************* //************************************************************************************** // nenhuma //************************************************************************************** //*** Declaração dos objetos utilizados: *********************************************** //************************************************************************************** #declare mundo = sphere { <0.00, 0.00, 0.00>, 1.0 pigment {image_map { png mapa_mundi map_type 1}}} #declare brasil = blob{ threshold .65 sphere { <-0.25, 0.60, 0.00>, 0.8, clock pigment {Yellow}} sphere { <+0.40, 0.60, 0.00>, 0.8, clock pigment {Yellow}} sphere { <+0.50, 1.30, 0.00>, 0.8, -0.6 pigment {Yellow}} cylinder{ <-1.00, 0.00, 0.00>, <1.00, 0.00, 0.00>, 0.40+0.4*clock, 1 pigment {Yellow}} sphere { <-0.10, -0.80, 0.00>, 0.8, clock pigment {Yellow}} sphere { <+0.40, -0.80, 0.00>, 0.8, 1 pigment {Yellow}} sphere { <0.00, -1.60, 0.00>, 0.8, 1 pigment {Yellow}} sphere { <-0.80, -1.00, 0.00>, 0.8, -1 pigment {Yellow}} finish { phong 0.2 } } #declare cena = union{ object {mundo rotate <-30,25,-30> scale <2,2,2>} object {brasil scale <0.5, 0.5, 0.5> translate <0.00, 0.50, 1.90>} } //************************************************************************************** //*** DECLARAÇÃO DA CENA - OBJETOS MONTADOS ******************************************** //************************************************************************************** sky_sphere{ pigment {image_map { jpeg espaco}}} object {cena rotate <0,40-(40*clock),0>}