Click here to Skip to main content
Click here to Skip to main content

Tesselation of Mono Connected Non Convex Polygon

By , 6 Feb 2002
 

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)

About the Author

Peppino Sbargzeguti
United States United States
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralRe: Very poor article on very interesting subject...memberAndy 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...memberAnonymous9 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...memberGeorge9 Feb '02 - 23:53 
Andy, don't waste your time talking to the anonymous cowards. Just ignore them.
 
Andy Metcalfe wrote:
Of course, these days you can also do some limited translation via the web, which may be enough.
 
I think the translation engines were chocking on that part:
"____ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ____ "
Wink | ;)

GeneralRe: Very poor article on very interesting subject...memberNish [BusterBoy]10 Feb '02 - 0:21 
LOL George Smile | :)
 
Nish
 
Nish was here, now Nish has gone;
He left his soul, to turn you on;
Those who knew Nish, knew him well;
Those who didn't, can go to hell.
 
I like to Jig | [Dance] on the Code Project
 
Sonork ID 100.9786 voidmain
www.busterboy.org
GeneralRe: Very poor article on very interesting subject...memberMazdak10 Feb '02 - 1:02 
Nish [BusterBoy] wrote:
LOL
 
What's that?
 
<html>Mazy</html>
 
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
GeneralRe: Very poor article on very interesting subject...memberNish [BusterBoy]10 Feb '02 - 1:04 
LOL is Laughing Out Loud.
When me or colin LOLs, some people say it is Lunatic On Lounge
 
Nish Wink | ;-)
 
Nish was here, now Nish has gone;
He left his soul, to turn you on;
Those who knew Nish, knew him well;
Those who didn't, can go to hell.
 
I like to Jig | [Dance] on the Code Project
 
Sonork ID 100.9786 voidmain
www.busterboy.org
GeneralRe: Very poor article on very interesting subject...memberAnonymous10 Feb '02 - 15:33 
Does putting my name on a post make me an anonymous coward? Get a life George.
 
Gary McHale
 

GeneralRe: Very poor article on very interesting subject...memberNish [BusterBoy]10 Feb '02 - 16:32 
Anonymous wrote:
Does putting my name on a post make me an anonymous coward? Get a life George.
 
Gary McHale

 
That's a point. But since it is an anonymous post [you aint logged in] anyone can use that name, you see. But I kinda trust you, dunno why Smile | :)
 
Regards
Nish
 
Nish was here, now Nish has gone;
He left his soul, to turn you on;
Those who knew Nish, knew him well;
Those who didn't, can go to hell.

 
I like to Jig | [Dance] on the Code Project
 
Sonork ID 100.9786 voidmain
www.busterboy.org
QuestionIs the artical "fill in the blank"?memberJason De Arte7 Feb '02 - 13:57 
Or is it a code "Ad-Lib"? Roll eyes | :rolleyes: (the childrens fill in the blank language game, not the old sound card company)
____ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ________ ____ ____
AnswerRe: Is the artical "fill in the blank"?memberNish [BusterBoy]7 Feb '02 - 23:13 
Articles have to have a minimum num of words. He is probably using the dashes as padding.
 
Nish
 
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 7 Feb 2002
Article Copyright 2002 by Peppino Sbargzeguti
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid