Commit Graph
168 Commits
Author SHA1 Message Date
Martin Felis 65c7a9aaaf AnimLibraries do not load animations by default. 2025-04-13 22:35:06 +02:00
Martin Felis 5d01dfcca2 Started working on AnimationLibrary. 2025-04-11 19:03:13 +02:00
Martin Felis 89fedce539 Cleanup. 2025-04-11 13:08:19 +02:00
Martin Felis f6f7e92cea Added name to AnimationResource. 2025-04-11 13:05:50 +02:00
Martin Felis d32c247cc0 Cleaned up includes. 2025-04-11 13:03:38 +02:00
Martin Felis 36c7f7a11e Refactor/cleanup of SyncTrack and added serialization to/from json. 2025-04-11 12:22:03 +02:00
Martin Felis 3b5537fc9d Minor cleanup. 2025-04-11 12:22:03 +02:00
Martin Felis c173707a18 Minor cleanup and refactoring. 2025-03-30 22:35:49 +02:00
Martin Felis 887131af37 Added AnimationFileResource that combine animations with sync tracks. 2025-03-20 16:16:16 +01:00
Martin Felis 86ea476881 Renamed AnimData to Pose. 2025-03-19 21:43:01 +01:00
Martin Felis f52b19a8d2 Further cleanup and added comments. 2025-03-19 21:12:27 +01:00
Martin Felis 283306f225 Minor cleanup and added comments. 2025-03-18 22:20:50 +01:00
Martin Felis b4eda31242 AnimGraphEvalTests now properly evaluates. 2025-03-17 22:23:12 +01:00
Martin Felis 1870a9d214 Added custom imgui-node-editor changes. 2025-03-16 22:59:05 +01:00
Martin Felis 07d02a2e42 AnimGraphEvalTests now compiles again. 2025-03-16 22:58:14 +01:00
Martin Felis 2ea2c56bbb Refactored BlendTreeResources to be a subclass of AnimGraphResource.
The latter is used to abstract saving/loading for both BlendTrees and StateMachines.
2025-03-16 18:15:31 +01:00
Martin Felis f351939d61 Tiny cleanup. 2025-03-14 12:40:08 +01:00
Martin Felis a977698336 Fixed crash when starting up and no proper application config was available. 2025-03-14 12:36:22 +01:00
Martin Felis 0f9f9d6283 Added file dialog to graph editor. 2025-03-11 23:02:11 +01:00
Martin Felis 6d9a6fca56 Added https://github.com/btzy/nativefiledialog-extended at revision a1a401062819beb8c3da84518ab1fe7de88632db 2025-03-11 22:58:39 +01:00
Martin Felis 9298e5ad0e Fixed memory leak in editor. 2025-03-11 22:16:03 +01:00
Martin Felis a1c4630ee7 Nodes can now be deleted in the blend tree editor. 2025-03-02 19:30:26 +01:00
Martin Felis acbe3a4ed5 Fixed adding links to output node of blend tree. 2025-03-02 12:56:47 +01:00
Martin Felis 25776f2b2d Add a suffix when creating blend tree input or output sockets. 2025-03-02 12:49:45 +01:00
Martin Felis a2e8de0b70 Added NodeConnectionDebug tool. 2025-03-02 12:48:39 +01:00
Martin Felis 55bcd9cd99 BlendTree node names are now always unique. 2025-03-02 12:46:26 +01:00
Martin Felis feb5f57a86 Refactored construction of AnimNodeResources and AnimGraphResources by using factory methods more consistently. 2025-03-02 12:45:55 +01:00
Martin Felis 5a6ac92a48 Using bits of the blueprints examples for the AnimGraphEditor. 2025-02-16 22:12:31 +01:00
Martin Felis a467715ce3 Switched to imgui fork https://github.com/thedmd/imgui/commits/feature/docking-layout-external/ commit 899d85eb9489796f73a4dc67ad86892729707ce9 2025-02-16 17:15:41 +01:00
Martin Felis 589b45554f Updated imgui to v1.91.8-docking. 2025-02-16 16:08:20 +01:00
Martin Felis 45d56dea0d Minor cleanup in editor. 2025-02-16 14:59:48 +01:00
Martin Felis 40f631c51a Fixed memory leak by introducing virtual node descriptors.
AnimNodeResources do not reference an actual node anymore. However, we still need descriptors to check whether connections are valid.

For this we have VirtualNodeDescriptors for which all sockets point to nullptr.
2025-02-16 14:22:13 +01:00
Martin Felis 4b378adc91 Minor cleanup. 2025-02-16 12:31:44 +01:00
Martin Felis 99d5a5eb0f Minor refactor. 2024-05-07 18:50:38 +02:00
Martin Felis 698abbce4b BlendTree input and output sockets can now be registered via the AnimGraphResource. 2024-05-01 21:49:34 +02:00
Martin Felis b9789bd1e1 Minor refactor. 2024-05-01 13:17:25 +02:00
Martin Felis fd032c273b Links can now be removed by hovering link and pressing the Delete key. 2024-05-01 13:11:54 +02:00
Martin Felis da431a3879 Fixed setting location of new nodes and minor connection rejection refactor. 2024-05-01 13:03:57 +02:00
Martin Felis 84fc49af30 Properly store and restore node positions in editor. 2024-05-01 12:50:16 +02:00
Martin Felis 7c7a765455 New nodes now spawn at popup start location. 2024-05-01 11:59:30 +02:00
Martin Felis e3baa65c3b Added breadcrumb navigation for embedded graphs. 2024-05-01 10:58:33 +02:00
Martin Felis 44087d7a7c Removed legacy editor, started working on editing embedded graphs. 2024-04-30 18:40:54 +02:00
Martin Felis e8af30d10c Added embedded fonts. 2024-04-30 17:49:29 +02:00
Martin Felis 4d1990bea8 Reactivated the sidebar in the new node editor. 2024-04-25 21:40:09 +02:00
Martin Felis 5e34aaf3db Extremely basic blend tree editing. 2024-04-25 21:12:08 +02:00
Martin Felis 3fb2995b02 Fixed building of editor app, though crashes everywhere. 2024-04-24 21:58:47 +02:00
Martin Felis c267276be3 Fixed connection validation when one of the nodes is an embedded blend tree. 2024-04-24 21:38:11 +02:00
Martin Felis 53c0bff7a6 Minor cleanup. 2024-04-21 12:47:19 +02:00
Martin Felis 91e226945c Added basic connection validation and connection removal to BlendTreeResources. 2024-04-21 12:42:49 +02:00
Martin Felis d95bc9fb9c Made BlendTreeResource::m_nodes and ::m_connections private.
This is a prerequisite to properly track Node input/output connections and to compute eval order in the BlendTreeResources.
2024-04-16 22:18:11 +02:00