[ pyopengl-Patches-995248 ] wxinteractivecontext.py : flush after drawing, commnt icon
SourceForge.net <[email protected]> Mon, 11 Feb 2013 19:15:14 -0800
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net