
XODE (the XML ODE data interchange format) can be used to describe an Open Dynamics Engine (ODE) scene with all its related bodies, joints, geometry and other objects. It was created to address a growing need amoung ODE users for a common data format and was developed by William Denniss with assistance from comments made by the ODE community.
Example File: box-and-sphere.xode (describes two ODE bodies with geometry, a box and a sphere)
<?xml version="1.0" encoding="UTF-8"?> <xode version="1.0r22" name="boxsphere"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://tanksoftware.com/xode/1.0r22/xode.xsd"> <world> <space> <body name="box"> <transform> <position x="0.1" y="4" z="2" /> </transform> <geom name="boxGeom"> <box sizex="4" sizey="4" sizez="4" /> </geom> <mass> <adjust total="1" /> </mass> </body> <body name="sphere"> <transform> <position x="0.5" y="1.8" z="2.3" /> </transform> <geom name="sphereGeom"> <sphere radius="2" /> </geom> <mass> <adjust total="1" /> </mass> </body> </space> </world> </xode>
Consists of the authoritive plain text specification document, an XML Schema used for validating the XML documents and example XODE files.
Current Version: 1.0r23
Old Versions:
1.0r22
1.0r21
1.0r20
1.0r19
1.0r18
1.0r17
pre 1.0r17
1.0r23 +retain) - A small utility for validating and viewing XODE files.1.0r23 +retain) - Odejava (an Object Orientated wrapper for ODE) has an inbuilt XODE parser (org.odejava.xode). It is
also the XODE parser reference implementation.