14 Commits

Author SHA1 Message Date
Martin Felis
ecf3b0fef2 Substantial performance improvements by refactoring AnimationData allocations.
AnimationData is now a buffer and a hashmap with offsets of the TrackValues. During graph initialization all used TrackValues get registered and their offsets computed.

AnimationData should now be allocated by the AnimationDataAllocator. It takes care of pooling already allocated AnimationDatas and also has a buffer block that contains the default values making it fast to allocate a new AnimationData with the initial pose / default values.
2026-01-16 15:27:33 +01:00
Martin Felis
0e38a2ef65 Minor performance improvements. 2026-01-16 09:54:59 +01:00
Martin Felis
a5577eceea Added profiling statements to SyncedAnimationGraph. 2026-01-16 09:53:18 +01:00
Martin Felis
75b4df8c65 SyncTracks are now initialized from Markers, extended UnitTests and did some cleanup. 2026-01-11 21:35:51 +01:00
Martin Felis
3bb0725e3e Properly applying both translation and rotation to bones. 2025-12-31 20:30:28 +01:00
Martin Felis
69bb2d7980 Initial version with working synced blending. 2025-12-31 18:50:42 +01:00
Martin Felis
1fca7cfe88 Initial support for animation graph parameters editable in the editor. 2025-12-31 13:47:45 +01:00
Martin Felis
ae2e2787cd Minor code cleanup. 2025-12-29 16:02:06 +01:00
Martin Felis
537712c806 Added saving and loading blend tree resources. 2025-12-29 15:25:10 +01:00
Martin Felis
46f940a67c Added Blend2 node (no syncing, yet). 2025-12-27 16:27:54 +01:00
Martin Felis
56fde580c3 WIP: Blend2 node and blending of AnimationData. 2025-12-22 00:37:27 +01:00
Martin Felis
5880dde6ec WIP: refactored test to use a fixture, started working on Blend Tree evaluation. 2025-12-08 22:47:00 +01:00
Martin Felis
1732ecb8bd Added simple unit test that uses an AnimationSamplerNode and a procedural animation. 2025-12-05 17:20:35 +01:00
Martin Felis
757c5ee51c Using AnimationSamplerNode for evaluation.
Known issues:
- It seems that only rotations are applied.
- Memory is likely not properly freed.
2025-12-03 22:43:24 +01:00