Interesting. While I know how it works, I've never actually used OpenGL selection. I guess I'm not surprised that it's slow. The one time I needed to do selection in an OpenGL app, it was an iOS app, and OpenGL ES doesn't have selection. I just had it draw the whole scene using object IDs as colors, then checked the color at the touch point. (For obvious reasons, I never showed the user the drawing used for selection.) I may at some point in the future investigate your method, since I expect it would still be faster just because of the bounding box tests.
2D (ortho) editing
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)