Archived

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

Alkar

Filling irregular polygons

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