Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert the raw depth values to real values? #222

Open
student-petercai opened this issue Aug 13, 2021 · 2 comments
Open

How to convert the raw depth values to real values? #222

student-petercai opened this issue Aug 13, 2021 · 2 comments

Comments

@student-petercai
Copy link

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

@student-petercai student-petercai changed the title How to convert the raw depth values to meters? How to convert the raw depth values to real values? Aug 14, 2021
@unnati914
Copy link

Could i solve this

@tkoeppe
Copy link
Collaborator

tkoeppe commented Aug 24, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants