// ====================================================================== // CORES E TEXTURAS background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_pedestal = texture{ pigment{ color rgb < 0.0, 0.99, 0.4 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_monumento1 = texture{ pigment{ color rgb < 0.99, 0.00, 0.99 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_monumento2 = texture{ pigment{ color rgb < 0.99, 0.99, 0.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_letra = texture{ pigment{ color rgb < 0.89, 0.99, 0.6 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_letra2 = texture{ pigment{ color rgb < 0.99, 0.99, 0.99 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_pedestal2 = texture{ pigment{ color rgb < 0.99, 0.99, 0.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_pedestal3 = texture{ pigment{ color rgb < 0.7, 0.54, 0.23 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_chao = texture{ pigment{ checker color rgb < 0.70, 0.72, 0.70 >, color rgb < 1, 0.0, 0.00 > } finish{ diffuse 0.9 ambient 0.1 } scale 0.8 } #declare tx_parede = texture{ pigment{ color rgb < 0.10, 0.32, 0.70 > } finish{ diffuse 0.9 ambient 0.1 } scale 0.4 } #declare tx_parede2 = texture{ pigment{ color rgb < 0.32, 0.32, 0.70 > } finish{ diffuse 0.9 ambient 0.1 } scale 0.4 } // ====================================================================== // DESCRIÇÃO DA CENA #declare chao = box{ <0,0,-1>, <15,+15,0> } #declare parede = box{ <0,0,-1>, <-0.3,15,5> } #declare parede2 = box{ <0,0,-1>, <15,-0.3,5> } #declare monumento1 = union { object{ box{ <4,3,0.2>, <6,8,2> texture{ tx_pedestal } } } object { text { ttf "verdana.ttf" "Camoes" 0.3, 0 finish { reflection .25 specular 1 } rotate <90,0,90> translate <6.2,3.5,1> texture{ tx_letra } } } object{ cone{ < 4.5, 4.5, 3.0 >, 0.7 < 4.5, 4.5, 5.0 >, 0.6 texture{ tx_plastico} } } object { box{ <4.2,4.2,2.1>, <4.5,4.5,3.0> texture{ tx_plastico} } } object { box{ <5.0,5.0,2.1>, <5.2,5.2,3.0> texture{ tx_plastico} } } object { sphere{ <4.7,4.7,5.8>, 0.7 texture{ tx_plastico} } } } #declare monumento2 = union { object{ box{ <12.0,11,1.5>, <12.5,14,5> } texture{ tx_pedestal3 } } object{ box{ <11,11,0.2>, <13,14,1.5> } texture{ tx_pedestal2 } } object { text { ttf "verdana.ttf" "A lingua fala por si" 0.3, 0 scale 0.3 finish { reflection .25 specular 1 } rotate <90,0,90> translate <12.5,11,3> texture{ tx_letra2 } } } object { text { ttf "verdana.ttf" "A lingua e nossa mae." 0.3, 0 scale 0.3 finish { reflection .25 specular 1 } rotate <90,0,90> translate <12.5,11,2> texture{ tx_letra2 } } } } #include "eixos.inc" // Aqui está a cena, finalmente: union { object{ chao translate < 0,0,-0.1 > texture{ tx_chao } } object{ parede texture{ tx_parede } } object{ parede2 texture{ tx_parede2 } } object{ monumento1 } object{ monumento2 } object{ eixos(8) } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 20.0; #declare dir_camera = < 16.00, 10.00, 5.00 >; #declare dist_camera = 50.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)