Click here to Skip to main content
15,888,351 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 210K   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

 
GeneralRe: Very poor article on very interesting subject... Pin
Anna-Jayne Metcalfe7-Feb-02 23:14
Anna-Jayne Metcalfe7-Feb-02 23:14 
Anonymous wrote:
Perhaps because his English isn't too hot?
Who made you the article Gestapo around here?


You must understand that it takes more than just good code to make a good article. An explanation of how and why is essential.

Even if English isn't your first language, there's no reason an author shouldn't write it first in his or her own native language and then ask for assistance (via the Collaboration/Testing forum or even the Lounge) in translating it into English before posting.

Of course, these days you can also do some limited translation via the web, which may be enough.

Remember that there's no need to worry about English in an article being perfect - CPians are pretty understanding of language barriers. Smile | :)




Andy Metcalfe - Sonardyne International Ltd

Trouble with resource IDs? Try the Resource ID Organiser Add-In for Visual C++

"I would be careful in separating your wierdness, a good quirky weirdness, from the disturbed wierdness of people who take pleasure from PVC sheep with fruit repositories."
- Paul Watson
GeneralRe: Very poor article on very interesting subject... Pin
9-Feb-02 23:26
suss9-Feb-02 23:26 
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.