Several libigl methods are very useful for geometric and graphics calculations. However, they are implemented for CPU and are thus slow to use on large problems. This repository presents some select methods implemented via PyTorch (and in the future, hopefully, directly via Cuda), which makes use of the Cuda architecture and provides a very efficient GPU implementation.
The methods are not as precise and well-implemented as libigl (error of <0.1% approx), but serve the purpose, if maximum precision is not necessary.
Enjoy!
PyTorch:
signed_distance signed_distance.py
per_face_normals per_face_normals.py
winding_number winding_number.py
snap_points snap_points.py