lab icon indicating copy to clipboard operation
lab copied to clipboard

How to convert the raw depth values to real values?

Open student-petercai opened this issue 4 years ago • 2 comments
trafficstars

I find the depth values are integers below 255, how do I convert them to the same scale as the agent coordinate?

student-petercai avatar Aug 13 '21 15:08 student-petercai

Could i solve this

unnati914 avatar Aug 24 '21 05:08 unnati914

@charlesbeattie said that the depth buffer "just exposes the renderer depth buffer cast to an unsigned byte. It is linear, but to get accurate depths they would need to use raycasts." I'm not entirely sure what to make of this, I'm afraid, I'm not very familiar with that aspect of the system.

tkoeppe avatar Aug 24 '21 10:08 tkoeppe