DrawTexturedPoly Concave and convexe solution ?

BlitzMax Forums/BlitzMax Programming/DrawTexturedPoly Concave and convexe solution ?

Armitage 1982(Posted 2009) [#1]
Hi

Is there any OpenGL real-time solution to render textured polygon with array of vertex+UV (like DrawTexturedPoly) but working with concave and convex mixed form ?

I don't know if concave tessellating is fast enough or maybe drawing a set of tessellating concave to convex Polygons ?

I think there is a GLU routines for that (Tessellation Object) but is this available with GLMax2D ?

Thanks


Tommo(Posted 2009) [#2]
Warpy made a triangulator, this should be easier to use than glu tesselator:
http://www.blitzbasic.com/codearcs/codearcs.php?code=2259


Armitage 1982(Posted 2009) [#3]
Nice Tommo (and warpy of course :)
I will try this solution then.