Click here to Skip to main content
11,581,397 members (62,284 online)
Click here to Skip to main content

Tesselation of Mono Connected Non Convex Polygon

, 6 Feb 2002 CPOL 165.1K 1.3K 21
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

 
GeneralVery poor article on very interesting subject... Pin
George7-Feb-02 14:25
memberGeorge7-Feb-02 14:25 
GeneralRe: Very poor article on very interesting subject... Pin
Pepito Sbarzeguti7-Feb-02 21:46
memberPepito Sbarzeguti7-Feb-02 21:46 
Frown | :( Sorry, and my apologize, but my english is very poor.!!!! This is a basic class to use in alternative to tools like gluTesselate. The glu function is much flexible but in the (frequent) case in wich you ave a simple polygon this class let you to take a more control.
For instance:
dont insert new points in the polygon (and if you attach vertex property like color or vertex texture coordinate dont request any interpolation of this parameters)
dont use expensive time functions like square root etc. is fast like gluTesselate (try it)
work in 3D



Pepito
GeneralRe: Very poor article on very interesting subject... Pin
Anonymous7-Feb-02 21:47
memberAnonymous7-Feb-02 21:47 
GeneralRe: Very poor article on very interesting subject... Pin
Andy Metcalfe7-Feb-02 23:14
memberAndy Metcalfe7-Feb-02 23:14 
GeneralRe: Very poor article on very interesting subject... Pin
Anonymous9-Feb-02 23:26
memberAnonymous9-Feb-02 23:26 
GeneralRe: Very poor article on very interesting subject... Pin
George9-Feb-02 23:53
memberGeorge9-Feb-02 23:53 
GeneralRe: Very poor article on very interesting subject... Pin
Nish [BusterBoy]10-Feb-02 0:21
memberNish [BusterBoy]10-Feb-02 0:21 
GeneralRe: Very poor article on very interesting subject... Pin
Mazdak10-Feb-02 1:02
memberMazdak10-Feb-02 1:02 
GeneralRe: Very poor article on very interesting subject... Pin
Nish [BusterBoy]10-Feb-02 1:04
memberNish [BusterBoy]10-Feb-02 1:04 
GeneralRe: Very poor article on very interesting subject... Pin
Anonymous10-Feb-02 15:33
memberAnonymous10-Feb-02 15:33 
GeneralRe: Very poor article on very interesting subject... Pin
Nish [BusterBoy]10-Feb-02 16:32
memberNish [BusterBoy]10-Feb-02 16:32 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

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