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

#include "finish.inc"      
#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
#include "metals.inc"
#include "glass.inc"
#include "woods.inc"  
#include "golds.inc"          
#include "stars.inc" 
            

       
  

#if (clock<=0.5)
#declare xyz = clock;
#end
#if (clock>0.5)
#declare xyz = 1-clock;
#end

  

  

  

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

#declare raio = 2.000;

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

#declare tinta_B = 
  texture {
    pigment { color rgb < 0.20, 0.70, 0.80 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }
  
#declare tinta_C = 
  texture {
    pigment {
       bozo
       color_map{
               [0.3 color rgb<0.0,1.0,1.0>]
               [0.5 color rgb<1.0, 0.4,0.0>]
       }
       scale 0.8
}
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }

#declare tinta_V = 
  texture {
    pigment { color rgbf < 1.0, 0.0, 0.0, .8 > }
    finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 }
  }

#declare tinta_M = 
  texture {
    pigment { color rgb < 0.50, 0.30, 0.0 > }
    finish { diffuse 0.9 specular 0.2 roughness 0.005 ambient 0.1 }
  }

#declare tinta_VD = 
  texture {
    pigment { color rgb < 0.0, 0.50, 0.0 > }
    finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare tinta_AZ = 
  texture {
    pigment { color rgb < 0.0, 0.0, 0.5 > }
    finish { diffuse 0.8 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare texto = 
text{
  ttf "arial.ttf"
  "Andre"
  0.8 0.2
  texture{tinta_VD}
  translate<5,0,0>
  rotate<0,0,0>
}

#declare textoA = 
text{
  ttf "arial.ttf"
  "A"
  0.8 0.2
  texture{tinta_VD}
   translate<5,0,0>
  rotate<0,0,20>
}

#declare textoN = 
text{
  ttf "arial.ttf"
  "N"
  0.8 0.2
  texture{tinta_VD}
   translate<5,0,0>
  rotate<0,0,40>
}

#declare textoD = 
text{
  ttf "arial.ttf"
  "D"
  0.8 0.2
  texture{tinta_VD}
   translate<5,0,0>
 rotate<0,0,60>
}
#declare textoR = 
text{
  ttf "arial.ttf"
  "R"
  0.8 0.2
  texture{tinta_VD}
   translate<5,0,0>
   rotate<0,0,80>
}
#declare textoE = 
text{
  ttf "arial.ttf"
  "E"
  0.8 0.2
  texture{tinta_VD}
   translate<5,0,0>
   rotate<0,0,100>
}

#declare cilindro = 
cylinder{
  <0,0,0>
  <0,0,5>,5
}

#declare chao = 
plane{ z,0

 texture{pigment { checker rgb<1,1,1>, rgb<0.5,0.5,0.5>}
         finish{diffuse 0.5 ambient 0.5}
        }
 scale 10
 translate -7*z 
} 

union{
  object{chao}
  object{cilindro texture{tinta_C}}
  
  union{
  object{textoA}
    object{textoN}
      object{textoD}
        object{textoR}
   object{textoE}
   translate<0,0,2.5>
 
  }
}

// Original camera parameters:
// #local cam_ctr = <0,0,0>
// #local cam_vec = <10.00,10.00,10.00>
// #local cam_sky = z

#include "camlight.inc"
camlight(<0,0,0>,<10,10,10>,20.0,z,1.0)