Click here to Skip to main content
15,887,272 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 209.8K   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

 
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 
GeneralRe: Very poor article on very interesting subject... Pin
Anna-Jayne Metcalfe7-Feb-02 23:14
Anna-Jayne Metcalfe7-Feb-02 23:14 
GeneralRe: Very poor article on very interesting subject... Pin
9-Feb-02 23:26
suss9-Feb-02 23:26 
What is wrong with you people? The guy has put together an interesting piece of code that people like me and possibly many others appreciate. Whilst I agree it is possible to get far more out of an article when it is properly written up, if someone submitting an article doesn't want to, or feels it would take excessive time to translate into a language that is not their own, then it is up to them. I wish people would stop being so critical of other people's efforts. If you don't like the article don't read it. If you have a criticism to make then at least be constructive. If you are that bothered Andy then why not offer to translate an article yourself. And as for George...

People contibuting code should be encouraged. It takes 5 minutes to write a criticism and boost your ego, it takes a lot more effort to write a decent peice of code.

Gary McHale
GeneralRe: Very poor article on very interesting subject... Pin
George9-Feb-02 23:53
George9-Feb-02 23:53 
GeneralRe: Very poor article on very interesting subject... Pin
Nish Nishant10-Feb-02 0:21
sitebuilderNish Nishant10-Feb-02 0:21 
GeneralRe: Very poor article on very interesting subject... Pin
Mazdak10-Feb-02 1:02
Mazdak10-Feb-02 1:02 
GeneralRe: Very poor article on very interesting subject... Pin
Nish Nishant10-Feb-02 1:04
sitebuilderNish Nishant10-Feb-02 1:04 
GeneralRe: Very poor article on very interesting subject... Pin
10-Feb-02 15:33
suss10-Feb-02 15:33 
GeneralRe: Very poor article on very interesting subject... Pin
Nish Nishant10-Feb-02 16:32
sitebuilderNish Nishant10-Feb-02 16:32 
QuestionIs the artical "fill in the blank"? Pin
Jason De Arte7-Feb-02 13:57
Jason De Arte7-Feb-02 13:57 
AnswerRe: Is the artical "fill in the blank"? Pin
Nish Nishant7-Feb-02 23:13
sitebuilderNish Nishant7-Feb-02 23:13 
QuestionWhy? Pin
7-Feb-02 11:24
suss7-Feb-02 11:24 
AnswerRe: Why? Pin
asim_u7-Feb-02 11:57
asim_u7-Feb-02 11:57 
AnswerRe: Why? Pin
Josh Knox (disabled)8-Feb-02 5:48
Josh Knox (disabled)8-Feb-02 5:48 
AnswerRe: Why? Pin
Anonymous8-Aug-02 7:55
Anonymous8-Aug-02 7:55 
AnswerRe: Why? Pin
gernot20-Aug-02 2:09
gernot20-Aug-02 2:09 

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.