Click here to Skip to main content
15,861,172 members
Articles / Desktop Programming / MFC

Tesselation of Mono Connected Non Convex Polygon

Rate me:
Please Sign up or sign in to vote.
3.86/5 (17 votes)
6 Feb 2002CPOL 208.1K   1.7K   24   40
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)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
Generalcut object in slicing Pin
joy_nim24-Feb-06 6:01
joy_nim24-Feb-06 6:01 
GeneralPossible error and fix Pin
GregDude21-Jul-05 15:34
GregDude21-Jul-05 15:34 
GeneralRobust tesselation Pin
Skavenger1-Jul-05 22:04
Skavenger1-Jul-05 22:04 
GeneralRe: Robust tesselation [modified] Pin
Liu Guoping9-Aug-06 15:51
Liu Guoping9-Aug-06 15:51 
AnswerRe: Robust tesselation Pin
Skavenger310-Aug-06 1:42
Skavenger310-Aug-06 1:42 
GeneralProblem in CPolyTri::ComputeNormal Pin
Member 1923618-Jun-04 1:43
Member 1923618-Jun-04 1:43 
GeneralRe: Problem in CPolyTri::ComputeNormal Pin
13-Dec-04 3:52
suss13-Dec-04 3:52 
GeneralRe: Problem in CPolyTri::ComputeNormal Pin
Member 115806813-Dec-04 23:45
Member 115806813-Dec-04 23:45 
GeneralGood Article Pin
mchapman123422-May-04 11:50
mchapman123422-May-04 11:50 
GeneralFound an index range error in code Pin
TruePyroman23-Feb-03 14:38
TruePyroman23-Feb-03 14:38 
GeneralRe: Found an index range error in code Pin
topus10-Apr-03 2:46
topus10-Apr-03 2:46 
GeneralBetter tesselation Pin
jeckle8-Feb-02 9:00
jeckle8-Feb-02 9:00 
GeneralRe: Better tesselation Pin
10-Feb-02 22:05
suss10-Feb-02 22:05 
GeneralRe: Better tesselation Pin
jeckle11-Feb-02 10:46
jeckle11-Feb-02 10:46 
GeneralRe: Better tesselation Pin
Rick York11-Feb-02 10:53
mveRick York11-Feb-02 10:53 
GeneralBetter tesselation Pin
8-Feb-02 2:45
suss8-Feb-02 2:45 
GeneralRe: Better tesselation Pin
Paul M Watt8-Feb-02 8:21
mentorPaul M Watt8-Feb-02 8:21 
GeneralRe: Better tesselation Pin
10-Feb-02 22:03
suss10-Feb-02 22:03 
QuestionGuareschiano anche tu? Pin
7-Feb-02 21:19
suss7-Feb-02 21:19 
AnswerRe: Guareschiano anche tu? Pin
Dieter Hammer8-Feb-02 0:04
Dieter Hammer8-Feb-02 0:04 
GeneralRe: Guareschiano anche tu? Pin
8-Feb-02 1:38
suss8-Feb-02 1:38 
GeneralRe: Guareschiano anche tu? Pin
10-Feb-02 22:37
suss10-Feb-02 22:37 
GeneralVery poor article on very interesting subject... Pin
George7-Feb-02 14:25
George7-Feb-02 14:25 
GeneralRe: Very poor article on very interesting subject... Pin
7-Feb-02 21:46
suss7-Feb-02 21:46 
GeneralRe: Very poor article on very interesting subject... Pin
7-Feb-02 21:47
suss7-Feb-02 21: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.