facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.81k stars 1.32k forks source link

How to utilize submesh with class 'pytorch3d.renderer.mesh.textures.TexturesUV #1663

Open xz-123-new opened 1 year ago

xz-123-new commented 1 year ago

When i utilize submesh =mesh.submeshes(obj_face_idxs[None, None]) to generate submesh, the error occcurs as follow: Exception has occurred: NotImplementedError <class 'pytorch3d.renderer.mesh.textures.TexturesUV'> does not support submeshes

i wonder what can i do to fix itto generate a submesh from this class

bottler commented 1 year ago

A submeshes function needs to be implemented for the TexturesUV class. This hasn't been done, but would not be hard.