Re: PyOpenGL: numpy dependency?
"Mike C. Fletcher" <[email protected]>
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Giovanni Bajo wrote: > On Mon, October 30, 2006 13:53, Mike C. Fletcher wrote: > ... > OK. Please make sure to consider also the Win32 patch I sent you, since I > cannot even import Opengl-ctypes without it. > Already integrated into CVS, well, a version of it, anyway, it tries find_library and falls back to the bald name if it fails. At some point find_library was a requirement (0.9.9.6?) and I don't want to back out that compatibility if not necessary. >> In those situations (a custom array-storage format) you should be >> creating a format handler. The handler can just extract the >> data-pointer from your custom format (assuming it has such) and pass >> that in directly. Even if you don't have a raw data-pointer in your >> format, being able to avoid the intermediate list/array objects should >> speed it up considerably. >> > > OK. I assume it will be possible to register custom external array-storage > formats? I don't see how to do it without the setup.py thingie. > It is, see the formathandler.py module for the registration mechanism. If you don't use the setuptools registration mechanism you'll have to manually do the registration in each application. Have fun, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net