Commit Graph

44 Commits (0713016d9ce8f50f6fdec79e3013157b3b8e6ac6)

Author SHA1 Message Date
Marc Gilleron 8a0d2983c4 Update readme with new docs 2021-01-21 19:04:28 +00:00
Marc Gilleron 23765f7c20 Merge branch 'master' into multithreaded_generators 2021-01-18 18:55:18 +00:00
Marc Gilleron 699aeeac90 Added RonanZe 2021-01-18 18:53:55 +00:00
Marc Gilleron 4ec60074bb Refactor generators and streams
- VoxelGenerator no longer inherit VoxelStream
- VoxelStream is now more focused on files
- Nodes have separate stream and generator properties
- Generators use 2 dedicated threads instead of sharing a single one with streams
- TODO Image.lock() is problematic for multithreading
- TODO Voxel graph can cause RWLock contention if edited while it runs
- TODO Saving generator output no longer works, need to put it back
2021-01-17 17:18:05 +00:00
Marc Gilleron 7940b3b761 Made VoxelGeneratorGraph thread-safe 2021-01-16 13:51:01 +00:00
Marc Gilleron 94810f4d04 Rename statistic property back to its old name, I think it didnt need to change 2021-01-16 13:05:50 +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 c8dcbc55e3 Added FastNoiseLite 2021-01-02 00:59:12 +00:00
Marc Gilleron 0346de9f6d Added Phyronnaz 2021-01-01 01:43:10 +00:00
Marc Gilleron e988cb9124 Show main thread tasks 2020-12-25 17:08:40 +00:00
Marc Gilleron eb9a5b7e07 Added background tasks indicator when a terrain is selected 2020-12-20 00:14:08 +00:00
Marc Gilleron 418cf0e630 Streaming/LOD can be set to follow the editor camera instead of being centered on world origin 2020-12-19 23:16:10 +00:00
Marc Gilleron 659e45fe32 Fix hyperlinks not working in about window. Also made license text selectable 2020-12-18 23:12:32 +00:00
Marc Gilleron 6d9fd2f8a0 Voxel terrain nodes now have a common abstract base class. Also explicitely made a few other classes abstract 2020-12-18 22:58:41 +00:00
Marc Gilleron 791bdafff1 Meshers are now resources assigned on terrain nodes 2020-12-18 21:01:50 +00:00
Marc Gilleron a37b3a9c06 Don't show menu by default 2020-12-17 23:01:35 +00:00
Marc Gilleron 2f8687fd12 Added About window and list of donors 2020-12-17 21:45:44 +00:00
Marc Gilleron e18b3a55fd Don't make the editor redraw every frame when gizmos are shown 2020-11-21 18:15:12 +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 850874893c Fix debug renderer not putting back pooled cubes back to visible when used again 2020-10-25 00:55:01 +01:00
Marc Gilleron e05a53b370 Fix GCC error 2020-10-25 00:54:34 +01:00
Marc Gilleron d158a92f57 Show bounds and octrees of VoxelLodTerrain with debug drawing 2020-10-24 00:08:14 +01:00
Marc Gilleron 8d6a459ad7 Fix a missing size_t to variant conversion 2020-09-19 21:47:52 +01:00
Marc Gilleron 1263821592 Added basic icons for terrain nodes, but needs engine fix to show properly
See https://github.com/godotengine/godot/issues/41339
2020-08-24 13:54:30 +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
Marc Gilleron 23ce65d789 Show terrain in editor, with option to turn it off. A scripted stream will turn it off by default. 2020-08-14 20:33:09 +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
Marc Gilleron 1a08cd31d6 Use a macro to print debug stuff only in verbose mode 2020-07-08 20:48:52 +01:00
Marc Gilleron 708741472c Added button to force updating previews, and another to measure time 2020-07-08 19:25:32 +01:00
Marc Gilleron 6b63746135 Added categories 2020-07-08 01:26:12 +01:00
Marc Gilleron b8c235fce3 Added preview nodes (has a few limitations, may fix them later) 2020-07-07 23:28:02 +01:00
Marc Gilleron bf96ec362f Use the inspector to edit graph node properties, including sub-resources 2020-07-06 22:07:36 +01:00
Marc Gilleron 4176894383 Editable default inputs 2020-03-08 19:23:48 +00:00
Marc Gilleron d1f00537d5 Parameters are editable (not default inputs, need to do them after) 2020-03-08 00:46:55 +00:00
Marc Gilleron ba612187fb Fix node dragging, made it undoable 2020-03-07 02:18:36 +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 e7c720ceeb Added barebones editor plugin to edit VoxelGeneratorGraph (does nothing for now) 2020-03-01 18:12:16 +00:00