I am able to render and save a height map from Blender using the nodes:
Render Layers (Out: Depth) > Normalize > ColorRamp (In: Fac, Linear, Out: Image) > Composite (In: Image)
However, the height map treats the lowest point on the mesh as 0 (RGB 0,0,0), and the highest point on the mesh as 1 (RGB 255,255,255). Can I generate the height map using the world coordinates of the vertices instead? My mesh origin is at (0,0,0).
Example - a vertex with a height of 50 should have a height map (RGB) value of (50,50,50).
Thanks!