// Last edited on DATE TIME by USER
// Processed by remove-cam-lights

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
  }

#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 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 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 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;

#declare raio = 0.001;

#declare asa =
  box {<0,0,0>,<7,20,0.1> texture {tx_fosca}
}

#include "retalho.inc"

#include "eixos.inc"

union{
  object{ eixos(3.00) }

object{retalho(
A11,A12,A13,A14,
A21,A22,A23,A24,
A31,A32,A33,A34,
A41,A42,A43,A44,
raio,tx_vermelho,tx_fosca
)  translate <-10,0,0> scale -1*y}

object{retalho(
A11,A12,A13,A14,
A21,A22,A23,A24,
A31,A32,A33,A34,
A41,A42,A43,A44,
raio,tx_vermelho,tx_fosca
)  translate <-10,0,0> }

object{retalho(
B11,B12,B13,B14,
B21,B22,B23,B24,
B31,B32,B33,B34,
B41,B42,B43,B44,
raio,tx_vermelho,tx_fosca
) translate <-10,0,0> }

object{retalho(
B11,B12,B13,B14,
B21,B22,B23,B24,
B31,B32,B33,B34,
B41,B42,B43,B44,
raio,tx_vermelho,tx_fosca
) translate <-10,0,0> scale -1*y }

object{retalho(
C11,C12,C13,C14,
C21,C22,C23,C24,
C31,C32,C33,C34,
C41,C42,C43,C44,
raio,tx_vermelho,tx_fosca
) translate <-25,0,0> rotate 180*z  }

object{retalho(
C11,C12,C13,C14,
C21,C22,C23,C24,
C31,C32,C33,C34,
C41,C42,C43,C44,
raio,tx_vermelho,tx_fosca
) translate <-25,0,0> rotate 180*z  scale -1*y}

}

#include "camlight.inc"

#declare centro_cena = < -25, 24, 26>;
#declare raio_cena = 18.0;
#declare dir_camera = < -10, 10, 10 >;
#declare dist_camera = 25.0;
#declare intens_luz = 1.00;
camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)