Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to triangulate a polygon for rendering in opengl es on android ( no glu triangulation available)

Is there an already known algorithm for polygon triangulation? The polygon can be convex or concave (with no holes)

share|improve this question
up vote 8 down vote accepted

There are several algorithms out there. One of the most commonly used algorithm is the ear clipping algorithm. Here's a page with some more detail about this triangulation algorithm.

share|improve this answer
Awsome thanks ill check it out – Jason Mar 12 '11 at 14:33
Here is the demo of ear clipping – Ivan Kuckir Jun 16 '13 at 20:47

There are some algorithms and implementation of polygon triangulation on these books:

  • Computational Geometry: Algorithms and Applications. Chapter 3: Polygon Triangulation.
  • Computational Geometry in C. Chapter 1: Polygon Triangulation.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.