when i use pytorch3d to render a model, i want to get the depth image, how to do?
NOTE:
If you encountered any errors or unexpected issues while using PyTorch3D and need help resolving them,
please use the "Bugs / Unexpected behaviors" issue template.
We do not answer general machine learning / computer vision questions that are not specific to
PyTorch3D, such as how a model works or what algorithm/methods can be
used to achieve X.
Hi @ldepn!
We provide really detailed tutorials, notes and API documentation on the rendering tools. This information should be more than enough to allow you to navigate around the tools in PyTorch3D. In addition to that, some fellow users have also raised similar questions, e.g. this issue https://github.com/facebookresearch/pytorch3d/issues/35 should be of help.
@gkioxari thanks !
We are landing a change now that introduces MeshRendererWithFragments that returns images, fragments into the renderer library which you can use in the future.
Most helpful comment
Hi @ldepn!
We provide really detailed tutorials, notes and API documentation on the rendering tools. This information should be more than enough to allow you to navigate around the tools in PyTorch3D. In addition to that, some fellow users have also raised similar questions, e.g. this issue https://github.com/facebookresearch/pytorch3d/issues/35 should be of help.