Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting c3d to bvh file #8

Open
KuangenZhang opened this issue Jan 15, 2020 · 4 comments
Open

Converting c3d to bvh file #8

KuangenZhang opened this issue Jan 15, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@KuangenZhang
Copy link

Thanks for your project, it helps me a lot.

Currently, I want to convert my c3d files to bvh files, then I can utilize your code to convert them to mimic motion data. Do you know any projects or software that can convert c3d files to your required bvh files?

Thanks so much for your help.

@KuangenZhang KuangenZhang added the enhancement New feature or request label Jan 15, 2020
@BartMoyaers
Copy link
Owner

Glad that the code can already help you out in the current state!

Sadly, I currently have no experience in converting c3d to bvh files. (There's a chance I will look into it in the future though, then I will let you know.)

@KuangenZhang
Copy link
Author

Ok, thanks so much for your response.

@BartMoyaers
Copy link
Owner

I recently tried to convert a C3D file into a BVH file myself, using blender.
Using these two answers posted online:
https://stackoverflow.com/questions/20499320/how-to-import-c3d-files-into-blender
https://blender.stackexchange.com/questions/30835/convert-a-c3d-and-trc-files-to-bvh

I did the importing of the C3D file using blender 2.79. (Because the C3D plugin isn't ported to 2.8x yet.) And saved the .blend file. I could then simply load the .blend file with the C3D file loaded, into Blender 2.8 without any problems and follow the workflow as described in the second answer. (Scripts to automate the process have also been posted, but I haven't tried that myself yet.)

However, I had less luck using this BvhToDeepMimic repository to convert the BVH to a correct DeepMimic format! The coming days I will look more into finding a solution to use the Blender Inverse Kinematics to map any BVH file to DeepMimic format correctly. Hopefully this will work better than the current not-so-correct implementation!

@ghost
Copy link

ghost commented Nov 14, 2021

Hi,

Your subject is very interesting.
I recently worked on a biomechanical-friendly .bvh-like armature in Blender:
https://www.linkedin.com/feed/update/urn:li:activity:6865631250191908864

the purpose is to link the anatomy atlas to the biomechanics research data.
They usually use .C3D files, and a way to automate the conversion into .bvh would be very helpful;

Hugs,

g.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants