Rendering a zdepth pass for still images isn’t a big deal but what about video?
The only way I can come up with is to use a BPR filter. Just add a solid white filter on top of a flat black object and adjust the depth settings to suit your needs. But this method causes horrible aliasing problems.
Is there a better way?