0
votes
0answers
29 views

Keeping relative size with different resolution

I'm making a GUI system and want the components having a konstant relative size, even if I'm changing the resolution. Since I'm using the relative OpenGL coordinates to place them, there is no ...
4
votes
1answer
655 views

How to make a simple HUD with no library

I am writing a simple game in c++ using opengl in a windows system. I have the scene and I need some informative text to appeared to the left top/bottom of the screen I am printing these messages ...
8
votes
3answers
2k views

Font outline in OpenGL, FTGL

I'm using FTGL library to render fonts in my game, but I have completely no idea how to create an outline around text. Achieving a shadow could be easy, because I can simply do it like this: (pseudo ...
2
votes
1answer
188 views

OpenGL and Java user interface architecture/comunication [closed]

I'm working on the UIs for a turn based tactical rpg made with Java and LWJGL. I'd like to make a set of "dynamic" UIs similar to those of the game Torchlight 2. I would like to know if there are any ...
4
votes
1answer
216 views

Rendering only a part of text FTGL, OpenGL

I'm using FTGL library to render text in my C++ project. I can easily render text by using: CFontManager::Instance().renderWrappedText(font, lineLength, position, text); Unfortunately there is a ...
1
vote
1answer
329 views

What's the recommended way of doing a HUD for an android game?

Basically the question is in the title. I'm creating a RTS game and I will need buttons like attack move / attack ground, etc. I am not using any engine. When people do games in OpenGL for android ...
1
vote
0answers
251 views

Framework to implement an in game gui editor [closed]

I need to do an in game gui editor. The game engine has his own widgets elements and I don't want a gui library that substitute it. The most difficult task is the implementation of the functionality ...
2
votes
3answers
670 views

Can't use the hardware scissor any more, should I use the stencil buffer or manually clip sprites?

I wrote a simple UI system for my game. There is a clip flag on my widgets that you can use to tell a widget to clip any children that try to draw outside their parent's box (for scrollboxes for ...
10
votes
1answer
8k views

Making a HUD/GUI with OpenGL (LWJGL)

I'm at the stage in my game development where I need to make a HUD or GUI. I've never gotten to this part, so I don't know how its done. I tried rendering a simple quad at a fixed position on the ...
-4
votes
1answer
304 views

how can i make GUI that used to be in the old dos games but without the old look in openGL

I want to build simple OpenGL application that mustily are GUI based to collect from user input and to the user can push buttons . now i saw allot of GUI frameworks that offer GUI to openGL . but ...
2
votes
1answer
1k views

Looking for a GUI library for OpenGL, or tips for my own (MetroUI)

I am making an OpenGL graphics accelerated FPS, and I need to find a library to handle GUI correctly. My current GUI handler just wont do! Yes, as in the title says, the UI of the game is Metro ...
46
votes
9answers
42k views

Good GUI for OpenGL [closed]

I am starting to learn OpenGL with FreeGLUT using the Superbible and the knowledge i have from my elementary graphics to brush up on my skills. To get more from this experience i want to integrate a ...