OpenXRay/xray-16

Try to use ozz-animation

Open

#1,675 opened on May 16, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (519 forks)auto 404
AnimationDeveloper ExperienceEnhancementHelp wantedPerformancePortabilityRenderer

Repository metrics

Stars
 (3,524 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide