65.9K
CodeProject is changing. Read more.
Home

Tesselation of Mono Connected Non Convex Polygon

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.86/5 (17 votes)

Feb 7, 2002

CPOL
viewsIcon

220224

downloadIcon

1749

Tesselation of mono connected non convex polygon

Sample Image - PolyTry.jpg

Introduction

A simple alternative to OpenGL polygon tesselation callback. You can focus on file triangle.h that contain the class to evaluate convexity of polygon and tesselate the polygon. No extra points are inserted. You can work only with planar polygon also in 3D.

Every suggestion in order to speed up the class and create better tesselation ('better' triangles) is appreciated.

History

  • 6th February, 2002: Initial post