Does anyone have a working code example for a working wxPython app with a wx.GLCanvas window that has opengl calls made for rendering by pyglet?
I basically just want to use pyglet as a drop in replacement for PyOpenGL (obviously with the requisite argument type and function name changes) to implement the wx.EVT_PAINT event of wx.GLCanvas. I found an example from last year on the group, but it fails on windows (with invalid operation) errors. I've hacked together an example myself, but it claims there's no context when using ARB extensions (though it seems to work with regular gl calls when I disable debug mode). And I've tried several permutations of pyglet and wx.Python's contexts. All in all I'm getting more and more mired into messy hacks. It is probably just easier to code in C, and wrap into a pyd. Which is what I'll do next. But that would be a shame because I'm enjoying using pyglet otherwise. A working example would be great (however trivial). Thanks in advance. Ian. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
