Login  Register

Mouse selection

Posted by elect on Feb 29, 2012; 2:39pm
URL: https://forum.jogamp.org/Mouse-selection-tp3787468.html

Hi,

I would need that when I click somewhere on my render, my program could know where I clicked (more or less), let's say a kind of selection

I tried to read and understand at the best this

http://www.opengl.org/resources/faq/technical/selection.htm#sele0020

Basically there are three options:

- selection render mode

- render each primitive in an unique color

- generate a pick ray


I opened this 3d to ask you guys, since that page has some years, if all of them are still valid, or there is a new method that is not listed there