python and opengl

Markus von Ehr markus.vonehr at ipm.fhg.de
Fri Aug 23 16:20:11 CEST 2002


Hi,

the problem is that all the processing time dedicated to the process
is given to your opengl thread.
You should use PyOpenGl, I only had problems building an exe, if you
don't need to have an exe there are no problems and all your windows
will be updated.

Markus


guignot schrieb:
> 
> I want to launch an OpenGL window from my python app.
> So good, so far. I wrote my openGL app in C, compiled to a shared library,
> and a python tgread launches it.
> 
> BUT... The openGL app keeps the focus, my python app is "frozen", and
> segfaults when I close the python app.
> 
> I know about PyOpenGL, but I would prefer to avoid it : the code is poorly
> written (lots of warnings) and, IMHO, too obfuscated.
> 
> Any hints ?



More information about the Python-list mailing list