Login  Register

Re: Mouse selection

Posted by elect on Mar 01, 2012; 7:54am
URL: https://forum.jogamp.org/Mouse-selection-tp3787468p3789731.html

Demoscene Passivist wrote
>if all of them are still valid, or there is a new method that is not listed there

Yep they are all still valid, but I would suggest going for "render each primitive in an unique color" as its the most performant way todo reliable picking. U can simply do it with a FBO and a multiple-rendertarget fragment-shader.

Bug if u have to support very very old hardware then "selection render mode" maybe the way to go ... just my 2 cents
Thanks for the replay :)

No, I dont need to support old hw

But do you have any link to some good tutorial or examples for that?