Fabian Kloosterman wrote:
>Hello,
>
>I would like to use PyOpenGL for a scientific data analysis /
>visualization project that I am planning to start soon. I noticed that
>the PyOpenGL binding is written for Numeric. However, for my project I
>prefer to use numarray. Are there any plans for PyOpenGL to migrate to
>numarray? What would be required to convert Numeric specific code to
>numarray code?
>
>
I honestly don't know what's involved, not having delved into Numarray's
API. Converting to Numarray is pretty far down on my list of PyOpenGL
todos... far enough that it's not likely to get done in the next 4-6
months, anyway (wrapping the 184 missing extensions, moving to a modern
SWIG, and adding OpenGL 1.5 and/or 2.0 support is *far* higher on the list).
Most of the Numpy-specific code is localised in a utility library which
is linked to each PyOpenGL PYD extension module. There are some places
where that idea is violated to provide custom wrappers for individual
functions, but for the most part it's true.
Enjoy yourself,
Mike
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
|