• Advertisement

Archived

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

Filling irregular polygons

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