// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_vermelho = texture{ pigment{ color rgb < 1.00, 0.0, 0.10 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_amarelo = texture{ pigment{ color rgb < 1.00, 1.0, 0.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_verde = texture{ pigment{ color rgb < 0, 1, 0 > } } #declare tx_preto = texture{ pigment{ color rgb < 0.0, 0.0, 0.00 > filter 0.70 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.10, 0.32, 0.60 >, color rgb < 1.00, 0.97, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare tx_vidro = texture{ pigment{ color rgb < 0.85, 0.95, 1.00 > filter 0.70 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_parede = texture{ pigment{ color rgb < 0.65, 0.65, 0.65 > filter 0.70} } #declare tx_azul = texture{ pigment{ color rgb < 0.45, 0.62, 0.90 >} } #macro pedestalCilindro(raio, altura, textura) union{ cylinder{ <0,0,0>, <0,0, altura>, raio texture{ textura } } } #end #macro pedestalBox(altura, textura) union{ box{ <-0.5,-0.5,0>, < 0.5, 0.5,altura> texture{ textura } } } #end #macro pedestal(altura, textura) union{ box{ <-0.5,-0.5,0.2>, < 0.5, 0.5,altura-0.2> texture{ textura } } box{ <-0.7,-0.7,0>, < 0.7, 0.7,0.2> texture{ textura } } box{ <-0.7,-0.7,altura-0.2>, < 0.7, 0.7,altura> texture{ textura } } } #end #macro quadro(tamanho, textura) union{ box{ <0,0,0>, < 0.1, tamanho,1> texture{ textura } } } #end #macro texto(conteudo, largura, escala, textura) union{ text{ ttf "arial.ttf" conteudo largura, 0.0 scale escala texture{ textura } rotate<90,0,90> } } #end #macro quadroComTexto(tamanho, conteudo, largura, texturaQuadro, texturaTexto, escala) union{ texto(conteudo, largura, escala, texturaTexto) quadro(tamanho, texturaQuadro) } #end #declare chao = box{ <5,-5,0>, < -5, 5,0.0> texture{tx_xadrez} } #include "eixos.inc" union{ object{ eixos(3.00) } object{chao} box{ <-5,-5,0>, < -5, 5,5> texture{tx_parede} } box{ <-5,-5,0>, < 5, -5,5> texture{tx_parede} } union{ pedestalCilindro(0.5, 1, tx_amarelo) object{ texto("Brasil", 0.8, 0.5, tx_verde) translate<0,-0.5,1> } translate<-4, -4, 0> } union{ pedestalBox(1, tx_vermelho) object{ texto("Alegria", 0.4, 0.5, tx_preto) translate<0,-0.6,1.1> } translate<0, -3, 0> } union{ pedestal(1, tx_azul) object{ texto("Museu", 0.3, 0.4, tx_preto) translate<0,-0.5,1> } translate<0, 2, 0> } union{ pedestal(1, tx_vermelho) object{ texto("Futebol", 0.3, 0.4, tx_verde) translate<0,-0.6,1> } translate<-3, 2, 0> } union{ pedestal(1, tx_vermelho) union{ object{ quadro(2.45, tx_vidro) translate<0,-1,1> } object{ texto("Minha terra tem palmeiras", 0.2, 0.2, tx_preto) translate<0,-1,1.7> } object{ texto(" onde canta o sabia.", 0.2, 0.2, tx_preto) translate<0,-1,1.5> } object{ texto("As aves que aqui gorgeiam,", 0.2, 0.2, tx_preto) translate<0,-1,1.3> } object{ texto(" nao gorgeiam como la.", 0.2, 0.2, tx_preto) translate<0,-1,1.1> } translate<0,-0.25,0> } translate<3,0,0> } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 6.0; #declare dir_camera = < 20.00, 7.00, 5.00 >; #declare dist_camera = 16.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)