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
99d5a5eb0f
Minor refactor.
2024-05-07 18:50:38 +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
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
9f9ac60f9c
Cleaned up some compilation issues for the AnimGraphEditor.
2024-04-05 00:44:37 +02:00
Martin Felis
76ea38f118
Added support of time updates for simple embedded graphs.
2024-04-01 12:33:23 +02:00
Martin Felis
116bf7699b
Added support of saving and loading of embedded blend tree resources.
2024-03-24 21:50:22 +01:00
Martin Felis
ccb9bc4e9b
Working on unified BlendTree and StateMachine handling.
2024-03-17 22:06:27 +01:00
Martin Felis
a79ffaa420
WIP: new anim graph editor can show loaded graph.
2024-03-03 20:20:24 +01:00
Martin Felis
e61180c4a7
WIP: implementation of new anim graph editor.
2024-03-01 14:26:52 +01:00
Martin Felis
0a45497de9
Added LockTranslationNode.
2023-04-02 21:40:49 +02:00
Martin Felis
7c8b44247b
Fixed SpeedScale node not properly propagating time.
2023-04-02 21:24:12 +02:00
Martin Felis
42303d5f47
Store the input values of nodes if they are non-zero.
2023-04-01 22:53:53 +02:00
Martin Felis
3d55b748e6
Refactored anim graph data usage and evaluation.
...
- Refactored NodeSocketAccessor to NodeDescriptor.
- Connections are wired up during AnimGraph instantiation.
- Output and input sockets point to the same memory location.
- No re-wiring needed during evaluation.
- AnimGraph are pre-allocated (refactoring for less memory usage postponed).
- Evaluation of AnimGraph now possible from the editor.
2023-04-01 14:16:20 +02:00
Martin Felis
411aa5ef20
Better split between runtime library and editor.
2023-03-30 18:11:54 +02:00
Martin Felis
08283d9bcf
Evaluation of very simple graphs works.
2023-03-28 22:00:58 +02:00
Martin Felis
e38c0b4934
Started working on graph initialization in ATP Editor.
2023-03-26 23:39:11 +02:00
Martin Felis
eeef635c64
Initial works for actial animation sampling and graph evaluation.
2022-04-11 16:46:09 +02:00
Martin Felis
5d8c1e289b
Initial graph evaluations, added Float to Vec3 Node, minor editor tweaks.
2022-04-03 21:05:11 +02:00
Martin Felis
08ae84fcb4
New evaluation scheme.
...
- Animation Data are always referenced via a pointer in nodes.
- Animation Data storage pointers are injected from graph when node is evaluated.
- Node value outputs always stored in node.
- Node value inputs always referenced via pointer. References are created when instantiating the graph.
2022-04-01 13:19:54 +02:00
Martin Felis
6c0c0599f8
Removed old animation graph code.
2022-03-25 11:51:37 +01:00