[x3d-public] Explorations of Mocap formats. BVH conversions to X3D with X3D-Edit

John Carlson yottzumm at gmail.com
Sun Sep 3 14:13:06 PDT 2023


CMU's Mocap File Database:

Carnegie Mellon University - CMU Graphics Lab - motion capture library
<http://mocap.cs.cmu.edu/>

Files are in amc, c3d and tvd, so you have to convert.

I'll try this:

thcopeland/amc2bvh: Convert ASF/AMC motion capture files to BVH motion
capture files. (github.com) <https://github.com/thcopeland/amc2bvh>

Git for Windows doesn't have make, trying cygwin.

installed gcc-core

ran make.  warnings,but there's an executable:

$ ./amc2bvh 56.asf 56_03.amc -o 56_03.amc.bvh
$ ./amc2bvh 56.asf 56_06.amc -o 56_06.amc.bvh
$ ./amc2bvh 56.asf 56_07.amc -o 56_07.amc.bvh

So far so good.  Now to try X3D-Edit.

BVH import is worked, files are translated.

Now to validate!

QA Log:

Performing DTD validation...
Checking file:/C:/Users/john/amc2bvh/56_03.amc.x3d...
Attribute value "Bvh56_03.amc_hip" of type ID must be unique within the
document.
Attribute value "Bvh56_03.amc_thigh" of type ID must be unique within the
document.
Attribute value "Bvh56_03.amc_wrist" of type ID must be unique within the
document.
Attribute value "Bvh56_03.amc_hand" of type ID must be unique within the
document.
XML DTD validation: fail!

Performing X3D schema validation...
Checking file:/C:/Users/john/amc2bvh/56_03.amc.x3d...
Attribute value "Bvh56_03.amc_hip" of type ID must be unique within the
document.
Attribute value "Bvh56_03.amc_thigh" of type ID must be unique within the
document.
Attribute value "Bvh56_03.amc_wrist" of type ID must be unique within the
document.
Attribute value "Bvh56_03.amc_hand" of type ID must be unique within the
document.
XML schema validation: fail!

Other than that, good!  Now to try to view (not inside X3D-Edit)

Sending Zip under another cover for investigation of why BVH import creates
duplicate IDs.


Looks good though!
[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230903/bdfb927c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 89067 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230903/bdfb927c/attachment-0001.png>


More information about the x3d-public mailing list