[PyOpenGL-Users] Re: [wxPython-users] Anyone using wxPython's GLCanvas on Linux?
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2003-06-03 05:10:19
|
Isn't it always the way that you discover more information as soon as you send the last message? Turns out the display-list problem (at least) only shows up in the __init__ method of the wxGLCanvas, display-lists *can* be created from within Paint callbacks. Seems as though there may be a delay in setting up the wxGLCanvas' OpenGL structures so that within the __init__ method there just isn't a useful context to be had. I'll work more on this, but at the moment I'm planning to seperate out the user-level "OnInit" method so that it's occuring after whatever point it is the OpenGL structures are established. I'm hoping there's an event or the like to signal that point. I'll trim all further updates to PyOpenGL, BTW. Enjoy all, Mike Mike C. Fletcher wrote: ... > The symptoms would all suggest that (Py)OpenGL isn't recognising the > current context (display-lists are context-specific, as are extensions > and texture-objects), ... _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ |