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

[build_actor] Add skeleton and animation support #3638

Merged
merged 4 commits into from
Aug 16, 2024
Merged

Conversation

water111
Copy link
Collaborator

This adds a feature to build_actor to support importing skeletons and animations from .glb files.

Multiple animations are handled and will use the name in the GLB. The default viewer process will end up playing back the first animation.

There are a few limitations:

  • You can only have around 100 bones. It is technically possibly to have slightly more, but certain animations may fail to compress when there are more than ~100 bones.
  • Currently, all animations have 60 keyframes per second. This is a higher quality than what is normally used. If animation size becomes problematic, we could make this customizable somehow.
  • There is no support for the align bone.

@water111 water111 merged commit f2e7606 into master Aug 16, 2024
10 of 11 checks passed
@water111 water111 deleted the w/build-actor-anim branch August 16, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant