On Thu, Oct 21, 2010 at 8:44 PM, B W <[email protected]> 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. > I looked through your code, and I don't see anything obviously wrong. However, I haven't poked around in fixed-function OpenGL for years at this point, so quite possible I missed something... The best solution would be to render your point-sprites using pyglet's batches as well. That will also help your performance going forward - immediate mode is a performance nightmare to start with, and pyglet's ctypes bindings only make things worse. -- Tristam MacDonald http://swiftcoder.wordpress.com/ -- 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.
