// Last edited on 2010-12-16 08:56:06 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_preto = texture{ pigment{ color rgb < 0.00, 0.00, 0.00 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_rosa = texture{ pigment{ color rgb < 1, 0.4, 0.8 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_vermelho = texture{ pigment{ color rgb < 1, 0, 0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_pele = texture{ pigment{ color rgb < 1, 0.72, 0.51 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_verde = texture{ pigment{ color rgb < 0.49, 0.99 , 0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_escada = texture{ pigment{ color rgb < .5,.6,.8 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_branco = texture{ pigment{ color rgb < 1, 1, 1 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_azul = texture{ pigment{ color rgb < 0, 0, 1 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_amarelo = texture{ pigment{ color rgb <1,1,0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.10, 0.32, 0.60 >, color rgb < 0.20, 0.67, 0.20 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #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_spfc = texture{ pigment{ image_map{ jpeg "bandeira.jpg" } } finish{ diffuse 0.9 ambient 0.2 } } #declare tx_bandeira = texture{ uv_mapping pigment{ image_map{ gif "spfc.gif" } } finish{ diffuse 0.9 ambient 0.6 } } #declare janela = box{ <0.1,-1,-1>,<0,1,1> texture {tx_vidro} } #include "retalho.inc" #local A11 = <0,-6,10>; #local A12 = <0,-2,8>; #local A13 = <0,2,12>; #local A14 = <0,6,10>; #local A21 = <0,-6,6.6>; #local A22 = <0,-2,6.6>; #local A23 = <0,2,6.6>; #local A24 = <0,6,6.6>; #local A31 = <0,-6,3.3>; #local A32 = <0,-2,3.3>; #local A33 = <0,2,3.3>; #local A34 = <0,6,3.3>; #local A41 = <0,-6,2>; #local A42 = <0,-2,0>; #local A43 = <0,2,2>; #local A44 = <0,6,0>; union{ box{ <0,0,0>,<1,1,0.1> texture {tx_spfc} rotate <90,0,90> scale <1,12,8> translate <6.5,-6,31> } box{ <-100,-100,-0.0001>,<100,100,0> texture { tx_xadrez } } box{ <-6.5,-6.5,0> , <6.5,6.5,50> texture {tx_azul} } #declare i=0; #while(i<4) #declare j=0; #while(j<16) #if(j<10 | j>12) object{ janela translate <6.5,i*3-4.5,2+j*3> } #end #declare j = j+1; #end #declare i = i +1; #end object{ retalho(A11,A12,A13,A14,A21,A22,A23,A24,A31,A32,A33,A34,A41,A42,A43,A44,0.0001,tx_verde,tx_bandeira) translate <0,0,50> } } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 25.00 >; #declare raio_cena = 100.0; #declare dir_camera = <100,0,80>; #declare dist_camera = 100.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)