Members - Reputation: 168
Posted 25 October 2001 - 05:25 AM
Members - Reputation: 122
Members - Reputation: 348
Posted 25 October 2001 - 05:35 AM
You may have to do something to the modelview matrix, as well. I''m not sure what, since I haven''t tried this yet.
According to the OpenGL standard, you can only be sure of having 2 entries on the projection matrix stack. That means that you couldn''t recursively use glPushMatrix each time you drew a submenu, for example. You''d have to keep track of whether or not you were in a submenu, and not push/pop if it was.