// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.3 } } #declare tx_base = texture { pigment { image_map { jpeg "compre-baton.jpg" } rotate <0, 90, 0> } finish { diffuse 0.9 ambient 0.5 } } #declare tx_predio = texture { pigment { color rgb <0.0, 0.5, 0.5> } finish { diffuse 0.9 ambient 0.3 } } #declare tx_frente = texture { pigment { color rgb <0.0, 1, 0> } finish { diffuse 0.9 ambient 0.3 } } #declare tx_roda = texture { pigment { color rgb <0.0, 0.0, 1.0> } finish { diffuse 0.9 ambient 0.3 } } #declare txg = texture { pigment { color rgb <1.0, 0, 0> } finish { diffuse 0.9 ambient 0.3 } } #declare txp = texture { uv_mapping pigment { image_map { jpeg "brasil.jpg" } translate <-0.5, -0.5, 0> rotate <0, 0, -90> translate <0.5, 0.5, 0> } finish { diffuse 0.9 ambient 0.5 } } #declare raio = 2.000; #declare cilindro = cylinder { <0,0,0>, <0,2,0>, 0.3 texture { tx_base } } #declare chao = box{ <-20,-20,-1>, <+20,+20,0> } #macro predio() union { object { box { <-1, -1, -1>, <1, 1, 1> } translate <0, 0, 1> scale <1, 1, 5> texture { tx_predio} } object { cylinder { <0, 0, 0>, <0, 0, 2>, 0.1 } translate <0, 0, 10> texture { tx_roda } } } #end #macro predioaux() union { object { predio() } object { retalho(p11, p12, p13, p14, p21, p22, p23, p24, p31, p32, p33, p34, p41, p42, p43, p44, raio, txg, txp) scale <1, 16/9, 1> translate <0, 0, 11> } } #end #macro banner() union { object { box { <-1, -1, -1>, <1, 1, 1> } translate <0, 1, 1> scale <0.01, 0.5, 0.5> texture { tx_base } } translate <0, -0.5, -0.5> rotate <90, 0, 0> translate <0, 0.5, 0.5> scale <1, 2, 2> } #end #include "eixos.inc" #include "retalho.inc" union{ object{ eixos(3.00) } object{ chao translate < 0,0,0 > texture{ tx_fosca } } #local p11 = <0, 0, 1.0>; #local p12 = <0, 1/3, 1.1>; #local p13 = <-0.1, 2/3, 1.05>; #local p14 = <0.1, 1.0, 1>; #local p21 = <0, 0, 2/3>; #local p22 = <-0.1, 1/3, 2/3>; #local p23 = <-0.2, 2/3, 2/3>; #local p24 = <0.1, 1.0, 2/3>; #local p31 = <0, 0, 1/3>; #local p32 = <0.15, 1/3, 1/3>; #local p33 = <0.25, 2/3, 1/3>; #local p34 = <-0.1, 1.0, 1/3>; #local p41 = <0, 0, 0.0>; #local p42 = <0.2, 1/3, 0.1>; #local p43 = <0.3, 2/3, 0.05>; #local p44 = <-0.2, 1.0, 0>; #local raio = 0.00001; object { predioaux() } object { banner() translate <1, -1, 8> } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 7.00 >; #declare raio_cena = 9; #declare dir_camera = < 1.00, 0.30, 1.00 >; #declare dist_camera = 9.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)