From: Timothy S. <ti...@st...> - 2004-06-25 08:12:55
|
On Fri, 2004-06-25 at 02:31, brett hartshorn wrote: > It would be nice to have some fast C functions that can convert ODE's dRe= als vertices to osg's > Vec3 vertices and pass that object directly to an osg geode. These funct= ions could then be > exposed to Python, then we would not have to do the conversion in Python = using tuples as the > middle-man. It sounds like its going to be hard, any ideas? A function capable of doing that would need to know the internal structure of the Python Geode class and the C++ Geode class. To do that, PyODE would have the added dependencies of both PyOSG and OSG. I like Bernie's intermediate array module idea. PyOSG, Python-Ogre bindings and PyODE will each need to implement an importer and exporter from the internal types to the array object. Since the array module is already part of Python, it isn't an extra dependency. --=20 Timothy Stranex <ti...@st...> |