Click here to Skip to main content
11,640,599 members (61,573 online)
Click here to Skip to main content

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

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

License

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

Share

About the Author

Peppino Sbargzeguti
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

 
Generalcut object in slicing Pin
joy_nim24-Feb-06 6:01
memberjoy_nim24-Feb-06 6:01 
GeneralPossible error and fix Pin
GregDude21-Jul-05 15:34
memberGregDude21-Jul-05 15:34 
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 
GeneralProblem in CPolyTri::ComputeNormal Pin
Torsten B8-Jun-04 1:43
memberTorsten B8-Jun-04 1:43 
GeneralRe: Problem in CPolyTri::ComputeNormal Pin
Sebastien Maraux13-Dec-04 3:52
memberSebastien Maraux13-Dec-04 3:52 
GeneralRe: Problem in CPolyTri::ComputeNormal Pin
Sébastien Maraux13-Dec-04 23:45
memberSébastien Maraux13-Dec-04 23:45 
GeneralGood Article Pin
mchapman123422-May-04 11:50
membermchapman123422-May-04 11:50 
GeneralFound an index range error in code Pin
TruePyroman23-Feb-03 14:38
memberTruePyroman23-Feb-03 14:38 
GeneralRe: Found an index range error in code Pin
topus10-Apr-03 2:46
membertopus10-Apr-03 2:46 
GeneralBetter tesselation Pin
jeckle8-Feb-02 9:00
memberjeckle8-Feb-02 9:00 
Hi ,

Ok Delauney rules in good tesselation. But in the case of non-convex poly you have to use the constrained form of the algorithm (DCT). You can achieve good tesselation without get rid of your algorithm :
as a post - process phase you can "mimimize" the edge size of convex quads. It's like use the turn edge tools in 3ds max. In this way, long triangles are converted in more equilaterals ones.
If i got time i'll try and send it to you.

GeneralRe: Better tesselation Pin
pepito10-Feb-02 22:05
memberpepito10-Feb-02 22:05 
GeneralRe: Better tesselation Pin
jeckle11-Feb-02 10:46
memberjeckle11-Feb-02 10:46 
GeneralRe: Better tesselation Pin
Rick York11-Feb-02 10:53
memberRick York11-Feb-02 10:53 
GeneralBetter tesselation Pin
Tim Aidley8-Feb-02 2:45
memberTim Aidley8-Feb-02 2:45 
GeneralRe: Better tesselation Pin
kilowatt8-Feb-02 8:21
memberkilowatt8-Feb-02 8:21 
GeneralRe: Better tesselation Pin
pepito sbarzeguti10-Feb-02 22:03
memberpepito sbarzeguti10-Feb-02 22:03 
QuestionGuareschiano anche tu? Pin
Anonymous7-Feb-02 21:19
memberAnonymous7-Feb-02 21:19 
AnswerRe: Guareschiano anche tu? Pin
Dieter Hammer8-Feb-02 0:04
memberDieter Hammer8-Feb-02 0:04 
GeneralRe: Guareschiano anche tu? Pin
pepito8-Feb-02 1:38
memberpepito8-Feb-02 1:38 
GeneralRe: Guareschiano anche tu? Pin
Anonymous10-Feb-02 22:37
memberAnonymous10-Feb-02 22:37 
GeneralVery poor article on very interesting subject... Pin
George7-Feb-02 14:25
memberGeorge7-Feb-02 14:25 
GeneralRe: Very poor article on very interesting subject... Pin
Pepito Sbarzeguti7-Feb-02 21:46
memberPepito Sbarzeguti7-Feb-02 21:46 
GeneralRe: Very poor article on very interesting subject... Pin
Anonymous7-Feb-02 21:47
memberAnonymous7-Feb-02 21:47 
GeneralRe: Very poor article on very interesting subject... Pin
Andy Metcalfe7-Feb-02 23:14
memberAndy Metcalfe7-Feb-02 23:14 
GeneralRe: Very poor article on very interesting subject... Pin
Anonymous9-Feb-02 23:26
memberAnonymous9-Feb-02 23:26 
GeneralRe: Very poor article on very interesting subject... Pin
George9-Feb-02 23:53
memberGeorge9-Feb-02 23:53 
GeneralRe: Very poor article on very interesting subject... Pin
Nish [BusterBoy]10-Feb-02 0:21
memberNish [BusterBoy]10-Feb-02 0:21 
GeneralRe: Very poor article on very interesting subject... Pin
Mazdak10-Feb-02 1:02
memberMazdak10-Feb-02 1:02 
GeneralRe: Very poor article on very interesting subject... Pin
Nish [BusterBoy]10-Feb-02 1:04
memberNish [BusterBoy]10-Feb-02 1:04 
GeneralRe: Very poor article on very interesting subject... Pin
Anonymous10-Feb-02 15:33
memberAnonymous10-Feb-02 15:33 
GeneralRe: Very poor article on very interesting subject... Pin
Nish [BusterBoy]10-Feb-02 16:32
memberNish [BusterBoy]10-Feb-02 16:32 
QuestionIs the artical "fill in the blank"? Pin
Jason De Arte7-Feb-02 13:57
memberJason De Arte7-Feb-02 13:57 
AnswerRe: Is the artical "fill in the blank"? Pin
Nish [BusterBoy]7-Feb-02 23:13
memberNish [BusterBoy]7-Feb-02 23:13 
QuestionWhy? Pin
Anonymous7-Feb-02 11:24
memberAnonymous7-Feb-02 11:24 
AnswerRe: Why? Pin
asim_u7-Feb-02 11:57
memberasim_u7-Feb-02 11:57 
AnswerRe: Why? Pin
Josh Knox8-Feb-02 5:48
memberJosh Knox8-Feb-02 5:48 
AnswerRe: Why? Pin
Anonymous8-Aug-02 7:55
sussAnonymous8-Aug-02 7:55 
AnswerRe: Why? Pin
Gernot20-Aug-02 2:09
sussGernot20-Aug-02 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin 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