OpenGL GUI Project

Started by
5 comments, last by GameDev.net 24 years, 6 months ago
The most obvious one is OpenGUI.

------------------
~CGameProgrammer( );

~CGameProgrammer( );Developer Image Exchange -- New Features: Upload screenshots of your games (size is unlimited) and upload the game itself (up to 10MB). Free. No registration needed.
Advertisement
What kinda Resource editor would you need for the GUI?
What are you planning on doing that isn't already done in GLUI?

GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications. It is window-system independent, relying on
GLUT to handle all system-dependent issues, such as window and mouse management. Features of the GLUI User Interface Library include:

- Complete integration with GLUT toolkit
- Simple creation of a new user interface window with a single line of code
- Support for multiple user interface windows
- Standard user interface controls such as:
- Buttons
- Checkboxes for boolean variables
- Radio Buttons for mutually-exclusive options
- Editable text boxes for inputting text, integers, and floating-point values
- Spinners for interactively manipulating integer and floating-point values
- Static text fields
- Panels for grouping sets of controls
- Separator lines to help visually organize groups of controls
- Controls can generate callbacks when their values change
- Variables can be linked to controls and automatically updated when the value of the control changes ("live variables")
- Controls can be automatically synchronized to reflect changes in live variables
- Controls can trigger GLUT redisplay events when their values change
- Layout and sizing of controls is automatic
- Controls can be grouped into columns
- User can cycle through controls using Tab key
http://www.cs.unc.edu/~rademach/glui/

I never actually used this library but from the screen shots it looks like another boring 'standard' looking GUI. One thing that might be nice is to make it 'skinable'. I dont know if you have ever used stardocks "window blinds" but if you could bring that type of functionality to the GUI that would be great!

Good luck on your project!


"You know you're obsessed with computer graphics when you're outside and you look up at the trees and think, "Wow! That's spectacular resolution!""
This will be different to GLUI in that the whole interface will be 3D. Which means you can make 3D meshes for the windows. And it means you can add light sources and make you GUI look really cool. Everything will be totally customisable and the windows and controls will be able to be scripted to perform certain actions. Like move around the screen, spin in 3D etc.

PS GLUI looks very boring I agree, people have already asked why I don't just use GLUI, and that is the reason. I want it to look exciting, I don't see GLUI with transparent windows, or a mouse which is a light source. Do you?

And about the Resource Editor, that will basically have to write a resource file (probably a text file) which describes the window, its controls and what models they use. You will be able to 'draw' the window in it. But don't start on it yet, since we are having a big design discussion today in 1hour on #opengui on Afternet. We'll discuss the resource editor then.

[This message has been edited by DavidM (edited October 09, 1999).]

FLTK (UI library) has the ability to "skin" the UI components with OpenGL calls, plus it comes with a FLUID which is an editor which lets you design the interface visually.
http://www.fltk.org/
http://www.fortunecity.com/skyscraper/terabyte/607/TotalGL2/totalgl2final.htm

Has some examples of FLTK+OpenGL apps.

[This message has been edited by Taal A. Chaykin (edited October 10, 1999).]

A new GUI Project using OpenGL has been started! Visit the site at www.inet.net.nz/~dmitchell

Any ideas as to what the GUI should be called would be great!

First thing's first. Write the GUI itself, using a text-format GUI file that you hand-write. Once the basic GUI components are written, write a resource editor that uses your GUI.

------------------
~CGameProgrammer( );

~CGameProgrammer( );Developer Image Exchange -- New Features: Upload screenshots of your games (size is unlimited) and upload the game itself (up to 10MB). Free. No registration needed.

This topic is closed to new replies.

Advertisement