Hi guys,
I was wondering if anyone could point me in the direction of how using mouseListeners would work on a GLCanvas. For example, how i might detect if a particular object is being clicked or say, the closest vertice to a click. Basically, if there’s a way to differentiate between the 2D representation of the screen and the 3D depth of the scene when clicking. Or perhaps a way of mapping the co-ords of objects into 2D so you can determine what someone might be clicking on?
Any pointers would be cool,
Thanks