Advertisement

Filling irregular polygons

Started by November 14, 2001 05:53 AM
1 comment, last by Alkar 23 years, 3 months ago
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
I'm not ugly, just bad rendered
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
Advertisement
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.

This topic is closed to new replies.

Advertisement