Skip to content Skip to sidebar Skip to footer

Opengl User Interface Programming

I'm developing a graphical application to present data (not a game but a real workhorse app). It needs to be cross platform, so I have chosen: python openGL (I need 3D, blending,

Solution 1:

In the latest releases of QT you can draw widgets into your OpenGL context, if you really would like to do something like that. Otherwise there is CEGui that is used in some game engines.

Implementing GUI Widgets yourself unless you want to edify yourself is a waste of your time, unless you would be satisfied with the most rudimentary of looks and functionality.

Solution 2:

You might want to look at Clutter, it looks pretty cool. I haven't used it yet but I intend to in an upcoming personal project.

Solution 3:

Try Qt instead of wx.

QT is cross platform, and you can style things alot using CSS. It's extremely well documented and has excellent python bindings. In point of fact, I use the C++ documentation and not the PyQT documentation.

Solution 4:

Both wx and QT do an excellent job of creating an application that matches the OS look and feel. It is also possible to implment all the widgets yourself directly in openg, this slashdot post lists some of the sets available

http://ask.slashdot.org/askslashdot/02/12/24/1813219.shtml?tid=156 fox is probably the most developed but looks like windows on all platforms.

Solution 5:

Blender is the only app I know of with a GUI written fully in OpenGL... the only problem is it's in C++.

I'm a Python developer as well, but I'm just getting into using OGL

I honestly don't think there are any toolkits to develop a GUI in OGL...

the Blender developers are giving me runaround documentation instead of direct help... but I'll let you know what I figure out ;)

EDIT: here's a bit of documentation on PyOpenGL's functions: http://pyopengl.sourceforge.net/documentation/manual/reference-GLUT.html

Post a Comment for "Opengl User Interface Programming"