// 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.9 ambient 0.4 specular 0.5 roughness 0.505 }
  }

#declare tx_fosca =
  texture{
    pigment{ color rgb < 1.00, 0.80, 0.10 > }
    finish{ diffuse 0.8 ambient 0.4 }
  }

#declare tx_farol =
  texture{
    pigment{ color rgb < 1.00, 0.90, 0.10 > }
    finish{ diffuse 0.9 ambient 0.8 }
  }

#declare tx_espelho =
  texture{
    pigment{ color rgb < 1.00, 0.85, 0.30 > }
    finish{ diffuse 0.2 reflection 0.9*< 1.00, 0.85, 0.30 > 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.25 ambient 0.02 specular 0.25 roughness 0.005 }
  }

#declare corpo =
        union{
                cylinder{ <0,3,0>,<0,0,0>,1 texture{tx_plastico}}
                sphere{ <0,3.8,0>,0.8 texture{tx_plastico}}
                sphere{ <0,0,-0.8>,0.15 rotate<45,25,0> translate<0,3.8,0> texture{
    pigment{ color rgb < 0.95, 0.15, 0.15 >}
    finish{ diffuse 0.83 ambient 0.82}}}
                sphere{ <0,0,-0.8>,0.15 rotate<45,-25,0> translate<0,3.8,0> texture{
    pigment{ color rgb < 0.95, 0.15, 0.15 >}
    finish{ diffuse 0.83 ambient 0.82}}}

                cone{<0,0.7,0>,0.25 <0,1.1,0>,0 rotate<-5,0,25> translate<0,3.8,0> texture{tx_plastico}}
                cone{<0,0.7,0>,0.25 <0,1.1,0>,0 rotate<-5,0,-25> translate<0,3.8,0> texture{tx_plastico}}

        }

#declare asa =
        union{
                difference{
                        box{<1,0,0>,<4,3,0.2> texture{tx_plastico}}
                        box{<-1,-1,-1>,<1,1,1> rotate<0,0,45> texture{tx_plastico} translate<4.6,1,0>}
                        box{<-1,-1,-1>,<1,1,1> rotate<0,0,45> texture{tx_plastico} translate<4.6,2,0>}
                }
                rotate<0,40*cos(6*2*pi*clock),0>
        }

#declare asa2 =

                object{asa scale<-1,1,1>}

#declare coisa =
        union{
                object{corpo}
                object{asa}
                object{asa2}
                translate<0,0,3*cos(2*pi*clock)>
}

union{
        object{coisa rotate<20,0,20>}

}

#include "camlight.inc"
#declare centro_cena = < 00.00,0, 0.00 >;
#declare raio_cena = 12.0;
#declare dir_camera = < 0.01, 10.01,2.00 >;
#declare dist_camera = 8.0;
#declare intens_luz = 1.00;
camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)