-
Notifications
You must be signed in to change notification settings - Fork 134
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 create motion clip file (.npz) from other dataset #28
Comments
if you have the global translation of the root, as well as the rotations for each joint. You can take a look at this example to create a poselib motion file: ASE/ase/poselib/retarget_motion.py Line 253 in de18a56
You will first need to create a skeletonstate by passing the skeleton_tree of your character, the local rotations of the joints, and the root translation to SkeletonState.from_rotation_and_root_translation . Then you can create a skeletonmotion using SkeletonMotion.from_skeleton_state .
|
Thank you for your reply! |
The 4 dimensions rotation is in quaternion. It's that your rotation is in euler angle. Root translation is the global root position. |
Great Work! It is amazing , May I ask what is the data structure of motion clip file. If I have some skeleton coordinates for each frame, how should I create a motion clip file for training ? Thanks
The text was updated successfully, but these errors were encountered: