No subject
Tue Nov 15 16:38:34 MST 2005
of running the simulation just once then "baking in" the ODE-computed animation
to save the animation data somewhere. This would also be possible. Again, I don't
know how such tools usually work.
>it would
>also be nice if it blender could export a file format describing just the
>dynamical attributes that have been given to the geometry objects, so
>that in my game/simulation/whatever i could load this data, construct the
>ODE objects, then attach the objects to my scene data.
Blender has a python scripting interface, and many good python scripts have
been written, especially for exporting/importing data. The python integration
is kind of shaky right now, since the project just went GPL, but I expect it
to stabilize. At that point, it should then be fairly easy to add python
access to the new dynamical attributes (friction, restitution, bounding
volumes, mass, etc) associated with each object. Then a python script could
simply iterate over all objects in the scene, iterate over all attributes for
each object, and write it out in any format desired.
-Norman
More information about the ODE
mailing list