Skip to content

Self-collision detection for triangles meshes (C++, libigl, eigen)

License

Notifications You must be signed in to change notification settings

arjunkarpur/triangle-mesh-collision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

triangle-mesh-collision

Self collision detection for triangles meshes. Implementation in C++, uses Eigen and libigl libraries.

To use:

  1. Create build directory (mkdir build)
  2. cd build/
  3. Run cmake on project (cmake ..)
  4. Make project (make)
  5. Place object file into meshes/ directory.
  6. Inside build folder, run ./collision_bin FILE_NAME.EXT

Notes

  • Currently only supports .off and .ply file types. Check the available igl::readEXT() methods to add support for different file types. Add to getTriangleMesh() method in main.cpp
  • Toggle the bool VISUALIZATION at top of main.cpp to show/hide object and collision results
  • Make sure CMake can find libigl on your machine. Inside the cmake/FindLIBIGL.cmake, include the path to your local copy of libigl

About

Self-collision detection for triangles meshes (C++, libigl, eigen)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published