Sign in to follow this  
Lex224

User Interface with OpenGL?

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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this