On 22/10/10 01:44, B W wrote:
Upon inspection I realized I got my demos mixed up. This one is completely Ortho; the other uses 3D. Therefore the body of _draw_menu() can be reduced to:

        glPushMatrix()
        self.menu.draw()
        glPopMatrix()

That removes many variables, and the problem still occurs. On the upside, it rules out any error in changing the view.

Gumm
Are you definitely pushing and popping the right matrix? You'll want to work on the projection matrix in this case but are most often using the modelview matrix. If that is set right it looks like you might just have to bite the bullet and re-enable everything you need.

HTH
Adam.

--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to