This topic is now archived and is closed to further replies.


Picking with a selection buffer in Orthographic View

Recommended Posts

Using NeHe''s tutorial on picking objects with a selection buffer (, I tried to incorporate this into my Orthographic game. However, no matter how much I tinkered with the settings, the best I could get it to do was to recognize that there was an object under my cursor but not to return the correct ID for that object. No matter where I clicked (provided there was an object there) it would return 1. I understand that I could find a way to solve picking mathematically, but I was wondering if there was any way to do it with glRenderMode(GL_SELECT). Thanks for any help!

Share this post

Link to post
Share on other sites