glRasterPos and selection problem

Hi,

I have code that displays a 3D object in a view. I enabled the selectionbuffer so I can click on the object to center on the selected frame (the 3d object is actually made of scans of lasers to detect visual defect on an physical object! OUF!).

Well, the code works very well until I add some text on the top left corner of the view. The text is displayed correctly but when I click on it, the selection failed and the view seems to be over the mouse cursor!!??!!

This happen only when I use glRasterPos3d to position the text!

Does anybody have an idea of what is happening ??

Thanks a lot!
Jean Bédard
Optifor Inc.

Hi,

I’m having the same problem. Have you managed to solve this problem?

Thanks in advance.

Ignasi