PDA

View Full Version : Prompt in OpenGL



wasife
03-21-2005, 01:44 AM
Can any body tell me how to show a prompt in OpenGL like the one in games "Enter name of first Player"?

jide
03-21-2005, 02:04 AM
You have several ways to print text on screen while using opengl: you can draw bitmaps or textures.
You can use display lists to make the last (textures) easier.
Depending on the OS and the API you use, you can have functions that manages that, like glx allowing to give a font and that represents this font.

Hope this helps.

Silkut
03-21-2005, 04:55 AM
Try NeHe web page (http://nehe.gamedev.net) out