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

Try to use ozz-animation #1675

Open
Xottab-DUTY opened this issue May 16, 2024 · 0 comments
Open

Try to use ozz-animation #1675

Xottab-DUTY opened this issue May 16, 2024 · 0 comments

Comments

@Xottab-DUTY
Copy link
Member

Remove original animation system code from xrRender and use https://github.com/guillaumeblanc/ozz-animation

Advantages:

  1. Animation system has reasonably big amount of code that takes time to compile and it gets compiled two times because we have two renderers. Putting it into separate library is problematic due to #ifdefs in the code. With ozz-animation we can just use separate GAPI-agnostic library.
  2. More advanced features available.
  3. Designed with multithreading in mind. (https://guillaumeblanc.github.io/ozz-animation/samples/multithread/)
    Since animations calculations take reasonable amount of time during the frame, it's a good place for significant improvement.
  4. High-quality third party library – reduces code that we need to support ourselves.

Disadvantages, limitations?

To be identified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant