Skip to content

tcoppex/ofxTriangleMesh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxTriangleMesh

This extends the original ofxTriangleMesh addons to use more features from the Triangle library, namely triangulating simple polygon with holes and generating Voronoï Diagram, Conforming Delaunay Triangulation, and Convex Hull.

A new example demonstrates the different features available.

(original README below)


triangle mesh addon for openframeworks

this is based on ofxTriangle, but uses triangle rather than the c++ wrapper triangle++, which allows for more flexability and options in the triangulation.

for example, you can set angle or size constraints on the triangles generated, and have the insertion of steiner points, etc.

there's info here:

https://www.cs.cmu.edu/~quake/triangle.switch.html

the triangle++ wrapper has a heavily modified version of triangle, this uses the straight thing:

https://www.cs.cmu.edu/~quake/triangle.html

note: this addon is pretty rough still, so please test this before using it in production.

examples of smallest minimum angle constraints:

examples of size constraints:

Releases

No releases published

Languages

  • C++ 96.8%
  • C 3.1%
  • Makefile 0.1%