Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I need to triangulated a polygon for rendering in opengl es on android ( no glu triangulation available) Is there an already known algorithm for this? The polygon can be convex or concave (with no holes)

share|improve this question

2 Answers

up vote 5 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

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

 
discard

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.