View Full Version : Hit Testing

03-17-2006, 08:02 PM

I am developing a software by importing the text file from PCB Software. In that i need to add query. I had drawn the diagram using OpenGL Graphics. For query, i am in need to include Picking. i have included picking as well as hierarchical picking. But the values in the selection buffer differs in different levels of zooming. Please help me to overcome the problem.

Ehsan Kamrani
03-17-2006, 11:37 PM
If you change your view volume , and don't change the values of the function gluPickMatrix(), you may see new values in the selection buffer. Remember that the values of the function gluPickMatrix() are in viewport coordinates.