PDA

View Full Version : Hit Testing



vanitha
03-17-2006, 09:02 PM
Hi,

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-18-2006, 12:37 AM
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.
-Ehsan-