COLLADA and BVH are both standard animation file formats. BVH is an older format used for motion capture data. COLLADA is a general 3D asset file format, a subset of which can be used for motion capture data.
This transformation is not intended to handle all animations and poses possible in a COLLADA file. The COLLADA format is much more flexible than the BVH format.
- Does not handle rotation order conversions. It expects an X-Y-Z
rotation order for the input animations.
- Requires a single animation clip, with a uniform time step between each
sample. All channels should have the same number of samples, or we will
zero pad them for the BVH output.
- Does not include any rotations that are part of the COLLADA node tree.
Since COLLADA can specify any number of composed rotations this would
be outside the scope of this transformation.
- Requires an XSLT processor. You could try "xsltproc" available
xsltproc collada_to_bvh.xsl take.dae >take.bvh- Or, use your web browser. See an example of this at
https://www.motionnode.com/tools/take.dae . This file is transformed
to a BVH by your web browser if it supports XSLT.
Simply add the directive to the preamble of your COLLADA document,
<?xml-stylesheet type="text/xsl" href="collada_to_bvh.xsl"?>
Updates available at https://www.motionnode.com/tools.html.