Re: [PyOpenGL-Users] How do I get the window/widget id of an OpenGLdrawing area?
Brought to you by:
mcfletch
From: Silverstein <he...@sc...> - 2005-08-10 04:02:04
|
Mike, Yes, what I had in mind was involved, but your idea is much better! We have more than one GL window in which things can be drawn; so we'll have to provide a setup call that can be invoked from within python which, among other things, will set the current window, buffer, etc. This main drawing area allows stereo (software pairs, hardware). It'd be nice to figure out a way to allow clients to write their code so it integrates with stereo in our main drawing Window. I don't think they will be able to get the needed information (like how much we rotate each eye's view) from the GL state machine; so we'll probably have to provide some additionall wrappes for this. Thanks for the help, Herc |