Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.22 KB

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: