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

How to get motion.yaml and retarget.yaml from .bvh #152

Closed
xavierchan opened this issue May 6, 2023 · 4 comments
Closed

How to get motion.yaml and retarget.yaml from .bvh #152

xavierchan opened this issue May 6, 2023 · 4 comments

Comments

@xavierchan
Copy link

Now, i can create new animate by combine built-in config and custom char picture. But when i want to use the new motion from imported .bvh file. I'am going to get stuck with motion.yaml and retarget.yaml. Because i don't know how to create them event though have docs at examples/config/README.md. I don't know how to convert bvh to motion.yaml and retarget.yaml.

Maybe I'm a layman in animation. But i hope to offer the script can convert bvh to motion.yaml and retarget.yaml. Even if he's not perfect.

@yihleego
Copy link
Contributor

yihleego commented May 7, 2023

Sadly, we can't, please see: #101 (comment)

The API /predictions/drawn_humanoid_pose_estimator returns a fixed skeleton format, which contains the position and name of the joints.

The function of retarget.yaml is to bind the joints of BVH to the standard joints, so if the skeleton hierarchy and joint names are different in the BVH you downloaded from somewhere, you have to manually create the retarget.xml.


image

@xavierchan
Copy link
Author

drawn_humanoid_pose_estimator

Oh, i'm very happy to hear your reply. I really didn't notice this.

At first I thought that the character configuration was standard, and only the conversion of motion and retarget needed to be completed.
I ignored the char_joint_bvh_joints_mapping in the retarget file, because there is too much content in the configuration like noise, so I can't figure out how some content relationships between several files translate.

Maybe what I need is a simple tutorial on the conversion of these files, otherwise handwriting motion and retarget is very difficult. Can you provide a demo tutorial to help us learn how to create basic motion and retarget with the .bvh file we have and char_cfg.yaml?

@yihleego
Copy link
Contributor

yihleego commented May 8, 2023

I'm not good at this either XD

I think only the maintainers of this project are familiar with it now.
Here is the doc for creating motion and retarget configs, you can try though: Character Config File

@hjessmith
Copy link
Contributor

It's not a simple process, unfortunately. I would recommend reading the README file (linked above by @yihleego) and looking at the configuration files used in the Getting Started examples to try and get a better understanding of how things are working.

If, after doing that, you have questions about specific things, I'd be happy to answer them for you. And please feel free to create the demo tutorial you wish existed, @xavierchan. Members of this community (myself included) would be very grateful.

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

No branches or pull requests

3 participants