// Last edited on DATE TIME by USER // Processed by remove-cam-lights #include "eixos.inc" #include "camlight.inc" #include "retalho.inc" background{ color rgb < 0.75, 0.80, 0.85 > } #include "textures.inc" #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.2 specular 0.5 roughness 0.005 } } #declare tx_verde = texture{ pigment{ color rgb < 0.10, 1.00, 0.10 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_branco = texture{ pigment{ color rgb < 1.0, 1.0, 1.0 > } finish{ diffuse 0.2 ambient 0.6 } } #declare tx_preto = texture{ pigment{ color rgb < 0.0, 0.00, 0.0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_vermelho = texture{ pigment{ color rgb < 1.00, 0, 0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 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_espelho = texture{ pigment{ color rgb < 1.00, 0.85, 0.30 > } finish{ diffuse 0.2 reflection 0.7*< 1.00, 0.85, 0.30 > ambient 0.1 } } #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_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 1.0 } #declare p11 = <0,0,0>; #declare p12 = <0.5,0,0.2>; #declare p13 = <1,0,0.2>; #declare p14 = <1.5,0,0>; #declare p21 = <-0.2,0,-0.5>; #declare p22 = <0.4,0,-0.4>; #declare p23 = <0.9,0,-0.3>; #declare p24 = <1.25,0,-0.5>; #declare p31 = <0,0,-0.7>; #declare p32 = <0.5,0,-0.6>; #declare p33 = <1,0,-0.6>; #declare p34 = <1.5,0,-0.9>; #declare p41 = <0,0,-1>; #declare p42 = <0.6,0,-0.8>; #declare p43 = <0.8,0,-0.8>; #declare p44 = <1.3,0,-1.2>; #declare raio=0.0001; #declare tx_bandeira = texture{ uv_mapping pigment{ image_map{ jpeg "bandeira.jpg"} } finish{ diffuse 0.9 ambient 0.9 } } #declare bandeira = union { cylinder{<0,0,0>, <0,0,3> 0.05 texture{tx_fosca} translate<0,0,-3>} //mastro object{retalho(p11,p12,p13,p14,p21,p22,p23,p24,p31,p32,p33,p34,p41,p42,p43,p44, raio,tx_verde,tx_bandeira)} //bandeira } #declare tx_anuncio = texture{ pigment{ image_map{ jpeg "anuncio.jpg"} } finish{ diffuse 0.9 ambient 0.9 } scale <10,8,0> } #declare placa = union { box {<0,0,0>,<10,8,0.1> texture{tx_anuncio}} rotate <180,90,0> } #declare predio = union { box{<-10,-10,0>, <10,10,15> texture{tx_plastico}} object{bandeira translate <10,10,18> } object{placa rotate -90*x translate <10.2,7,6>} } #declare chao = box{<-30,-30,0>, <30,30,0.1> texture{tx_xadrez}} object{predio} object{chao} #declare centro_cena = < 0.00,-1.00, 0.00 >; #declare raio_cena = 40.0; #declare dir_camera = < 5.00, 5.00, 6.00 >; #declare dist_camera = 30.0; #declare intens_luz = 2.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)