// Last edited on DATE TIME by USER // Processed by remove-cam-lights #include "textures.inc" background{ color rgb < 0.15, 0.40, 0.95 > } #declare tx_verde = texture{ pigment{ color rgb < 0.10, 0.90, 0.10 > } } #declare tx_azul = texture{ pigment{ color rgb < 0.15, 0.30, 1.00 > } } #declare tx_bege = texture{ pigment{ color rgb < 0.85, 0.90, 0.30 > } } #declare tx_vermelho = texture{ pigment{ color rgb < 0.95, 0.50, 0.30 > } } #declare chao = box{ <-50,-50,-10>, <+20,+20,0> } #macro interpola(ta, va, tb, vb, tt) #local s = (tt - ta) / (tb-ta); ((1-s)*va + s*vb) #end #include "eixos.inc" #include "retalho.inc" #local A12_1 = <1, 1, 0>; #local A13_1 = <2, 1.8, 0>; #local A11_1 = ; #local A22_1 = <1, 0.8, -1>; #local A23_1 = <1.9, 1.5, -1>; #local A21_1 = ; #local A32_1 = <1, 0.5, -2>; #local A33_1 = <1.9, 1, -2>; #local A31_1 = ; #local A42_1 = <1, 0, -3>; #local A43_1 = <1.8, 0, -3>; #local A41_1 = ; #local A12_2 = <4, 2, 0>; #local A13_2 = <5, 2, 0>; #local A14_1 = (A13_1 + A12_2) / 2; #local A11_2 = A14_1; #local A22_2 = <4, 1, -1.9>; #local A23_2 = <5, 1, -1.9>; #local A24_1 = (A23_1 + A22_2) / 2; #local A21_2 = A24_1; #local A32_2 = <4, 0.5, -2.7>; #local A33_2 = <5, 0.5, -2.7>; #local A34_1 = (A33_1 + A32_2) / 2; #local A31_2 = A34_1; #local A42_2 = <4, 0, -3>; #local A43_2 = <5, 0, -3>; #local A44_1 = (A43_1 + A42_2) / 2; #local A41_2 = A44_1; #local C12 = <7, 1.0, 0>; #local C13 = <7.8, 0.5, 0>; #local C14 = <8, 2, 0>; #local C14 = ; #local A14_2 = (A13_2 + C12) / 2; #local C11 = A14_2; #local C22 = <7, 1, -1.9>; #local C23 = <7.8, 1, -1.9>; #local C24 = ; #local A24_2 = (A23_2 + C22) / 2; #local C21 = A24_2; #local C32 = <7, 0.5, -2.7>; #local C33 = <7.8, 0.5, -2.7>; #local C34 = ; #local A34_2 = (A33_2 + C32) / 2; #local C31 = A34_2; #local C42 = <7, 0, -3>; #local C43 = <7.8, 0, -3>; #local C44 = ; #local A44_2 = (A43_2 + C42) / 2; #local C41 = A44_2; #declare fuselagem1 = union { object{retalho(A11_1,A12_1,A13_1,A14_1, A21_1, A22_1, A23_1, A24_1, A31_1, A32_1, A33_1, A34_1, A41_1, A42_1, A43_1, A44_1, 0.005, tx_bege, tx_vermelho)} } #declare fuselagem2 = union { object{retalho(A11_2,A12_2,A13_2,A14_2, A21_2, A22_2, A23_2, A24_2, A31_2, A32_2, A33_2, A34_2, A41_2, A42_2, A43_2, A44_2, 0.005, tx_bege, tx_vermelho)} } #declare fuselagem3 = union { object{retalho(C11, C12, C13, C14, C21, C22, C23, C24, C31, C32, C33, C34, C41, C42, C43, C44, 0.005, tx_bege, tx_vermelho)} } union{ object{ eixos(3.00) } object{ chao translate < 0,0,-5 > texture{ tx_verde } } object { fuselagem1 } object { fuselagem1 scale y*(-1) } object { fuselagem2 } object { fuselagem2 scale y*(-1) } object { fuselagem3 } object { fuselagem3 scale y*(-1) } scale 0.75 } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 1.00 >; #declare raio_cena = 10.0; #declare dir_camera = < 15.00, 16.00, 2.00 >; #declare dist_camera = 32.0; #declare intens_luz = 1.50; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)