PDA

View Full Version : gluTessVertex in a nested loop, the holes don't show up!



jdd
11-16-2000, 08:27 PM
My problem is using gluTessVertex in a nested loop, the holes don't show up!

I simply want to show some circular holes in a rectangular plane.

For each hole, I must wrap the gluTessVertex with a for-loop to iterate through the vertices that makes up this hole.
Now, to show more than one of these holes in the same tess polygon, I want to wrap another for-loop or while-loop
around that first layer of for-loop for each hole.

But as soon as I try to do that, my holes don't show up, i.e. any hole that is in more than one layer of loop
does not display.

What can I do???