Compute harmonic weights over a triangle mesh using the Laplacian matrix and cotangent weights. The result is display with GLUT.
At the top of main.cpp you can play with hard coded parameters to change sample models or display mode: - _3d_view - _b_type - _sample_path - etc.
Toogle wireframe view with the 'w' key
The crux of the algorithm is in "solve_laplace_equation.cpp"
(MIT-license)You can buy me a coffee o(^◇^)o if you use my code in a commercial project or just want to support.