Re: Find position in 3D model from position on 2D screen

Posted by gouessej on
URL: https://forum.jogamp.org/Find-position-in-3D-model-from-position-on-2D-screen-tp4025324p4025327.html

Hi

There is an example based on JOGL here:
http://forum.jogamp.org/2D-Picking-with-Jogl-tp2594712p2601612.html

The use of hardware accelerated OpenGL picking is highly discouraged:
http://www.opengl.org/wiki/Common_Mistakes#Selection_and_Picking_and_Feedback_Mode

Color picking might not work on displays that "simulates" some parts of the palette.

The most reliable solution consists in using software picking with a third party library. This is a common feature in most scenegraphs including Ardor3D.

Best regards.
Julien Gouesse | Personal blog | Website