[x3d-public] Explorations of Mocap formats. BVH conversions to X3D with X3D-Edit
GPU Group
gpugroup at gmail.com
Sun Sep 3 18:00:42 PDT 2023
Sorry mistake, I'm using CMU bvh for boxman walk.
https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture
- links to pre-converted CMU files at:
Carnegie Mellon University - CMU Graphics Lab - motion capture library
<http://mocap.cs.cmu.edu/resources.php>
- I think I downloaded MotionBuilder variant.
https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture/the-motionbuilder-friendly-bvh-conversion-release-of-cmus-motion-capture-database
- scroll down on the page to see links to numbered zips.
-Doug
On Sun, Sep 3, 2023 at 6:23 PM John Carlson <yottzumm at gmail.com> wrote:
> In particular, I'm looking for a skipping motion animation, if you're
> poking around..I found three on CMU, here: Carnegie Mellon University -
> CMU Graphics Lab - motion capture library <http://mocap.cs.cmu.edu/>, but
> they're part of a collection, and I'll have to figure out how to separate
> the BVH, AMC or X3D.
>
> Thanks!
>
> John
>
> On Sun, Sep 3, 2023 at 5:23 PM GPU Group <gpugroup at gmail.com> wrote:
>
>> Looks interesting. A few months ago I sniffed around a bit on that cmu
>> site and found .bvh, although it was hard to find.
>> http://mocap.cs.cmu.edu/resources.php
>> - a few BVH links on this page, to:
>> https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture
>>
>> <https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture>Here's
>> more from web searching:
>>
>> https://github.com/BandaiNamcoResearchInc/Bandai-Namco-Research-Motiondataset/tree/master
>>
>> - collection of bvh animations, several styles of walking, and
>> walking-turning, arm raising
>> - free for research and personal use
>> - I'm using a few of these for testing, and bvhacker reads them and edits
>> and trims them
>> (bvhacker editing issue: not sure how to change the x y z rx ry rz on
>> just one one frame, seems to apply to all frames;
>> Could/should the trim controls for the slidebar could be changed so set
>> the slidebar and hit button StartTrim move to end of editing and hit
>> EndTrim, and then when editing only edit frames between startTrim and
>> endTrim?)
>> - Y-Up
>>
>> https://centralsource.com/blender/bvh/files.htm
>> - from blender
>> - blender can import Y-UP bvh, but > Motion Capture .bvh only exports
>> Z-Up. I had trouble converting to Y-Up.
>> Hypothesis: if you import Y-UP and export Z-UP 3 times, you'll be back to
>> Y-UP.
>> - would be nice if someone modified the io_anim_bvh/export_bvh.py to
>> optionally export Y-UP
>>
>> -Doug
>>
>>
>>
>> On Sun, Sep 3, 2023 at 3:14 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> 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]
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> x3d-public mailing list
>>> x3d-public at web3d.org
>>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>>
>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230903/c54fc544/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/c54fc544/attachment-0001.png>
More information about the x3d-public
mailing list