/*#include "textures.inc"
#include "colors.inc"    // The include files contain
#include "stones.inc"    // pre-defined scene elements
#include "metals.inc"
#include "woods.inc"
#include "finish.inc"
#include "shapes.inc"
#include "skies.inc"
#include "chars.inc"
#include "stars.inc"
#include "/home/ec2000/ra002808/mc930/coisas/robot666_v20.inc"
*/
camera {
 location < -5,8, 30 >  // Posição do observador.
// location < 0,3800,40>  //de cima
 //location <15,90,30> //de lado
// location <-50,150,0>   //outro lado
 //location <5,5,-35> //atras
 //location <5,-30,-5> //de baixo
  //right     -1.0*x                 // Largura RELATIVA da imagem.
  //up        0.75*y                 // Altura RELATIVA da imagem.      
  sky       y                      // Qual direção é "para cima"?
  look_at   <0, 3, 0 >  // Para ond e a câmera está apontando.
} 
// Nota: os parâmetros "right" e "up" devem ter a mesma proporção
// que os parâmetros ${WIDTH} e ${HEIGHT} no Makefile.

// ======================================================================
// FONTES DE LUZ

light_source {
  10 * < -50.0, +30.0, +50.0 >              // Posição da lâmpada.
  color rgb 1.2 * < 1.00, 1.00, 1.00 >   // Intensidade e corda luz.
} 

light_source {
  10 * < -50.0, -10.0, +10.0 >             // Posição da lâmpada.
  color rgb 0.8 * < 1.00, 1.00, 1.00 >   // Intensidade e corda luz.
} 

// ======================================================================
// DESCRIÇÃO DA CENA 
sky_sphere { pigment {color rgb < 0.25, 0.22, 0.45 >} }
//sky_sphere { pigment {checker color rgb < 0.3, 0.3, 0.3 > color rgb <0.7,0.7,0.7>} }


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



#declare sup_transp=
  texture{
     finish {
       ambient 0.1
       diffuse 0.1
       roughness 0.001
       reflection 0.25
       specular 1
     
     }
      
      pigment {color rgb <0.9,0.9,0.9> filter 1  } 
  }  
  //interior {ior 1.5}
  
#declare sup_metalica =
   texture {
      finish{
        ambient 0.05
	diffuse 0.05
	reflection color rgb <0.8,0.4,0.5>
	specular 0.20
	roughness 0.05
    }   
    
   }  
 
#declare sup_metalica2 =
   texture {
      finish{
        ambient 0.05
	diffuse 0.05
	reflection color rgb <0.8,0.8,0.7>
	specular 0.20
	roughness 0.05
    }   
    
   }      

#declare carroceria =
    box{
      <0,0,0>,
      <6,1,2>
      pigment {color rgb <0.2,0.2,0.2>}
    
    }   
   
#declare roda =
      torus {
         0.8,0.3
	 pigment {checker color rgb < 0.3, 0.3, 0.3 > color rgb <0.7,0.7,0.7> scale 0.2}
         rotate x*90
	 translate y*0.5
      }    

#declare carro =
  union{
     object {carroceria translate y*0.3}
     object {roda translate <1,0.45,0>}
     object {roda translate <1,0.45,2>}
     object {roda translate <4,0.45,0>}
     object {roda translate <4,0.45,2>}
  
  }      
      
#declare texto =
  text{
    ttf "arial.ttf"
    "Formula Zero"
    0.10,0
    
    rotate y*180
    rotate x*-90
    translate <3,0.1,0>
  } 
  
//#if (clock>=0.0)&&(clock<0.5)
//   #declare varx =   
      
#declare corrida =
     object {carro translate x*-3 rotate y*90 translate <-16,0,0> rotate clock*y*-360} 
     object {carro translate x*-3 rotate y*90 translate <12,0,0> rotate clock*y*360} 
     object {texto scale 3*clock}



      
           
#declare chao= 
  plane {
    <0,1,0>, 0
    //pigment {checker color rgb < 0.3, 0.3, 0.3 > color rgb <0.7,0.7,0.7> scale 2}
    rotate y*30
        //texture {T_Stone_23}
    pigment {color <0.7,0.7,0.0>}
  } 

  
  object {chao}
  object {corrida}