OpenXRay/xray-16

Try to use ozz-animation

Aberta

#1.675 aberto em 16 de mai. de 2024

 (0 comentário) (0 reação) (0 responsável)C++ (519 forks)auto 404
AnimationDeveloper ExperienceEnhancementHelp wantedPerformancePortabilityRenderer

Métricas do repositório

Stars
 (3.524 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador