Jump to content
  • Advertisement
Sign in to follow this  
Barguast

OpenGL Polygon tessellation

This topic is 3326 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a polygon defined in 2D which is basically a list of connected points - for example, a pentagon would be point A to B to C to D to E to A. I need to draw such a polygon in Direct3D. As I understand it, I need to 'tessellate' this polygons into triangles in order to draw it. OpenGL has such a tesselator, but as far as I'm aware, Direct3D doesn't. Can anyone point me towards some resources which may help me write my own? The tessellator wouldn't necessarily need to support 'holes' or overlapping polygons, but it would need to support concave polygons. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!