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

#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_vermelho=
  texture{
    pigment{ color rgb < 1.00, 0, 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 }
  }

#macro quadro(tt)

background{ color rgb < 0.75, 0.80, 0.85 > }

#declare raio = 2.000;

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

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

#declare logo =
 union{
  box { <0,0,0>,<4,2,1> texture{tx_vidro}}
  text{ ttf "arial.ttf" "REGIS" 0.5, 0 texture{tx_vermelho}}
  box { <0,0.3,0.3> , <2,1.7,0.5> rotate -stt*y translate<3.5,0,0> texture{tx_branco}}
  box { <0,0.3,0.3> , <-2,1.7,0.5> rotate stt*y translate<0.5,0,0> texture{tx_branco}}
}

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

  union {

  object { logo }

  translate 3*ctt*x
  translate 3*att*z

}

#end

quadro(clock)

// Original camera parameters:
// #local cam_ctr = <2.00,-5.00,0.00>
// #local cam_loc = <-1.00,10.00,2.00>
// #local cam_vec = (<-1.00,10.00,2.00>-<2.00,-5.00,0.00>)
// #local cam_sky = z

#include "camlight.inc"
camlight(<2.00,-5.00,0.00>,8.485,<10,10,10>,15.427,z,1.2)