// Last edited on DATE TIME by USER // Processed by remove-cam-lights #declare tx_predio = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tx_haste = texture { pigment { color rgb < 0.3, 0.80, 0.90 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tx_chao = texture { pigment { color rgb < 0.30, 0.80, 0.20 >} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tx_bandeiraGrande = texture { pigment { image_map { jpeg "palmeiras.jpg" } } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } scale 8 rotate 90*y rotate 90*x } #declare predio = box{ < 5, 5, 0>, < -5, -5, 20> texture{tx_predio} } #declare chao = box{ < 500, 500, 0>, < -500, -500, -2 > texture{tx_chao} } #declare haste = cylinder{ < 0, 0, 20 >, < 0, 0, 28 > 0.2 texture{tx_haste} } #declare placa = box { < 0, 0, 0>, < 0.2, 8, 8 > texture{tx_bandeiraGrande} } #include "retalho.inc" #macro bandeira() #local p11 = < 0, 0, 3 >; #local p12 = < 2, 1, 3 >; #local p13 = < -2, 2, 3 >; #local p14 = < 0, 3, 3 >; #local p21 = < 0, 0, 2 >; #local p22 = < 0, 1, 2 >; #local p23 = < 0, 2, 2 >; #local p24 = < 0, 3, 2 >; #local p31 = < 0, 0, 1 >; #local p32 = < 0, 1, 1 >; #local p33 = < 0, 2, 1 >; #local p34 = < 0, 3, 1 >; #local p41 = < 0, 0, 0 >; #local p42 = < 2, 1, 0 >; #local p43 = < -2, 2, 0 >; #local p44 = < 0, 3, 0 >; #local tx_bandeira = texture { pigment { image_map { jpeg "palmeiras.jpg" } } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } scale 3 rotate 90*y rotate 90*x } object { retalho(p11,p12,p13,p14,p21,p22,p23,p24,p31,p32,p33,p34,p41,p42,p43,p44, 0.000001, tx_haste, tx_bandeira) } #end background{ color rgb < 1, 1, 1 > } union { object{bandeira() translate 25*z} object{placa translate <5, -4, 10>} object{chao} object{predio} object{haste} } #include "camlight.inc" #declare centro_cena = <30.00, 30.00, 30.00>; #declare raio_cena = 9.0; #declare dir_camera = < 3, 3, 1 >; #declare dist_camera = 16.0; #declare intens_luz = 1.50; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)