Open Cross Platform OpenGL Window

I am looking for a window ... ugh ... thing for OpenGL, I use SDL, but recently discovered that this does not quite meet my needs, at least in any code that I saw. I would like to find some graphic library that allows me to develop using the OpenGL (and SDL, if at all possible) a menu bar, perhaps options on the side and a button to close the finished program. Qt is what I'm looking for, but I would like to work with something that does not force me to open source code.

A quick list of things I want, a working close button, the ability to use OGL, a cross platform, any license that doesn't force me to open source, free and the ability to switch to full screen and change the permission to fly.

I searched myself, I'm not really a lazy person;) I just want to get some opinions here before diving into something and finding it not very suitable for my needs.

Thanks in advance for any feedback.

+6
c ++ cross-platform opengl
source share
7 answers

Try wxWidgets. There is a link to its use with OpenGL here .

+4
source share

When Qt 4.5 comes out (later this month, I think), it will be LGPL, so if you can wait a couple of weeks, you can use Qt without opening the source program.

+4
source share

GLUT (GL Utility Toolkit) comes close to what you are looking for. It is fast and simple and cross-platform, although it does not support menu bars. This page also has several GLUT alternatives.

+2
source share

For a window with a closed close button, you can add GLUT , as mentioned earlier, and if your additional GUI needs are really simple, I think GLUT can provide you some.

You can also select simple menus and buttons created using OpenGL, or using NVidia or AntTweakBar widgets .

+2
source share

You do not need โ€œsupportโ€ for OGL if you can pass the correct information to it. At least in windows, if you have a windows API from which you can connect HWND, you can configure OGL to use almost any window you need. I did this successfully with wxWidgets and direct win32. I cannot help you with other platforms, but I suspect that you can do something like this.

This also works with D3D and is a good way to separate your rendering code from your windows API.

+1
source share

SDL can create OpenGL Windows.

http://gpwiki.org/index.php/C:SDL_OGL

0
source share

There are many widget libraries displayed, such as those suggested by rotoglup. Look at CEGUI and QuickGUI, they can make you happy (although CEGUI disappoints me with its abuse of XML). And here's the shameless plugin: GLICT .

0
source share

All Articles