Re: [PyOpenGL-Users] gluPickMatrix and glPointSize
Brought to you by:
mcfletch
From: <il...@ya...> - 2003-01-14 21:18:11
|
--- pa...@cs... wrote: > 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 > One work around might be to draw multiple parallel lines instead? Do you have the code? Maybe it is an issue with your opengl implementation? Which opengl implementation do you use? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |