// Last edited on DATE TIME by USER // 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_textura1 = texture{ uv_mapping pigment{ image_map { jpeg "textura1.jpg" } } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_textura2 = texture{ uv_mapping pigment{ image_map { jpeg "textura2.jpg" } scale 0.1 } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_textura3 = texture{ uv_mapping pigment{ image_map { jpeg "textura3.jpg" } } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_textura4 = texture{ uv_mapping pigment{ image_map { jpeg "textura4.jpg" } scale 0.3 } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_textura5 = texture{ uv_mapping pigment{ image_map { jpeg "textura5.jpg" } } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_textura6 = texture{ uv_mapping pigment{ image_map { jpeg "textura6.jpg" } } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_textura7 = texture{ uv_mapping pigment{ image_map { jpeg "textura7.jpg" } scale 0.2 } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_asa = texture{ uv_mapping pigment{ image_map { png "asa.png" } scale 0.5 } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_asa2 = texture{ uv_mapping pigment{ image_map { png "asa2.png" } scale 0.5 } finish{ diffuse 0.8 ambient 0.1 specular 0.9 roughness 0.005 } } #declare tx_asa3 = texture{ uv_mapping pigment{ image_map { jpeg "asa3.jpg" } scale 0.5 } 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, 1 > 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> } #declare fusilagem1 = object { retalho( <0,0,6>, <0,4,6>,<0,8,6>,<0,12,6>, <10,0,4>, <10,4,4>,<20,8,4>,<10,12,4>, <20,0,2>, <15,4,2>,<15,8,2>,<20,12,2>, <0,0,0>, <0,4,0>,<0,8,0>,<0,12,0>, 0.05,tx_band,tx_textura2) } #declare fusilagem2 = object { retalho( <0,0,6>, <0,2,6>,<0,4,6>,<0,6,6>, <10,0,4>, <15,2,4>,<20,4,4>,<10,6,4>, <20,0,2>, <15,2,2>,<20,4,2>,<20,6,2>, <0,0,0>, <0,2,0>,<0,4,0>,<0,6,0>, 0.05,tx_band,tx_textura7) } #declare bico = object { retalho( <0,0,6>, <0,2,6>,<0,4,6>,<0,0,6>, <-10,0,4>, <-10,-20,4>,<20,-10,4>,<10,0,4>, <-20,0,2>, <-8,-15,2>,<20,-15,2>,<20,0,2>, <0,0,0>, <0,2,0>,<0,4,0>,<0,0,0>, 0.05,tx_band,tx_textura1) } #declare asa = box{ <0,0,0>, <30,3,0.5> texture{ tx_asa3} } #declare fusilagem2 = union { object{ asa translate <5,2,2> rotate <5,0,10> } object{ fusilagem1 } object{ bico } object{ fusilagem2 translate <0,12,0>} } union{ object{ eixos(20.00) } object{ fusilagem2 scale<-1,0,0> translate <0,0,0>} object{ fusilagem2 } } #include "camlight.inc" #declare centro_cena = < 2, 5, 5 >; #declare raio_cena = 30.0; #declare dir_camera = < 5.00, 2.00, 5.00 >; #declare dist_camera = 100.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)