Skip to content

Python code to save and write BVH files in convert animation data to various representations, with examples.

Notifications You must be signed in to change notification settings

lched/python_motion

Repository files navigation

Python-motion

This repository contains code (that I mostly didn't write myself) to load and process BioVision Hierarchy (.bvh) files in an easy, and convert the animation data to various representations, including several angular representations (Euler, quaternions, 6d representation of Zhou et al.)

motion_tutorials contains example snippets of code to do various things.

⚠️ To work with this code, BVH files are expected to have Z, X, Y rotation order and Y-up convention. I'm not completely sure other conventions work.

⚠️ Must be used with matplotlib 3.3, newer versions of matplotlib might break the plot_script functions

smpl2bvh repository here: https://github.com/KosukeFukazawa/smpl2bvh SMPL models can't be distributed with this software because of SMPL license.

⚠️ This repository is still very much a work in progress (for example there are two bvh files/processing, how confusing right?). I'm just making it public if it can help someone.

About

Python code to save and write BVH files in convert animation data to various representations, with examples.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published