OpenXRay/xray-16

Try to use ozz-animation

Ouverte

#1 675 ouverte le 16 mai 2024

 (0 commentaire) (0 réaction) (0 personne assignée)C++ (519 forks)auto 404
AnimationDeveloper ExperienceEnhancementHelp wantedPerformancePortabilityRenderer

Métriques du dépôt

Stars
 (3 524 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur