Built-in Modules gl, GL for SGI IRIX
Andrew Dalke
dalke at bioreason.com
Fri Apr 23 00:11:15 EDT 1999
David Steuber <trashcan at david-steuber.com> asked:
> How difficult is it to set up the gl and GL modules to
> look on the system for Mesa, GL or Windows OpenGL dlls and use the
> appropriate shared objects for a Python program?
GL and OpenGL are quite different libraries, with different
function names, different ways of viewing the world, and even
different transformation matricies (post- vs. pre- multiply).
It would be hard to make them work together at the level you want.
However, since you don't have to worry about supporting SGI
hardware from about 1996 or earlier, just use the PyOpenGL module
http://starship.python.net/crew/da/PyOpenGL/
and ignore that section in the Python manual.
Andrew
dalke at acm.org
More information about the Python-list
mailing list