This project is a basic C++ implementation of N‐PolyVector Field algorithm as proposed by Diamanti et al., 2019. We implemented a basic version of the algorithm that computes the cross field of a triangle mesh.
This project uses vcpkg to manage its dependencies. To install the dependencies, run the following command:
$ vcpkg install eigen3 openmesh glad glfw3 imgui[glfw-binding,opengl3-binding] glmTo build the project, run the following commands:
$ mkdir build
$ cd build
$ cmake ..main.cpp contains an example of how to use the algorithm. The main function reads a triangle mesh from a file, computes the cross field, and visuliazes it using OpenGL.