background{ color rgb < 0, 0.5, 0 > }

light_source {
  < -20.00, -2.00, 11.00 >
  color rgb < 0.50, 1.00, 1.00 >
}

camera {
  location  <-15, 2, 11 >
//  right     < 2.40, 0.00, 0.00 >
// up        < 0.00, 0.00, 1.80 >
sky       < 0.00, -1.00, 0.00 >
  look_at   < 0, 2, 11 >
}

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

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

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

#declare cubo =
  box {
     < 0.00, 0.00, 0.00>,
	 < 1.00, 1.00, 1.00>
     texture { tinta_A }
  }
#declare cabine1 =
  cylinder {
    < 1.00, 2.00, 13.00 >,
    < 9.00, 2.00, 13.00 >,
    2.00
    texture { tinta_B }
  }

#declare roda =
  sphere {
	<2,4,6>, 1	
	scale <0.4,1,1>
	texture { tinta_C }
  }

union {
merge {
 object { cubo
		scale <8,2,16>
		translate <1, 2, 3>}
   object { cubo
		scale <8,2,6>
		translate <1,0,7>}
   object { cabine1 } }
   object { roda }

   object { roda
		translate <0, 0, 10>
	}
}