// Exemplo de arquivo de descricao de cena para POV-ray // Last edited on 2010-03-04 15:44:01 by stolfi // ====================================================================== // CORES E TEXTURAS background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.005 } } #declare tx_plastico2 = texture{ pigment{ color rgb < 1, 0, 0 > } 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_vermelho= texture{ pigment{ color rgb < 1.00, 0, 0 > } 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_enconsto = texture{ pigment{ color rgb < 0, 1, 0 > } 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_vidro = texture{ pigment{ color rgb < 0.85, 0.95, 1.00 > filter 0.70 } finish{ diffuse 0.03 reflection 0 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.0 } // ====================================================================== // DESCRIÇÃO DA CENA // Partes da cena: /*#macro aviao(A11,A12,A13,A14,A21,A22,A23,A24,A31,A32,A33,A34,A41,A42,A43,A44 B11,B12,B13,B14,B21,B22,B23,B24,B31,B32,B33,B34,B41,B42,B43,B44 C11,C12,C13,C14,C21,C22,C23,C24,C31,C32,C33,C34,C41,C42,C43,C44)*/ /*#local A11 = <10,0,7>; #local A12 = <10,3,7>; #local A13 = <10,5,0>; #local A14 = <10,0,0>;*/ #local A21 = <15,0,7>; #local A22 = <15,3,7>; #local A23 = <15,5,0>; #local A24 = <15,0,0>; #local A31 = <20,0,7>; #local A32 = <20,3,7>; #local A33 = <20,5,0>; #local A34 = <20,0,0>; /*#local A41 = <25,0,7>; #local A42 = <25,3,7>; #local A43 = <25,5,0>; #local A44 = <25,0,0>; */ #local B11 = <4,0,16>; #local B12 = <4,2,6>; #local B13 = <4,2,4>; #local B14 = <4,0,4>; #local B21 = <6,0,16>; #local B22 = <6,3.5,6>; #local B23 = <6,3.5,3>; #local B24 = <6,0,3>; #local B31 = <8,0,17>; #local B32 = <8,3,7>; #local B33 = <8,5,0>; #local B34 = <8,0,0>; /* #local B41 = <10,0,17>; #local B42 = <10,3,7>; #local B43 = <10,5,0>; #local B44 = <10,0,0>; */ #local C11 = <4,0,6>; #local C12 = <4,2,6>; #local C13 = <4,2,4>; #local C14 = <4,0,4>; #local C21 = <6,0,6>; #local C22 = <6,3.5,6>; #local C23 = <6,3.5,3>; #local C24 = <6,0,3>; #local C31 = <8,0,7>; #local C32 = <8,3,7>; #local C33 = <8,5,0>; #local C34 = <8,0,0>; /* #local C41 = <10,0,7>; #local C42 = <10,3,7>; #local C43 = <10,5,0>; #local C44 = <10,0,0>; */ //emendas #local A41 = (A31+C31)/2; #local A42 = (A32+C32)/2; #local A43 = (A33+C33)/2; #local A44 = (A34+C34)/2; #local C41 = A41; #local C42 = A42; #local C43 = A43; #local C44 = A44; #local A11 = (A21+B21)/2; #local A12 = (A22+B22)/2; #local A13 = (A23+B23)/2; #local A14 = (A24+B24)/2; #local B41 = A11; #local B42 = A12; #local B43 = A13; #local B44 = A14; //#end #declare raio = 0.001; /* #macro deform(p) #local cons = -0.5*sin(pi*p.y/10);