Re: [PyOpenGL-Users] Picking in OpenGL. Working example neede.
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2004-10-07 21:37:38
|
OpenGLContext has most of the code you're likely to be interested in, look at SelectRenderPass in the renderpass.py module. That's part of a very generic framework, so isn't a stand-alone demo, but as a result, what you see there is basically *just* what you need to do to accomplish a selection render pass. Afraid that's the only demo I have to hand that uses GL_SELECT mode. Good luck, Mike Lothar Birk wrote: >Hi everybody, > >I try to get picking to work in my little pythonic 3D viewer. Can >somebody point me to a working example using generic OpenGL calls. I >looked at some but they are based on togl and the real picking is buried >somewhere. I would like to use the OpenGL name stack. > >Any help appreciated. >Lothar > > ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |