231 Commits

Author SHA1 Message Date
Marc Gilleron
1fbdd558c8 Document signal handler naming convention 2022-01-03 22:01:53 +00:00
Marc Gilleron
f13dcb0d2b Document Vulkan performance problem 2022-01-03 22:01:35 +00:00
Marc Gilleron
ba100fdd97 Update changelog 2021-12-31 19:03:14 +00:00
Marc Gilleron
03f2f8c4b3 Update changelog 2021-12-30 22:27:39 +00:00
Marc Gilleron
2d50d81f85 Update changelog 2021-12-17 01:26:51 +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
9320574a60 Update changelog 2021-12-11 23:14:35 +00:00
Marc Gilleron
97bbcacd86 Move natvis file to misc/ folder 2021-12-11 22:38:39 +00:00
Marc Gilleron
5a05f8762a Update changelog 2021-12-11 21:38:14 +00:00
Marc Gilleron
67965a8b9a Note about comments 2021-11-12 21:41:45 +00:00
Marc Gilleron
67d626a283 Set milestone 2021-11-06 02:08:21 +00:00
Marc Gilleron
d5a69003c3 Add missing classes and run doctool (doctool has issues though)
VoxelGeneratorHeightmap.height_range is wrong in the doc.
VoxelTool lost all default values in doc.
These are likely Godot bugs...
2021-11-06 02:04:16 +00:00
Marc Gilleron
c5388c83db Document SQLite path property 2021-11-06 00:15:21 +00:00
Marc Gilleron
de55ebe5bb Update changelog 2021-11-06 00:15:03 +00:00
Marc Gilleron
9933f58987 Update C++ guidelines 2021-11-06 00:12:14 +00:00
Marc Gilleron
8ab6abe04a Moved VoxelInstanceLibrary menu to the inspector 2021-10-31 15:02:42 +00:00
Marc Gilleron
05386d8512 Fix list formatting 2021-10-31 14:20:30 +00:00
Marc Gilleron
0fc9e6b313 Fix crash when given negative-size area 2021-10-29 18:25:52 +01:00
Marc Gilleron
325406ede1 Decrease MAX_LOD to avoid potential integer overflows
I preferred doing this instead of using 64-bit integers,
because I tink there are no use cases for LOD blocks that big
2021-10-28 23:55:46 +01:00
Marc Gilleron
3133834a17 Check AABB size before using it 2021-10-27 19:49:37 +01:00
Marc Gilleron
97f6765831 Fix memory leak in VoxelGraphRuntime (one leak per thread that ran any) 2021-10-26 20:41:28 +01:00
Marc Gilleron
4fc6731b8d Prevent instancing VoxelTool classes manually 2021-10-26 20:17:40 +01:00
Marc Gilleron
6cd143d392 Enable collisions by default on VoxelViewer 2021-10-15 22:51:53 +01:00
Marc Gilleron
1079a80bf8 Fixed (I hope) the error sometimes happening when using floating chunk separation 2021-10-13 21:03:59 +01:00
Marc Gilleron
3597bce3e5 Update threads section 2021-10-04 19:34:01 +01:00
Marc Gilleron
191659ae7c Fix voxel mips saved at wrong positions, caused them to show up often in the air 2021-10-04 01:32:12 +01:00
Marc Gilleron
e75ba2eec2 Mention a few rendering points 2021-10-03 02:30:35 +01:00
Marc Gilleron
c6b2275738 Fix some stats and add VoxelMemoryPool info 2021-10-02 18:31:48 +01:00
Marc Gilleron
228e41b71e Fixed writing out of bounds when the whole buffer is copied 2021-10-01 19:31:30 +01:00
Marc Gilleron
f5ecd42057 Detail about block transfer 2021-10-01 00:56:03 +01:00
Marc Gilleron
a74ea392fa Fix formatting 2021-09-29 18:46:39 +01:00
Marc Gilleron
ac3ecbba14 Unfortunately that CSS change doesn't work. I don't know how to fix that. 2021-09-27 00:10:06 +01:00
Marc Gilleron
024b9326cc Fix last nav item in the doc covered by a fixed box 2021-09-26 23:33:24 +01:00
Marc Gilleron
788e61cefd Update changelog 2021-09-26 21:10:41 +01:00
Marc Gilleron
2a10663081 Tweak docs 2021-09-25 17:35:15 +01:00
Marc Gilleron
6faf5b29f3 Allow to configure main thread time limit 2021-09-25 02:13:03 +01:00
Marc Gilleron
3197eaba35 Move main thread tasks into one runner in VoxelServer
So the timing budget is better respected even if there are multiple
voxel nodes in the scene
2021-09-25 00:02:41 +01:00
Marc Gilleron
751a32e04c Fix latest Godot branch to use 2021-09-24 23:53:21 +01:00
Marc Gilleron
0788affed9 Renamed "multithreading" section to "performance" and document an issue with the speed of mesh updates 2021-09-23 22:33:05 +01:00
Marc Gilleron
ba8d9aad52 Exposed missing warp functions 2021-09-22 19:54:26 +01:00
Marc Gilleron
7c3226b904 Missing title confuses mkdocs nav 2021-09-21 21:59:09 +01:00
Marc Gilleron
6da5aadf33 Fix mkdocs nav 2021-09-21 21:53:44 +01:00
Marc Gilleron
94bb985704 Automatic thread count computation and project settings 2021-09-21 21:50:06 +01:00
Marc Gilleron
176f46440f Merge meshing and generation thread pools, expecting better usage of available threads 2021-09-21 19:32:29 +01:00
Marc Gilleron
5fdbccf982 Fix formatting 2021-09-21 19:14:44 +01:00
Marc Gilleron
0838cab251 Don't schedule loadings when streaming is disabled, don't crash when it still happens, log an error instead 2021-09-19 23:12:42 +01:00
Marc Gilleron
c18262d3f8 Added option to turn off random rotation 2021-09-19 21:41:16 +01:00
Marc Gilleron
1043fa6271 More info about the PoolVector fix 2021-09-18 18:17:39 +01:00
Marc Gilleron
f0c59acf0b Fix VoxelStreamBlockFiles always showing a warning about channels 2021-09-18 01:44:33 +01:00
Marc Gilleron
6a6682dfd5 Fixed crash occurring after a few edits when LOD count is set to 1 2021-09-18 01:36:44 +01:00