Jump to content
  • Advertisement
Sign in to follow this  
Hodgeka

OpenGL GUI solutions

This topic is 2602 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,
I havea basic particle system written with OpenGL and glut using c++. I want to implement a basic GUI over it for real-time editing of variables that effect the particle system. How would you suggest doing this? (what libraries, etc)

Share this post


Link to post
Share on other sites
Advertisement
You could have a look at Berkelium.

It's basically the Chromium browser as a library that renders to a texture. You could design all of your GUI using HTML. If you have experience with web programming, this may be advantageous.

Share this post


Link to post
Share on other sites
You can take a look at this opensource project -> http://boxesproject.sourceforge.net/
When I got stuck writing my own library I looked at this one.

Share this post


Link to post
Share on other sites
Thanks for the responses! I'll check out the boxes project. I don't know much about web design, so I'm not sure about berkelium. How viable is writing my own GUI? Are there common approaches to GUI with OpenGL?

Share this post


Link to post
Share on other sites
Wow, thanks Haegarr that is pretty much exactly what I was looking for! I'm still curious about common GUI solutions though. What would I want to do for an in-game UI?

Share this post


Link to post
Share on other sites
Many people have suggested cegui and qt to me. Do any of you have experience with these? What would you suggest?

Share this post


Link to post
Share on other sites

Many people have suggested cegui and qt to me. Do any of you have experience with these? What would you suggest?


Both of those UI's are fine, but both are extremely bloated and quite involved in order to actually get running. AntTweakbar is extremely simple (literally 5 lines of code can get you started) and powerful as a value (number) editor. The down side to antweakbar is that its rendering is slow and it uses alot of CPU time. GWEN is a great UI because it is simple and contains alot of functionality, check it out at http://code.google.com/p/gwen/

Share this post


Link to post
Share on other sites

Both of those UI's are fine, but both are extremely bloated and quite involved in order to actually get running.


I wouldn't describe Qt as bloated or particularly involved to get running, because well, it isn't. It could more accurately be described as having a bit more functionality than needed in this case....

Share this post


Link to post
Share on other sites

I wouldn't describe Qt as bloated or particularly involved to get running, because well, it isn't. It could more accurately be described as having a bit more functionality than needed in this case....


Qt is an extensive application framework. It's comparable to something like .NET. If you are already using it, that's one thing, but to pick up a dependance that big just for one of it's features...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!