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 do I render point clouds's normal map with only vertices data and no faces? #1869

Closed Lvjihong closed 1 month ago

Lvjihong commented 1 month ago

I have known the method to achieve the goal using mesh. I want to use Pytorch3D to get point cloud's rendering normal map. The file of point cloud just has information of vertices but no faces.

bottler commented 1 month ago

There is a method for this in the file https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/ops/points_normals.py .