View Full Version : OpenGL regions
11-19-2003, 05:07 PM
I'm looking to create a few buttons in opengl; nothing like a winform button. I'm wondering if there is a way to make a region on my screen and when the mouse clicks on it the event is grabbed.
11-19-2003, 06:57 PM
in order to do what you're talking about, you need to use openGL's GL_SELECT render mode -- there are a few tutorials regarding this subject on the web. here's a link to one on nehe (nehe.gamedev.net): http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=32
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.