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 render between two z-planes #1898

Open
danielgordon10 opened this issue Oct 15, 2024 · 0 comments
Open

How to render between two z-planes #1898

danielgordon10 opened this issue Oct 15, 2024 · 0 comments

Comments

@danielgordon10
Copy link

❓ Questions on how to use PyTorch3D

I would like to call the render function and only render triangles that fall between znear and zfar planes. However when I try to use those values when setting up the camera, they seem to have no effect on the final image. This is not what I'd expect based on my understanding of OpenGL definition of these terms, but maybe here they mean something different.

Is this something Pytorch3d supports? I cannot really understand what the znear and zfar parameters are being used for. Based on the docs it just sounds like it is rescaling output coordinates rather than actually defining render planes.

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

1 participant