PDA

View Full Version : OpenGL GUI library



-Ekh-
02-03-2009, 11:49 AM
Hi,

I'm looking for an OpenGL GUI library which can make menus, entries, file choose, notebooks and so on. A free of charge one would be appreciated. Also if it can work on Windows, Mac...

I tried on google but I ended with unmaintained or deprecated ones.

Thanks

Brolingstanz
02-03-2009, 03:19 PM
Why not create your own? Not as difficult as you might think. And the feeling of satisfaction you get from having your own UI system is... well, it's something special.

_NK47
02-04-2009, 03:28 AM
the more difficult part is the event handling of parent/child controls. how they propagate them and how its handled in general. once you designed your own solution for that anything else will be just rendering quads and/or text. and yes, satisfaction guaranteed!

Simon Mihevc
02-04-2009, 05:09 AM
You might want to check these libraries out:
- CEGUI (http://www.cegui.org.uk/)
- FLTK (http://www.fltk.org/)

Dark Photon
02-04-2009, 06:25 AM
You might want to check these libraries out:
- CEGUI (http://www.cegui.org.uk/)
- FLTK (http://www.fltk.org/)
Pretty sure FLTK does not render widgets with OpenGL (it is LGPL though which is convenient). Honestly though if you want a very nice GUI toolkit that "doesn't" use OpenGL for rendering and is LGPL or better (i.e. freely usably for personal/commercial), use Qt 4.5 (the LGPL is a very pleasant change; thanks Nokia!).

But for GUI toolkits that do use OpenGL for widget rendering, google "opengl gui libraries" or "opengl gui toolkits". You'll get a bunch of hits. No personal experience with any of them.

-Ekh-
02-04-2009, 11:29 AM
CEGUI seems really nice ! I'll download it just after writing that post.

I really don't want to make my own and I "really" need a GUI inside OpenGL. And results I got from google weren't good at all.

Thank you all.

baerentzen
03-22-2009, 02:29 PM
Well, if you are happy with CEGUI that is fine. My problem is always that I want something extremely light weight and free from other dependencies.

GLUI

Which you probably have come across is really simple and fits the bill - even if it is not very pretty and perhaps not actively maintained. However, I have found that in many cases, it is preferable to have a console. It is a well kept secret, but

glconsole

at

http://www.robots.ox.ac.uk/~gsibley/GLConsole/

works well for me. It allows you to eaily add a number of variables and functions you can control from the console - more easily IMHO than via a gui.

- andreas

meeloo
04-11-2009, 06:45 PM
We have just released NUI which doest OpenGL (and D3D) GUI among many other features. You may want to check it out: http://www.libnui.net

meeloo

Fugitive
05-03-2010, 09:33 AM
I fell over my chair when I saw this. I thought it was very cool, until I saw the license...

Such a pity. Does anyone know of any other simple cross-platform GUI?

meeloo
05-07-2010, 10:07 AM
Hi Fugitive,

What kind of license would you consider good/cool/acceptable?

rombust
07-30-2010, 03:39 AM
ClanLib's BSD style license is cool, you can use it in commercial applications: ( http://clanlib.org/wiki/License )

http://clanlib.org/wiki/Examples#GUI_examples

(Personally, I use my own GUI library, as it is easy to make. It's just drawing gui graphics that's annoying)