Pick up coordinates when Mouse clicked


I would like pick up the coordinates where the user clicked with the mouse in a GLAnimCanvas… But this coordinates would not be the position in the window size but the position in my system of coordinates…

Do you know how I can do that ??

Thanks a lot

Hi !

The gluProject and gluUnproject functions convert between 2D and 3D coordinates