What method replaces GL_SELECT for box selection?

Posted by Jake on Game Development See other posts from Game Development or by Jake
Published on 2012-12-12T17:53:39Z Indexed on 2012/12/12 23:22 UTC
Read the original article Hit count: 341

Filed under:
|

Last 2 weeks I started working on a box selection that selects shapes using GL_SELECT and I just got it working finally.

When looking up resources online, there is a significant number of posts that say GL_SELECT is deprecated in OpenGL 3.0, but there is no mention of what had replace that function.

I learnt OpenGL 1.2 in back in college 2 years back but checking wikipedia now, I realise we already have OpenGL 4.0 but I am unaware of what I need to do to keep myself up to date.

So, in the meantime, what would be the latest preferred method for box selection?

EDIT: I found http://www.khronos.org/files/opengl-quick-reference-card.pdf on page 5 this card still lists glRenderMode(GL_SELECT) as part of the OpenGL 3.2 reference.

© Game Development or respective owner

Related posts about opengl

Related posts about selection