1460 Commits

Author SHA1 Message Date
Marc Gilleron
56b4920902 Updated and integrated FastNoise2 2021-12-31 05:06:00 +00:00
Marc Gilleron
03f2f8c4b3 Update changelog 2021-12-30 22:27:39 +00:00
Marc Gilleron
3db4798e14 Draw instance chunks in editor 2021-12-30 22:20:30 +00:00
Marc Gilleron
272bf4bd8f Fix MultiMesh bulk arrays with 32-bit colors 2021-12-30 19:30:41 +00:00
Marc Gilleron
fefb7fb434 Fix crash when removing an item from the library while an instancer node is using it.
The old code was assuming block indices don't change, but they do
2021-12-30 05:03:31 +00:00
Marc Gilleron
89f3343354 Allow to dump VoxelInstancer as scene for debug inspection 2021-12-30 04:25:42 +00:00
Marc Gilleron
2d7d09534a Fix VoxelInstancer not refreshing when an item is modified 2021-12-30 04:22:23 +00:00
Marc Gilleron
66fb239d80 Renamed VoxelFileLocker => FileLocker and namespaced 2021-12-29 19:22:59 +00:00
Marc Gilleron
0be0fb19b0 Moved task stuff to utilities 2021-12-29 19:08:23 +00:00
Marc Gilleron
39d949f345 AsyncDependencyTracker does not depend on VoxelServer 2021-12-29 18:54:45 +00:00
Marc Gilleron
12caefe577 Renamed VoxelThreadPool => ThreadedTaskRunner and namespace it 2021-12-29 18:25:47 +00:00
Marc Gilleron
8bf7a3695f Mark profiler frame inside frame_post_draw signal 2021-12-29 17:31:31 +00:00
Marc Gilleron
2f71b79904 More uses of Time singleton 2021-12-29 17:18:49 +00:00
Marc Gilleron
4d2fe30661 Use Time singleton 2021-12-29 17:06:24 +00:00
Marc Gilleron
b96b27084c VoxelThreadPool does not depend on VoxelBuffer 2021-12-29 15:15:33 +00:00
Marc Gilleron
0f67513a29 Move TimeSpreadTaskRunner to its own file and namespace 2021-12-29 15:12:28 +00:00
Marc Gilleron
4bd38f53e1 Added set_shader_instance_uniform to DirectMeshInstance 2021-12-29 14:37:28 +00:00
Marc Gilleron
892de996dd Print size of Node3D for reference 2021-12-28 19:44:04 +00:00
Marc Gilleron
90c4692105 Fix setting node name 2021-12-28 19:25:21 +00:00
Marc Gilleron
35b7108d0b Make thin wrappers non-copyable 2021-12-28 18:30:34 +00:00
Marc Gilleron
541af4a4ad Spread out mesh destruction in attempt to workaround slow Vulkan buffer deallocation 2021-12-28 18:19:41 +00:00
Marc Gilleron
ea74c1f05f Fix wrong class name specified in VoxelTerrain material properties 2021-12-28 04:09:47 +00:00
Marc Gilleron
c5edb8368a Fix library property not shown in inspector 2021-12-28 04:09:18 +00:00
Marc Gilleron
b38c7e4902 Merge branch 'godot4' of https://github.com/Zylann/godot_voxel into godot4 2021-12-27 12:12:51 +00:00
Marc Gilleron
79d4223be4 Fix deadlock caused by read locks not being released 2021-12-23 23:55:43 +01:00
Marc Gilleron
e46b1a023d Added test for VoxelBlockSerializerInternal and RegionFile; added namespaces 2021-12-17 19:30:23 +00:00
Marc Gilleron
c2b0884126 Fixed icons not showing (delete editor_icons.gen.h to refresh) 2021-12-17 15:46:50 +00:00
Marc Gilleron
2d50d81f85 Update changelog 2021-12-17 01:26:51 +00:00
Marc Gilleron
e336124969 Update supporters 2021-12-17 01:26:37 +00:00
Marc Gilleron
96f259be76 Fix raycast locking up when given NaN 2021-12-16 23:43:04 +00:00
Marc Gilleron
0bf72badbd Fix dangling mesh block position upon removal from map, when such block had a pending update 2021-12-16 22:59:31 +00:00
Marc Gilleron
0bea05824a Formatting 2021-12-16 22:17:52 +00:00
Marc Gilleron
f67077b698 Fix wrong condition for unloading mesh blocks 2021-12-16 22:17:20 +00:00
Marc Gilleron
ed5bca22c7 Fix missing change some compilers did not trip on 2021-12-16 17:41:15 +00:00
Marc Gilleron
03d3016ecf Remove some pre-set resource properties to fix a Godot4 warning (sorry) 2021-12-16 01:30:31 +00:00
Marc Gilleron
267bde13fb Added gi_mode property to VoxelNode to specify GI behavior 2021-12-16 00:11:11 +00:00
Marc Gilleron
cf4f1139a4 Fix errors when deleting a graph node 2021-12-15 01:36:46 +00:00
Marc Gilleron
7ce6ac8148 Fix wrong method name string 2021-12-15 01:22:45 +00:00
Marc Gilleron
a374883ba8 Fix Transvoxel vertex arrays 2021-12-15 00:47:02 +00:00
Marc Gilleron
4f8ba5549d Fix AboutDialog showing on startup and kinda broken 2021-12-14 01:29:04 +00:00
Marc Gilleron
35f09b7f72 Fix stack overflow when instancing a terrain node in editor 2021-12-14 01:28:10 +00:00
Marc Gilleron
efc12ffefb Fix dangling material RID error 2021-12-14 00:23:26 +00:00
Marc Gilleron
3596c13475 Renamed set_process_mode to set_process_callback to fix conflict with newly renamed Godot4 Node method 2021-12-14 00:10:09 +00:00
Marc Gilleron
543d1b2f2f Fix table formatting 2021-12-13 23:56:23 +00:00
Marc Gilleron
70c292c9fd Fix renamed GraphEdit signal name 2021-12-13 23:56:02 +00:00
Marc Gilleron
922f361cb0 Made it compile in Godot 4
- Made a bunch of changes to comply with Godot 4 API
- Use Godot's Vector3i and add the missing stuff with helper functions
- Transvoxel uses custom attributes API, the old way would not work
- Wrap MeshOptimizer in a unique namespace (see build script why)
- Added clang-format file for the module as some rules now differ
- Prevent thirdparty code and lookup tables from being clang-formatted
- Very likely full of runtime bugs that need fixing
2021-12-13 21:38:10 +00:00
Marc Gilleron
758aa07280 Fix shadowing issues (including a crash-worthy one) 2021-12-12 00:16:18 +00:00
Marc Gilleron
cb1af8c1d9 Fix GCC warning about shadowed local 2021-12-11 23:55:40 +00:00
Marc Gilleron
43df211e8e Fix conversion warning 2021-12-11 23:25:22 +00:00
Marc Gilleron
9320574a60 Update changelog 2021-12-11 23:14:35 +00:00