Click here to Skip to main content
13,147,182 members (27,802 online)
Click here to Skip to main content
Add your own
alternative version


23 bookmarked
Posted 6 Feb 2002

Tesselation of Mono Connected Non Convex Polygon

, 6 Feb 2002
Rate this:
Please Sign up or sign in to vote.
Tesselation of mono connected non convex polygon

Sample Image - PolyTry.jpg


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.


  • 6th February, 2002: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Peppino Sbargzeguti
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralRobust tesselation Pin
Skavenger1-Jul-05 22:04
memberSkavenger1-Jul-05 22:04 
GeneralRe: Robust tesselation [modified] Pin
Liu Guoping9-Aug-06 15:51
memberLiu Guoping9-Aug-06 15:51 
AnswerRe: Robust tesselation Pin
Skavenger310-Aug-06 1:42
memberSkavenger310-Aug-06 1:42 
Hey Liu,
I have read all libtess sources/docs, and got inspired during the writing of my tessellator, as weel as for another good paper, that explain the sweepline algorithm in details ( ).So, yes, i'll follow your suggestion adding the greetings to SGI.
My decision to rewite a tesselator instead of using the libtess ones is due to the fact that i had a try to be more robust and support more degeneration cases, without to introduce overheads of any kind.
Anyway, now, i'm oriented in a direction to use OpenGL drawing tecniques that don't need of the tesselation step, beacuse this step is too expensive, and it needs a too high robustness level.
Just for curiosity,
Are you using Amanith? Do u use the tessellation for drawing purposes or for something other?
( my mail is: mfabbri ]at[ amanith ]dot[ org )

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170915.1 | Last Updated 7 Feb 2002
Article Copyright 2002 by Peppino Sbargzeguti
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid