title: Easiest way to generate depth image/map from 3d model
body: <p>I was wondering if anybody knew of an easy, robust way to generate depth images from 3d models (i.e. surface models, vertices with faces), with specifiable camera parameters.</p>
  
  <p>I'd prefer "free" options if possible (e.g. pyOpengl or some open source Java library rather than say matlab).</p>
  
  <p>I believe it is possible with the python blender api (<a href="https://blender.stackexchange.com/questions/45674/synthesize-depth-image-from-3d-model?noredirect=1&amp;lq=1">noted here</a>), but I'm hoping there's an easier way.
  Note also that <a href="https://stackoverflow.com/questions/24307057/create-depth-map-from-3d-points">this question</a> works only for that special case.</p>