Alex Rivera | Logout

WebGL and Tessellation library?

Asked 2012-10-15T17:57:05.387
8

In C/C++, OpenGL has a nice library for tessellating complex polygonal shapes into triangle strips and fans. That library is "GLUtesselator".

Is there any library with the equivalent functionality for WebGL(HTML)?

Edit
Report

1 Answer

3

Three.JS uses a triangulation function to render text to polygons. It isn't exposed publicly but it looks like it should be fairly easy to extract. Actually it is exposed as THREE.Shape.Utils.triangulateShape.

answered 2012-10-16T06:31:48.593

Your Answer