Thanks in advance.
I mean dependant upon which pixel the mouse is over.
04-30-2001, 01:17 PM
The easiest way I can think of right off hand would be to read back the frame buffer and find our for yourself http://www.opengl.org/discussion_boards/ubb/wink.gif
There's a feedback buffer but from what I read that's supposed to be a little tricky and expensive, so I'd do
glReadPixels(mouseX, mouseY, 1, 1, GL_RGB, GL_UNSIGNED_BYTE, &rgb);
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.