Commit Graph

124 Commits (0bf72badbd3f129e6472c81f0ec5a4c0f5f19835)

Author SHA1 Message Date
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 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 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 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 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
Marc Gilleron 60b15a3adc Added doc section listing shader API uniforms 2021-09-16 20:37:40 +01:00
Marc Gilleron e08e8c1986 Update changelog 2021-09-13 00:18:17 +01:00
Marc Gilleron 4d24ae7e03 Mention ID instead of type 2021-09-05 23:22:22 +01:00
Marc Gilleron 6043dd7d66 Kinda fix a link
I don't know how to refer to the sub-section without pasting an absolute URL
2021-09-05 23:03:29 +01:00
Marc Gilleron 791cc8dcf2 Formatting fix 2021-09-05 23:01:56 +01:00
Marc Gilleron cc3179d839 Detail on transparency_index 2021-09-05 23:00:00 +01:00
Marc Gilleron 8f23209397 Added docs about the blocky mesher workflow 2021-09-05 22:54:13 +01:00
Marc Gilleron b567d7ac41 Added section about compilation flags 2021-09-05 22:48:12 +01:00
Marc Gilleron db511dbbfe Name mistake 2021-09-05 22:47:41 +01:00