Example of retrieving a depth image in a customized lua file
cgxuvector opened this issue · comments
Hi,
I wrote a lua file that can retrieve RGB images by following the example named "custom_view.lua". That works fine for me. However, this only shows how to read from a buffer that is returned by dmlab.system.game:renderCustomView(). I am wondering if there is a similar way to retrieve the depth image.
By reading other issues, I notice there exists a depth buffer. Therefore, could you please tell me how to obtain that buffer in lua?
Best,