i know there are plenty of tutorials of mouse selection (also called mouse picking) of how to select objects using the mouse.
what i can’t find is a jogl version of how to do it , and all of the examples i can find are in C and are quite messy.
also, i’ve found at least 2 different solutions (color based and z-buffer based) , and i’m not sure what are the advantages&disadvantages of each of them.
can anyone please tell me if there is an updated jogl tutorial for this issue? something that will also work with the new version of jogl (2) ?