// Exercicio 2 de arquivo de descricao de rodocoptero no POV-ray
// Last edited on 2000-10-05 10:50:30 by milena

background{ color rgb < 0.00, 0.03, 0.15 > }

light_source {
  <-4.00, -4.00, 4.00 >
  color rgb < 1.00, 1.00, 1.00 >
} 

camera {
  location  <-8.00, -8.00, 8.00 >
  right     < 2.40, 0.00, 0.00 >
  up        < 0.00, 0.00, 1.80 >
  sky       < 0.00, 0.00, 1.00 >
  look_at   < 0.00, 0.00, 3.00 >
} 

#declare raio = 2.000;

#declare tinta_A = 
  texture {
    pigment { color rgb < 0.85, 0.00, 0.15 > }
    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 tinta_C = 
  texture {
    pigment { color rgb < 0.00, 0.75, 0.25 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  } 


#declare cilindro_A =
	cylinder {
	< 0.00, 0.00, 3.00>, 
	< 0.00, 0.50, 3.00>,
	3.00
	open
 	texture { tinta_A }
       
  }

#declare carro =
  box {   < +3.00, 0.00, -1.00>,
	 < -3.00, 11.00, -3.00>
	rotate z*180
	translate z*3
	
        pigment { color rgb <1, 0, 0> }            
       
}
  
	

// Aqui está a cena, finalmente:

difference {
  union {
	
  
  object {  cilindro_A  }
  object {  carro  }
} 

}