项目作者: arjunkarpur

项目描述 :
Self-collision detection for triangles meshes (C++, libigl, eigen)
高级语言: C++
项目地址: git://github.com/arjunkarpur/triangle-mesh-collision.git
创建时间: 2016-12-27T20:46:59Z
项目社区:https://github.com/arjunkarpur/triangle-mesh-collision

开源协议:MIT License

下载


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