• Advertisement
Sign in to follow this  

User Interface with OpenGL?

This topic is 2504 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

How does one create a user interface for an OpenGL 3D rendering? I've looked around the web at different types but they all seem to have little to no documentation and are all ancient! All I need to do essentially is have a drop down menu change a skybox and some variables and some input boxes to change some variables also. Does anybody know what I could use for this? One with some documentation or at least some examples?

Share this post


Link to post
Share on other sites
Advertisement
Well for one, it's not an OpenGL topic. All OpenGL does is take vertices to render from you and set render states. Everything else has nothing to do with OpenGL. You will have to set up your own GUI, and when you want to draw something, send OpenGL the relevant data to draw.

You could look up an existing OpenGL GUI library to save yourself some time.


Share this post


Link to post
Share on other sites
Are there any GUI libraries that are still maintained? If so, which one/ones would somebody suggest for somebody starting OpenGL?

Share this post


Link to post
Share on other sites
CEGUI, I use it with Ogre and at first I found it fairly complex but I'm sure it will save you alot of time eventually (rather than trying to do your own gui). Of course, if all you want is to display some info ontot he screen then its not overly difficult to do it just with opengl. By the sounds of it, you'll be better off with CEGUI.

Share this post


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

  • Advertisement