// Last edited on 2003-04-13 23:59:53 by stolfi

#include "colors.inc"

background{ color rgb < .50, .50, .50 > }

#declare ctr = < 0.00, 0.00,   0.00 >;
#declare cam = < 0.00, 0.00, -40.00 >;

camera {
  location  ctr + cam
  right     1.2*x 
  up        0.9*y
  look_at   ctr
} 

light_source {
  ctr + 10*(vrotate(cam, 20*y) + 3*y)
  color rgb 0.8*< 1.00, 1.00, 1.00 >
} 

light_source {
  ctr + 10*(vrotate(cam, -50*y) + 3*y)
  color rgb 1.2*< 1.00, 1.00, 1.00 >
} 


#declare letraA =
	text{
		ttf "arial.ttf"
		"A"
		.15,2
		texture{pigment{color 0.8*Red + 0.2*White}}
		scale<3,3,3>
	}

#declare letraC =
	text{
		ttf "arial.ttf"
		"C"
		.15,2
		texture{pigment{color Green}}
		scale<3,3,3>
	}

#declare letraM =
	text{
		ttf "arial.ttf"
		"M"
		.15,2
		texture{pigment{color 0.5*Blue + 0.5*White}}
		scale<3,3,3>
	}

#declare letraE =
	text{
		ttf "arial.ttf"
		"E"
		.15,2
		texture{pigment{color White}}
		scale<3,3,3>
	}

// cilindro central
cylinder{<8.5,0,0>,<-8.5,0,0>,3 rotate<0,0,clock*180> texture{pigment{color rgb <0.3,0.3,0.3>}}}

// letra A
object{letraA translate<(clock*22)-28.5,-1.5,-3>}

// letra C
object{letraC translate<-2.5,21.5-(clock*23),-3>}

// letra M
object{letraM translate<1.5,(clock*23)-24.5,-3>}

// letra E
object{letraE translate<27.5-(clock*22) ,-1.5,-3>}