This is a simple demo of OpenGL 2D triangulation given a set of points. This program is written in C++ using OpenGL and GLUT libraries.
- Install Visual Studio
- Open the solution file
2dtriangulation.sln
- Build the solution or hit F5 (Run without debugging) to run
1
: Generate and draw a random set of points2
: Naive triangulation of the points3
: Extract triangle polygons from the triangulation4
: Cleanup the triangulationL
: Generate latticeESC/Q
: Quit the program