Marc Gilleron
264b77ac21
Moved hardcoded output types outside the runtime.
...
For simplicity I chose to just give output nodes output ports,
like regular ones, and hide them in the editor.
It required to change a bit how output nodes are detected,
and backing output buffers are no longer required from callers.
This will allow to more easily implement custom outputs as well.
2021-05-02 01:22:44 +01:00
Marc Gilleron
03bfc09e99
Implemented execution map to optimize out nodes locally
...
- Added optional optimization of execution map
- Added visualization of skipped nodes in the editor debug tool
2021-03-21 18:48:00 +00:00
Marc Gilleron
e462cd788a
Optimized range analysis for images and spherical map lookups
2020-12-26 18:58:16 +00:00
Marc Gilleron
0cb8188eb7
Added ability to name graph nodes
2020-10-25 20:26:25 +00:00
Marc Gilleron
1cd0a491bb
Fix graph not working if there is more than one terminal node (preview nodes)
2020-07-11 16:56:37 +01:00
Marc Gilleron
4176894383
Editable default inputs
2020-03-08 19:23:48 +00:00
Marc Gilleron
fab3e791d8
Implement undo/redo, which also marks the resource as modified
2020-03-03 00:19:25 +00:00
Marc Gilleron
81909567be
Implemented add, remove, connect and disconnect nodes from editor
2020-03-02 00:15:54 +00:00
Marc Gilleron
a3b623ad3d
Optimize parts of the graph that only depend on X and Z, so they run in the outer loop
2020-02-29 22:35:55 +00:00
Marc Gilleron
a3b64c3983
A bit of reorganization:
...
- Merged VoxelGeneratorGraph::Node into ProgramGraph::Node
- Separated compilation and execution to its own class
2020-02-29 00:17:47 +00:00
Marc Gilleron
dcc53d9351
Added can_connect() and get_node_type_id()
2020-02-27 00:17:15 +00:00
Marc Gilleron
815954bc03
Added graph edition methods and exposed to script API
2020-02-24 23:03:41 +00:00
Marc Gilleron
f785589ebe
Implemented DFS in ProgramGraph, I might need it later
2020-02-23 21:05:04 +00:00
Marc Gilleron
c87dc49046
Implemented duplicate()
2020-02-23 02:50:04 +00:00
Marc Gilleron
07905ba580
Renamed `evaluate` in ProgramGraph to a more descriptive name
2020-02-22 22:45:22 +00:00
Marc Gilleron
515751a3e6
WIP VoxelGeneratorGraph, compiled and untested
2020-02-19 19:26:14 +00:00