Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Alkar

Filling irregular polygons

This topic is 6121 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

How can I fill a ring-shaped 2D polygon with OpenGL? Is it possible? All I am getting is a filled circle-shaped polygon instead of a ring Breaking up is hard to do

Share this post


Link to post
Share on other sites
Advertisement
http://ask.ii.uib.no/ebt-bin/nph-dweb/dynaweb/SGI_Developer/OpenGL_PG/@ebt-link;pt=3708?target=%25N%15_23157_START_RESTART_N%25#X

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
And if you don''t want to mess with GLU''s tesselation, you can do it yourself by just generating your polygon and draw it with GL_TRIANGLE_FAN.

Share this post


Link to post
Share on other sites

  • 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!