In C/C++, OpenGL has a nice library for tesselating complex polygons into triangle strips and fans. That library is “GLUtesselator”.
Is there any library with the equivalent functionality for WebGL?
In C/C++, OpenGL has a nice library for tesselating complex polygons into triangle strips and fans. That library is “GLUtesselator”.
Is there any library with the equivalent functionality for WebGL?
It seems that nobody can think of a library.
Is there another area of the boards, or another board, that I could try asking at?
Thanks!
On stackoverflow.com, Elisée posted an answer to this.
“Three.JS uses a triangulation function to render text to polygons. It is exposed as THREE.Shape.Utils.triangulateShape.”