11,644,731 members (66,592 online)

# Tesselation of Mono Connected Non Convex Polygon

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

## 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

## License

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

## About the Author

 United States
No Biography provided

## Comments and Discussions

 First Prev Next
 cut object in slicing joy_nim24-Feb-06 6:01 joy_nim 24-Feb-06 6:01
 Possible error and fix GregDude21-Jul-05 15:34 GregDude 21-Jul-05 15:34
 Robust tesselation Skavenger1-Jul-05 22:04 Skavenger 1-Jul-05 22:04
 Re: Robust tesselation [modified] Liu Guoping9-Aug-06 15:51 Liu Guoping 9-Aug-06 15:51
 Re: Robust tesselation Skavenger310-Aug-06 1:42 Skavenger3 10-Aug-06 1:42
 Problem in CPolyTri::ComputeNormal Torsten B8-Jun-04 1:43 Torsten B 8-Jun-04 1:43
 Change the line: `for( register int i=0 , j=1 ; j < nPoints ; i++ , j++ ){` to: `for( register int i=0 , j=1 ; i < nPoints ; i++ , j++, j=j%nPoints ){` and normal of the polygon will be calculated correctly. Torsten
 Re: Problem in CPolyTri::ComputeNormal Sebastien Maraux13-Dec-04 3:52 Sebastien Maraux 13-Dec-04 3:52
 Re: Problem in CPolyTri::ComputeNormal Sébastien Maraux13-Dec-04 23:45 Sébastien Maraux 13-Dec-04 23:45
 Good Article mchapman123422-May-04 11:50 mchapman1234 22-May-04 11:50
 Found an index range error in code TruePyroman23-Feb-03 14:38 TruePyroman 23-Feb-03 14:38
 Re: Found an index range error in code topus10-Apr-03 2:46 topus 10-Apr-03 2:46
 Better tesselation jeckle8-Feb-02 9:00 jeckle 8-Feb-02 9:00
 Re: Better tesselation pepito10-Feb-02 22:05 pepito 10-Feb-02 22:05
 Re: Better tesselation jeckle11-Feb-02 10:46 jeckle 11-Feb-02 10:46
 Re: Better tesselation Rick York11-Feb-02 10:53 Rick York 11-Feb-02 10:53
 Better tesselation Tim Aidley8-Feb-02 2:45 Tim Aidley 8-Feb-02 2:45
 Re: Better tesselation kilowatt8-Feb-02 8:21 kilowatt 8-Feb-02 8:21
 Re: Better tesselation pepito sbarzeguti10-Feb-02 22:03 pepito sbarzeguti 10-Feb-02 22:03
 Guareschiano anche tu? Anonymous7-Feb-02 21:19 Anonymous 7-Feb-02 21:19
 Re: Guareschiano anche tu? Dieter Hammer8-Feb-02 0:04 Dieter Hammer 8-Feb-02 0:04
 Re: Guareschiano anche tu? pepito8-Feb-02 1:38 pepito 8-Feb-02 1:38
 Re: Guareschiano anche tu? Anonymous10-Feb-02 22:37 Anonymous 10-Feb-02 22:37
 Very poor article on very interesting subject... George7-Feb-02 14:25 George 7-Feb-02 14:25
 Re: Very poor article on very interesting subject... Pepito Sbarzeguti7-Feb-02 21:46 Pepito Sbarzeguti 7-Feb-02 21:46
 Re: Very poor article on very interesting subject... Anonymous7-Feb-02 21:47 Anonymous 7-Feb-02 21:47
 Re: Very poor article on very interesting subject... Andy Metcalfe7-Feb-02 23:14 Andy Metcalfe 7-Feb-02 23:14
 Re: Very poor article on very interesting subject... Anonymous9-Feb-02 23:26 Anonymous 9-Feb-02 23:26
 Re: Very poor article on very interesting subject... George9-Feb-02 23:53 George 9-Feb-02 23:53
 Re: Very poor article on very interesting subject... Nish [BusterBoy]10-Feb-02 0:21 Nish [BusterBoy] 10-Feb-02 0:21
 Re: Very poor article on very interesting subject... Mazdak10-Feb-02 1:02 Mazdak 10-Feb-02 1:02
 Re: Very poor article on very interesting subject... Nish [BusterBoy]10-Feb-02 1:04 Nish [BusterBoy] 10-Feb-02 1:04
 Re: Very poor article on very interesting subject... Anonymous10-Feb-02 15:33 Anonymous 10-Feb-02 15:33
 Re: Very poor article on very interesting subject... Nish [BusterBoy]10-Feb-02 16:32 Nish [BusterBoy] 10-Feb-02 16:32
 Is the artical "fill in the blank"? Jason De Arte7-Feb-02 13:57 Jason De Arte 7-Feb-02 13:57
 Re: Is the artical "fill in the blank"? Nish [BusterBoy]7-Feb-02 23:13 Nish [BusterBoy] 7-Feb-02 23:13
 Why? Anonymous7-Feb-02 11:24 Anonymous 7-Feb-02 11:24
 Re: Why? asim_u7-Feb-02 11:57 asim_u 7-Feb-02 11:57
 Re: Why? Josh Knox8-Feb-02 5:48 Josh Knox 8-Feb-02 5:48
 Re: Why? Anonymous8-Aug-02 7:55 Anonymous 8-Aug-02 7:55
 Re: Why? Gernot20-Aug-02 2:09 Gernot 20-Aug-02 2:09
 Last Visit: 31-Dec-99 18:00     Last Update: 3-Aug-15 6:36 Refresh 1

General    News    Suggestion    Question    Bug    Answer    Joke    Rant    Admin

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

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