PyOpenGL double-buffered hardware surface

Mike C. Fletcher mcfletch at vrplumber.com
Sun Oct 5 14:16:56 EDT 2008


Clay Hobbs wrote:
> How do I create a double-buffered hardware surface with PyOpenGL?  I
> knew how to once, but forgot.
>
>   
Depends on your GUI library, most of them have a flag-set that you pass 
to the initializer of the OpenGL-holding widget.  If you're using 
Pygame, see Pygame's display module.  If wxPython, see their GLcanvas 
object.  If GLUT, see glutInitDisplayMode, etceteras.

Good luck,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com




More information about the Python-list mailing list