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

#macro quadro(tt)

#include "camlight.inc"
#declare centro_cena = < 0.00, 0.00, 1.00 >;
#declare raio_cena = 6.0;
#declare dir_camera = < -14.00, 2.00, 1.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 < 0.75, 0.80, 0.85 > }

#declare raio = 2.000;

#declare ctt = cos(2*pi*tt);

#declare stt = sin(2*pi*tt);

#declare stt2 = sin(-2*pi*tt);

#declare tinta_A =
  texture {
    pigment { color rgb < 0.55 + 0.45*ctt, 0.80, 0.55 - 0.5*ctt > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare tinta_B =
  texture {
    pigment { color rgb < 1.00, 0.80, 0.10 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare bola =
  sphere {
    < 0.00, 0.00, 0.00 >, 2.00
    texture { tinta_A }
  }

#declare furo =
  cylinder {
    < -0.6, 0, 1 >,
    < +0.60, +0, 1 >,
    0.75
  }

#declare pino =
  cylinder {
    < -0.50, 0, 1 >,
    < +0.50, 0, 1 >,
    1.0
  }

#declare asa =
  box {
    < -0.50, 0, 0 >,
    < +0.50, 2, 0.2 >
  }

#declare asa2 =
  box {
    < -0.50, 0, 0 >,
    < +0.50, -2, 0.2 >
  }

#include "eixos.inc"

union {
difference {
  union {
    object { pino }
  }
  object { furo }

}

      object {asa  rotate (45*stt)*x translate <0,0.2,1.8>}
      object {asa2  rotate (45*stt2)*x translate <0,-0.2,1.8>}

      text  {ttf "arial.ttf" "LG" 1, 0.0  rotate 90*x rotate 90*z translate <-0.45,-0.55,0.7>}
      texture { tinta_A }
      rotate 360*tt*z
      translate -stt*z

}

#end

quadro(clock)