[PyOpenGL-Devel] [ pyopengl-Patches-995248 ] wxinteractivecontext.py : flush after drawing, commnt
Brought to you by:
mcfletch
|
From: SourceForge.net <no...@so...> - 2013-02-12 03:15:14
|
Patches item #995248, was opened at 2004-07-21 07:04 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305988&aid=995248&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Demo Group: OpenGLContext v1.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marcin Gomulka (mrgomel) Assigned to: Nobody/Anonymous (nobody) Summary: wxinteractivecontext.py : flush after drawing, commnt icon Initial Comment: #1 wxinteractivecontext.py causes graphics card drivers to fail after a few rotations of the scene with the mouse. the cause is probably some shapes list/buffer overflow in the graphics card. my quick solution is to glFlush right after drawing. class TestContext( wxInteractiveContext ): def Render( self, mode=None): wxInteractiveContext.Render (self, mode) glTranslated ( 2,0,-4) drawCube() from OpenGL.GL import glFlush glFlush() surprisingly, the other interactivecontexts (glut, pygame) work just fine. #2 frame.SetIcons( win.getDefaultIcons()) breaks the script. had to be commented out to run the example. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2013-02-11 19:15 Message: MLYt6r <a href="http://ikexijqgvdiy.com/">ikexijqgvdiy</a>, [url=http://qdvozpcyolcz.com/]qdvozpcyolcz[/url], [link=http://nesybazgsaah.com/]nesybazgsaah[/link], http://tifzusaldvcp.com/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305988&aid=995248&group_id=5988 |