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

Depth maps #6

Open
ricshaw opened this issue Jun 14, 2023 · 2 comments
Open

Depth maps #6

ricshaw opened this issue Jun 14, 2023 · 2 comments

Comments

@ricshaw
Copy link

ricshaw commented Jun 14, 2023

Is it possible to generate the resulting depth maps?

@DSaurus
Copy link
Owner

DSaurus commented Jun 14, 2023

Hi,

Tensor4D renderer will return mid_z_vals and weights. You can sum them to obtain z values. Also, please remember that if your scale_mat is not an identity matrix, this z value needs to be unscaled.

@ricshaw
Copy link
Author

ricshaw commented Jun 14, 2023

Great thank you!

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

2 participants