facebookresearch / pytorch3d

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

How to get the face indices of points sampled from a mesh? #1613

Open ardianumam opened 1 year ago

ardianumam commented 1 year ago

Hi,

As written in the title, I'd like to get the face indices of points that are sampled from mesh via API pytorch3d.ops.sample_points_from_meshes. Unfortunately, the API doesn't return such face indices. Do you have any direction how to get such indices? Thank you!

Best, Ardian