// Last edited on 2010-12-16 01:42:40 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #include "eixos.inc" #include "retalho.inc" #declare tx_plastico = texture{ pigment{ color rgb < 1, 0.0, 0.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_bandeira = texture{ uv_mapping pigment{ image_map { gif "brasil.gif" } translate <-2, -4, 4> rotate 90*z scale 1 translate <2, 4, 4> } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_heineken = texture{ uv_mapping pigment{ image_map { jpeg "heineken.jpg" } translate <-2, -4, 4> rotate 90*z scale 0.3 translate <2, 4, 4> } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_band = texture{ pigment{ color rgb < 0.85, 0.85, 0 > filter 0.30 } finish{ diffuse 0.03 reflection 0.25 ambient 0.7 specular 0.25 roughness 0.005 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.2, 0.2, 0.2 >, color rgb < 1, 1, 1> } finish{ diffuse 0.9 ambient 0.1 } scale 2 } #macro predio() box{ < 0,0,0>, <10,10,12> } #end #macro heineken() box{ < 0,0,0>, <0.1,6,8> texture{ tx_heineken } } #end #declare chao = box{ <-15,-15, 0>, <+15,+15,0> } union{ object{ eixos(20.00) } object{ chao translate < 0,0,-1 > texture{ tx_xadrez } } object{ predio() texture{ tx_plastico } } object{ heineken() translate < 10.2,2,2 > } object{ retalho(<2,10.1,2>,<4,10.1,2>,<6,10.1,2>,<8,10.1,2>, <2,10.1,4>,<4,10.1,4>,<6,10.1,4>,<8,10.1,4>, <2,10.1,6>,<4,10.1,6>,<6,10.1,6>,<8,10.1,6>, <2,10.1,8>,<4,10.1,8>,<6,10.1,8>,<8,10.1,8>, 0.0001,tx_band,tx_bandeira) } } #include "camlight.inc" #declare centro_cena = < 2, 5, 0 >; #declare raio_cena = 32.0; #declare dir_camera = < 15.00, 13.00, 10.00 >; #declare dist_camera = 100.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)