Pixel Perfect OpenGL Picking
Loading...
4,053
Loading...
Uploader Comments (Giawa)
see all
All Comments (9)
-
@zeusLT for example if you develop your own game and are at 1200 fps and add 1000 triangles to your scene you may drop to 200 fps instantly while it would only drop to 59fps if you were at 60fps. Frame rate is exponent, you have to know that when you work with anything that involve frame rate if you dont want any surprise.
-
@zeusLT i dont see what this has to do with the comment i left.... the difference between 120 fps and 1200 fps is still about the same as the difference between 59fps and 60fps
-
think about the difference when computer can run max 1200 fps with this method, and 120 fps with GL_SELECT..
-
@Giawa the difference between 1200 and 120 fps is about the same as the difference between 60 and 59fps.
Loading...
Why was GL_SELECT frustrating you?
peterwilson69 2 years ago
GL_SELECT worked for me, but was extremely slow. I did some research and it seems like newer cards do not do a good job of running in GL_SELECT mode. I was seeing a drop from 1200fps to around 120 fps. This was too big of a hit to take in performance.
I tried the code on an older GeForce 5600 and hardly noticed any drop in frame rate. So somewhere between the 5600 series and the 9800 series, the GL_SELECT method became somewhat 'obsolete' (for lack of a better term).
Giawa 2 years ago
Smooth technique :)! I'm having to do with picking in my game as well, but the projection is axonometric. I'll try and implement something simpler.
eFFeeMMe 2 years ago
Thanks for the comment :) Your physics engine work is very impressive. I like the style.
Giawa 2 years ago
Can you share the source code to what you did as an alternative to the GL_SELECT
meddeco1 3 years ago
Hi meddeco1. I'm not able to share the entire source code. However I'm working on writing up a tutorial on how it works along with some code samples. Maybe one day I'll make it open source. I'll let you know when I make that tutorial available. Until then, the information on the video describes the process I use quite in-depth. Good luck!
Giawa 2 years ago