HackerPoet/PySpace

How to render Z-depth map?

josai opened this issue · 1 comments

josai commented

Is it possible to render out just a Z-depth map for compositing in software later?

Yes, I just pushed in some changes including a proper update of the depth map. The depth is in the range 0.0 to 1.0 where you can multiply by MAX_DIST to get the true depth.