Click here to Skip to main content
13,803,579 members
Click here to Skip to main content
Add your own
alternative version

Stats

187.9K views
1.5K downloads
23 bookmarked
Posted 6 Feb 2002
Licenced CPOL

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

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 7:01
memberjoy_nim24-Feb-06 7:01 
GeneralPossible error and fix Pin
GregDude21-Jul-05 16:34
memberGregDude21-Jul-05 16:34 
GeneralRobust tesselation Pin
Skavenger1-Jul-05 23:04
memberSkavenger1-Jul-05 23:04 
GeneralRe: Robust tesselation [modified] Pin
Liu Guoping9-Aug-06 16:51
memberLiu Guoping9-Aug-06 16:51 
You had implemented it?
My god! Your code is too similiar to SGI/libtess.
Such functions as "sweepevent", "TessellateMonotoneRegion" ..., are almost the same to SGI/libtess.
Sleepy | :zzz:
I suggest you add " Thanks to SGI/libtess " in the header.

Hey, kavenger,
you should not always call "AddContourPoint",
If you had research the struct of Mesh carefully,you can add all your vertex once together. This can make you function 100% faster.





============================
Gods know that I really love you from the bottom of my heart,but I forget to tell you that...

AnswerRe: Robust tesselation Pin
Skavenger310-Aug-06 2:42
memberSkavenger310-Aug-06 2:42 
GeneralProblem in CPolyTri::ComputeNormal Pin
Member 1923618-Jun-04 2:43
memberMember 1923618-Jun-04 2:43 
GeneralRe: Problem in CPolyTri::ComputeNormal Pin
13-Dec-04 4:52
suss13-Dec-04 4:52 
GeneralRe: Problem in CPolyTri::ComputeNormal Pin
Member 115806814-Dec-04 0:45
memberMember 115806814-Dec-04 0:45 
GeneralGood Article Pin
mchapman123422-May-04 12:50
membermchapman123422-May-04 12:50 
GeneralFound an index range error in code Pin
TruePyroman23-Feb-03 15:38
memberTruePyroman23-Feb-03 15:38 
GeneralRe: Found an index range error in code Pin
topus10-Apr-03 3:46
membertopus10-Apr-03 3:46 
GeneralBetter tesselation Pin
jeckle8-Feb-02 10:00
memberjeckle8-Feb-02 10:00 
GeneralRe: Better tesselation Pin
10-Feb-02 23:05
suss10-Feb-02 23:05 
GeneralRe: Better tesselation Pin
jeckle11-Feb-02 11:46
memberjeckle11-Feb-02 11:46 
GeneralRe: Better tesselation Pin
Rick York11-Feb-02 11:53
memberRick York11-Feb-02 11:53 
GeneralBetter tesselation Pin
8-Feb-02 3:45
suss8-Feb-02 3:45 
GeneralRe: Better tesselation Pin
Paul M Watt8-Feb-02 9:21
mentorPaul M Watt8-Feb-02 9:21 
GeneralRe: Better tesselation Pin
10-Feb-02 23:03
suss10-Feb-02 23:03 
QuestionGuareschiano anche tu? Pin
7-Feb-02 22:19
suss7-Feb-02 22:19 
AnswerRe: Guareschiano anche tu? Pin
Dieter Hammer8-Feb-02 1:04
memberDieter Hammer8-Feb-02 1:04 
GeneralRe: Guareschiano anche tu? Pin
8-Feb-02 2:38
suss8-Feb-02 2:38 
GeneralRe: Guareschiano anche tu? Pin
10-Feb-02 23:37
suss10-Feb-02 23:37 
GeneralVery poor article on very interesting subject... Pin
George7-Feb-02 15:25
memberGeorge7-Feb-02 15:25 
GeneralRe: Very poor article on very interesting subject... Pin
7-Feb-02 22:46
suss7-Feb-02 22:46 
GeneralRe: Very poor article on very interesting subject... Pin
7-Feb-02 22:47
suss7-Feb-02 22:47 

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 | Cookies | Terms of Use | Mobile
Web03 | 2.8.181215.1 | Last Updated 7 Feb 2002
Article Copyright 2002 by Peppino Sbargzeguti
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid