// Last edited on DATE TIME by USER // Processed by remove-cam-lights #include "textures.inc" #include "retalho.inc" background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.50, 0.80, 1.00 > } 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.02 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 2 } #declare tx_predio = texture{ pigment{ color rgb < 0, 1, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_verde = texture{ pigment{ color rgb < 0, 1, 0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_bandeira = texture{ uv_mapping pigment{image_map {jpeg "brasil.jpg"}} finish{diffuse 0.9 ambient 0.1} } #declare tx_anuncio = texture{ pigment{ image_map {jpeg "timao.jpeg"}} finish{diffuse 0.9 ambient 0.5} } #local P11 = <0,-2,6>; #local P12 = <0,0,7.5>; #local P13 = <0,2,5.5>; #local P14 = <0,5,6>; #local P21 = <0,-2,4>; #local P22 = <0,0,5>; #local P23 = <0,2,5>; #local P24 = <0,3.5,4>; #local P31 = <0,-2,2>; #local P32 = <0,0,3>; #local P33 = <0,2,3>; #local P34 = <0,5,2>; #local P41 = <0,-2,0>; #local P42 = <0,0,1>; #local P43 = <0,2,-1>; #local P44 = <0,5,0>; #declare chao = box{ < 150, 150, -7>, < -150, -150, -8 > texture{tx_xadrez} } #declare predio = box{ <0,0,0>, <7,7,20> texture {tx_predio} } #declare bandeira = object{ retalho( P11, P12, P13, P14, P21, P22, P23, P24, P31, P32, P33, P34, P41, P42, P43, P44, 0.0000000001, tx_verde, tx_bandeira ) } #declare anuncio = box{ <0,0,0>, <1,1,0.1> texture{tx_anuncio} translate <-0.5, -0.5, 0> rotate 90*z translate <0.5, 0.5, 0> scale 7 rotate 90*y } #declare mastro = cylinder{ <0,0,0>, <0,0,3> 0.1 texture{tx_verde} } union { object {chao} object{mastro translate <3.5,3.5,12>} object{predio translate -7*z} object{anuncio translate <7,0,6.5> scale <1,1,1.5>} object{bandeira translate <3.5,5.5,14>} } #include "eixos.inc" #include "camlight.inc" #declare centro_cena = < 3, 1, 4 >; #declare raio_cena = 30; #declare dir_camera = <4 ,3, 3>; #declare dist_camera = 40; #declare intens_luz = 1.50; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)