pbfy0 / visvis

Automatically exported from code.google.com/p/visvis
Other
0 stars 0 forks source link

Use gluPickMatrix to enable picking? #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just to place this info somewhere ...

Nicolas Rougier pointed out to me the function gluPickMatrix, which I though 
I'd never known.

Reading back in the red book, it does sound familiar. However, the red book 
also proposes an approach to do picking via rendering to the backbuffer, which 
is what visvis is using now. Although it might be a wee bit slower, it is 
easier than the pickmatrix approach and allows more control over what objects 
you want to be able to pick. I'll probably stick to using that approach for the 
time being; I expect the changes proposed in issue 41 to improve performance a 
lot for this case (see also issue 47).

Original issue reported on code.google.com by almar.klein@gmail.com on 27 Aug 2012 at 11:01