|
From: Bernie R. <br...@ec...> - 2004-06-24 20:55:38
|
At 04:49 PM 6/24/2004, Matthias Baas wrote: >How do we get to the mesh data when using a particular 3D engine? Which >engines are available from Python? I'm working on a wrapper for Ogre (www.ogre3d.org), but my guess is that the vertex and triangle data will be available as simple C arrays of floats and ints respectively in almost any engine. >>>6) double vs float. What type do we use? >>Can't we just change the typedef for dReal, and rebuild with the >>appropriate version of ODE? > >Will the trimesh support (or rather, Opcode) work if doubles are used? I think the trimesh support will have to convert floats into dReals. >>>8) Shall we try to implement an XODE import/export in Python? >>I've been trying to find information about XODE, and have had no luck. >>Am I just looking in the wrong places? > >Here are all the revisions of the spec: > >http://tankammo.com/xode/ Thanks! >So unless someone of you would like to use Leo I'd rather remove the markup. That was the first thing I did when I downloaded PyODE. :-) >Another thing is, I'd rather like to split the Pyrex file into several >smaller files as currently it has over 2600 lines which is a rather big >chunk (back then, a Pyrex file could not include other Pyrex files, but >now this is possible). I'm open to that, but I don't think it's a big problem either way. -- Bernie Roehl University of Waterloo Dept of Electrical and Computer Engineering Mail: br...@ec... Voice: (519) 888-4567 x 2607 [work] URL: http://ece.uwaterloo.ca/~broehl |