[PyOpenGL-Users] gluPickMatrix and glPointSize
Brought to you by:
mcfletch
From: <pa...@cs...> - 2003-01-14 17:59:02
|
I have a question about the effect of glPointSize and glLineWidth on picking. I have code that is able to return a hitlist for polygons on the screen for a one pixel picking box. When I try to pick points and lines, it also works fine. When I change the point size or the line width, however, the picking no longer works for points and lines unless I pick the exact center of the points and lines. I could have sworn that picking is an operation that is applied after rasterization in the OpenGL pipline. Can anyone explain this behavior to me? Is there a work around? Thanks, Pete |