Creating a grayscale map from a Model

Render position.z with an orthographic camera, to raw color:

Or something like that, depending on how you have things oriented.