-
OpenGL Menus
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.
-
Advanced Member
Frequent Contributor
Re: OpenGL Menus
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules