Skip to main content
GameDev.net gamedev.net
🔒 Locked

/\/\/\/\/\ Polygon

Started by Harrism Jan 26, 2006 at 9:30 AM 4 replies 850+ views
Original Post
Harrism
Harrism
What's the limitations on a polygon? I want to create a /\/\/\/\/\/\/\ shape with a single polygon. It looks like I have to use multiple polygons or triangles to accuately create this effect, is this a bug or a limitation? I wanted to post this because it seems like a question at least someone else will want to know at least once.
Not Registered
Not Registered
In opengl polygon must be convex. It's probably the same in DX
xhyldazhk
xhyldazhk
You could use GL Utility (GLU) that has a gluTesselator precisely for non convex polygons.
Harrism
Harrism
Having a surface or boundary that curves or bulges outward, as the exterior of a sphere.

Thankyou, I think someone else will find that useful also to know. It's a shame now I'm going to have to divide it into many shapes, oh well no sleep for the wicked.
Harrism
Harrism
As in glu.h?

I'll go and have a look.
Harrism
Harrism
http://www.flipcode.com/articles/article_tesselating.shtml

Thankyou.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.