We are trying to simulate simple kinect output.
I have rendered a triangle mesh in Matlab and now I want to get at the depth buffer of the figure/axis where the shape has been rendered. How do I do that in matlab? i.e. how do I access the depth buffer of a figure?