// Exemplo de arquivo de descricao de cena para POV-ray
// Last edited on 2000-09-21 09:50:30 by stolfi

background{ color rgb < 1.00, 1.00, 1.00 > }

//light_source {
//  < 10.00, 50.00, 10.00 >
//  color rgb < 1.00, 1.00, 1.00 >
//}
 
light_source {
  < 100.00, 50.00, 10.00 >
  color rgb < 1.00, 1.00, 1.00 >
} 

light_source {
  < 0, 0.00, 10.00 >
  color rgb < 1.00, 1.00, 1.00 >
} 


camera {
  location  < 0.00, 0.00, 15.00 >
  right     < 3.00, 0.00, 0.00 >
  up        < 0.00, 0.00, 2.00 >
  sky       < 0.00, 0.00, 1.00 >
  look_at   < 0.00, 0.00, 0.00 >
} 

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

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

#declare vermelho =  
  texture {
    pigment { color rgb < 1.00, 0.00, 0.00 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }

#declare azul =  
  texture {
    pigment { color rgb < 0.00, 0.00, 1.00 > }
    finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 }
  }
   
#declare caixa = 
box {
<-5, 0, -3>,
<4, -6, 3>
texture{azul}
}

declare frente = 
cone {
<-5.3, -3, 0>, 3.2    // Center and radius of one end
<-9, -3, 0>, 0.5    // Center and radius of other end
texture { verde }
}

declare roda =
cylinder {
    <0, 0, 0>,     // Center of one end
    <0, 0, 1>,     // Center of other end
    1.0            // Radius
    texture {preto}
}

declare haste =
cylinder {
   <-0.5,-6,0>
   <-0.5,-9,0>
   1.0
   texture {preto}
}

declare helice = 
box {
   <5,-9,-0.5>
   <-6,-9.3,0.5>
texture {preto}
}

// Aqui está a cena, finalmente:


object { caixa } 
object { frente}
object {roda
    translate<2,0,-4>}
object {roda
    translate<2,0,3>}
object {roda
    translate<-3,0,-4>}
object {roda
    translate<-3,0,3>}
object {haste}
object {helice}