Commit Graph

25 Commits (8535ef2cf96335a7b1fe330caa30293d5b4c3bf9)

Author SHA1 Message Date
Marc Gilleron a4565fd6dd Fix changing graph node properties not marging the graph as modified 2021-06-06 21:44:28 +01:00
Marc Gilleron 411be94559 Renamed ArraySlice -> Span 2021-05-31 16:48:49 +01:00
Marc Gilleron ff658335fb Fix preview nodes, they were upside down 2021-05-29 23:18:04 +01:00
Marc Gilleron 41990a47dc Fix crash when the graph editor gets closed or when the graph is set to null 2021-05-29 21:38:52 +01:00
Marc Gilleron 493579cefb Initialize voxel graph with default nodes when creating it in the editor 2021-05-03 01:04:04 +01:00
Marc Gilleron 934af79f3f Show graph compilation errors in the editor 2021-05-02 21:44:55 +01:00
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 32f9006b75 Added initial support for texture weights in graph generators (not optimal) 2021-04-30 22:04:38 +01:00
Marc Gilleron 2d247af250 Increase resolution of preview nodes 2021-04-18 00:35:04 +01:00
Marc Gilleron 10683ccd15 Comments 2021-04-15 20:35:31 +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 0720618295 Fix wrong AABB in range analysis debug tool 2021-03-17 18:05:54 +00:00
Marc Gilleron 826e104024 Added tool to inspect range analysis 2021-03-14 18:44:46 +00:00
Marc Gilleron 7940b3b761 Made VoxelGeneratorGraph thread-safe 2021-01-16 13:51:01 +00:00
Marc Gilleron 66141be0b3 Fix one more GCC warning 2021-01-09 20:33:39 +00:00
Marc Gilleron 1bb3d19e03 Use buffers to generate previews 2021-01-09 18:35:53 +00:00
Marc Gilleron 04c1d61cd2 Quick cleanup, also patch preview nodes 2021-01-07 23:36:14 +00:00
Marc Gilleron dafb4f39ff First WIP to try per-buffer processing instead of per-voxel 2021-01-04 22:19:13 +00:00
Marc Gilleron 44a1af2043 Don't crash if graph resources are null 2020-10-26 19:58:54 +00:00
Marc Gilleron 61f17ce96d Formatting 2020-10-25 20:38:23 +00:00
Marc Gilleron 0cb8188eb7 Added ability to name graph nodes 2020-10-25 20:26:25 +00:00
Marc Gilleron 8d6a459ad7 Fix a missing size_t to variant conversion 2020-09-19 21:47:52 +01:00
Marc Gilleron 464bb734ba Try to keep the terrain UI visible when editing generator and graph settings. Hacky stuff. 2020-08-15 21:22:02 +01:00
menip e64f5f882c Fix warnings
Wparentheses
Wsign-compare
Wreorder
2020-08-01 22:03:26 -07:00
Marc Gilleron 27f37ea56c Move voxel graph editor under its own folder 2020-07-30 18:50:45 +01:00