Commit Graph

16 Commits (668fedfa528f9971577f7bf19041f948db512d3d)

Author SHA1 Message Date
Marc Gilleron 14840634de Re-namespaced VoxelDebug 2022-01-04 22:57:21 +00:00
Marc Gilleron 09899eef97 Namespaced Color8 2022-01-04 22:30:46 +00:00
Marc Gilleron 3db4798e14 Draw instance chunks in editor 2021-12-30 22:20:30 +00:00
Marc Gilleron efc12ffefb Fix dangling material RID error 2021-12-14 00:23:26 +00:00
Marc Gilleron 543d1b2f2f Fix table formatting 2021-12-13 23:56:23 +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 0da9358d56 Fix GCC warning (2) 2021-09-19 23:20:25 +01:00
Marc Gilleron 95c7dafe72 Fix case where the bulk array is empty 2021-09-19 18:26:34 +01:00
Marc Gilleron 0c31f5a525 Show octree node gizmos with a color gradient based on LOD 2021-09-18 19:54:54 +01:00
Marc Gilleron ff4e7f9560 Added debug drawing of mesh octree using multimesh (not exposed for now) 2021-09-16 21:54:04 +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 d1207bdd96 Reorganized some utility files 2021-02-17 20:34:35 +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 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