OpenGL
Fernando Perez
fperez.net at gmail.com
Mon Jan 23 17:28:51 EST 2006
Mike C. Fletcher wrote:
> OpenGL-ctypes is designed with a fairly well abstracted array-handling
> API. Basically any array type can be registered with handlers that let
> you tell the system how to do basic operations; get an array's size,
> shape, data-type, convert to a given data-format, build an "empty" array
> of a given size, that kind of thing. I haven't written a numarray one
> yet, but it should be a fairly trivial change from the Numpy/scipy-core
> module.
Mike, out of curiosity: are you using the new 'array protocol' from numpy?
I mean this one:
http://numeric.scipy.org/array_interface.html
Best,
f
More information about the Python-list
mailing list