View Full Version : OpenGL Menus

01-20-2005, 11:01 AM
I need to know how to make a menu screen for a game. I don't need a pop up menu I need a menu on already on screen.

01-20-2005, 11:58 AM
Draw the menu, for each menu item load a name onto the name stack before you render it.
OnLButtonDown render the scene in GL_SELECT mode and get the name of the menu item hit (if any).
Call the handler function for the menu item with that name.