Skip to content

sloganking/BvhToMimic

Repository files navigation

BvhToMimic [WIP]

Notice

This repository has been largly superseded by BvhToDeepMimic which has built upon a forked version of this repository.

Goal

The DeepMimic project currently offers no way to import custom reference motions. This is shown in DeepMimic issue #23. This project aims to transfer animation data from .BVH files into DeepMimic Motion files. Motion files can then be used to Train DeepMimic skills.

Related Projects

List of related projects

Progress so far

walkTest1

[experimental] manual offset test:

link to branch

manualOffsetTest

Dependencies

Python sudo apt install python

numpy pip install numpy

bvh pip install bvh

tqdm pip install tqdm

pyquaternion pip install pyquaternion

Creating a humanoid rig

Currently joints in .bvh files have to be manually assigned by name to the corresponding joints in the Mimic Motion humanoid rig. This is done by assigning .bvh model's bone names to the corresponding joint properties in ./Rigs/humanoidRig.json

I am currently unaware of how to create or use any algorithms that know how to automatically generate a humanoid rig (similar to how unity can), but am open to using them upon finding one.

Running the project

python BvhToMimic.py

Will convert all .bvh files located in /InputBvh/ into Mimic Motion files, located in /OutputMimic/

About

Converting .bvh files to DeepMimic animations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages