Re: opengl

Doug Holton <[email protected]> Wed, 05 Nov 2003 23:12:44 -0600
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
> Is it possible to use opengl with anygui ?  I know that some toolkits
> (gtk2) don't directly support opengl but use gtkglarea or gtkglext
> (gtkglext.sf.net) which also has a python extension.  Please email me
> directly as I'm not on the list.

Look like you would need to write a new "GLCanvas" control for anygui.

Many of anygui's backends do have a canvas control for OpenGL drawing.
-Java has GLCanvas
-WxPython has wxGLCanvas, although i don't know if it works embedded in 
a window with other controls.
-PyQT has the QGLWidget
-PyGTK has gtkglarea & gtkglext like you mentioned

A few alternatives to anygui:
-If you don't need java support just use PyGTK or WxPython.
-Use PyUI for the regular controls (listboxes, etc.) and run the app in 
PyGame, which supports OpenGL.
-See Piddle, which is like anygui's canvas control, and has an OpenGL 
backend.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/