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

#include "eixos.inc"
#include "camlight.inc"

#declare centro_cena = < 0.00, 0.00, 0.00 >;
#declare raio_cena = 10.0;
#declare dir_camera = < 14.00, 7.00, 4.00 >;
#declare dist_camera = 16.0;
#declare intens_luz = 1.00;
camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)

background{ color rgb < 1, 1, 1 > }

#macro logo(clk)
  union{
    difference{
      intersection{
        sphere{
          <0, 0, -0.5>, 2
          pigment{ color rgb <1, 0, 0> }
        }
        sphere{
          <0, 0, 0.5>, 2
          pigment{ color rgb <0.5, 1, 0.5> }
        }
      }
      text{
        ttf "arial.ttf" "LOGO" 2, 0.0
        pigment { color rgb <1, 1, 1> }
        rotate 90*z
        rotate 90*y
        translate <0 ,-1, 0>
      }
    }
    box{
      <-0.25, 1.75, 0>, <0.25, 4.75, 0.1>
      pigment { color rgb <0, 0, 1> }
      rotate 90+45*sin(2*pi*clk)*y
    }
    box{
      <-0.25, -1.75, 0>, <0.25, -4.75, 0.1>
      pigment { color rgb <0, 0, 1> }
      rotate 90-45*sin(2*pi*clk)*y
    }
    translate -3.5*sin(2*pi*clk)*y
  }
#end

union{
  object{ eixos(5.00) }
  object{ logo(clock) scale 0.7}
}