Commit Graph

634 Commits (4b6ae21ce98397b213d1c1450062f78257e289b2)

Author SHA1 Message Date
Marc Gilleron 4b6ae21ce9 Fix GCC warnings 2020-09-09 18:58:58 +01:00
Marc Gilleron 7968f37f0e Update changelog 2020-09-08 21:59:21 +01:00
Marc Gilleron 9ccf16419d Merge branch 'master' into threading_refactor
# Conflicts:
#	streams/voxel_block_serializer.cpp
#	voxel_buffer.h
2020-09-08 21:40:59 +01:00
Marc Gilleron b12500ed34 Don't request or even calculate blocks to load when streaming is not possible 2020-09-08 21:34:35 +01:00
Marc Gilleron 603357eb59 Feature freeze for version godot3.2.3 2020-09-08 20:51:34 +01:00
Marc Gilleron 7df2c5ce45 Merge branch 'master' into github_actions 2020-09-08 19:44:45 +01:00
Marc 14132a1fac
Merge pull request #193 from tdaffin/fix_bindings
Fix binding of is_empty to allow build with mono
2020-09-08 01:46:15 +01:00
Marc Gilleron e8d0800511 Unused code 2020-09-08 00:49:37 +01:00
Tom Daffin 5467caf01d Fix binding of is_empty to allow build with mono 2020-09-07 17:17:42 -06:00
Marc Gilleron 5e7a0f9e29 Tests can't run on server until Godot 4.0 2020-09-07 23:55:06 +01:00
Marc Gilleron 7405692f68 Unused code 2020-09-07 23:53:38 +01:00
Marc Gilleron 0922b92ace Fix some GCC warnings and Clang error 2020-09-07 23:26:04 +01:00
Marc Gilleron 65055dd9e0 Added emoji. 2020-09-07 23:25:00 +01:00
Marc Gilleron 0b45c6c69c Turned off tests on Windows and added Linux build 2020-09-07 22:26:53 +01:00
Marc Gilleron a90bef0581 Added Windows build 2020-09-07 20:41:10 +01:00
Marc Gilleron 7a235be108 Cancel block tasks if they are too far away 2020-09-06 23:57:41 +01:00
Marc Gilleron 7075773692 Fix tasks waiting suspecting an error too soon.
It was using seconds while measured time was milliseconds.
2020-09-06 23:56:36 +01:00
Marc Gilleron 9db2ced198 Fix out-of-bounds access in case all tasks got cancelled 2020-09-06 23:55:22 +01:00
Marc Gilleron fb8a1210e3 Comment and formatting 2020-09-06 19:59:08 +01:00
Marc Gilleron d03d365fe3 Add missing classes to doc 2020-09-06 19:36:53 +01:00
Marc Gilleron 0b7e4bb040 Update code guidelines 2020-09-06 19:36:17 +01:00
Marc Gilleron a8c9db9b6e Typo 2020-09-06 19:36:05 +01:00
Marc Gilleron 0e16193f92 Removed old threading code 2020-09-06 19:35:35 +01:00
Marc Gilleron a4611031e1 Fix viewer not being unpaired when destroyed 2020-09-06 19:29:56 +01:00
Marc Gilleron 81e1872f8b Implemented viewers for VoxelTerrain 2020-09-06 19:01:12 +01:00
Marc Gilleron b8c97ebc55 Switch VoxelLodTerrain to VoxelServer 2020-08-31 21:51:30 +01:00
Marc Gilleron 7a37770e84 Merge branch 'master' into threading_refactor
# Conflicts:
#	edition/voxel_tool_terrain.cpp
#	terrain/voxel_lod_terrain.cpp
2020-08-30 21:56:44 +01:00
Marc Gilleron 4632d5353d In the editor, creating noise generators comes with pre-set noise resources.
Otherwise, loading terrain will cause an error spam about noise being null.
2020-08-30 21:40:03 +01:00
Marc Gilleron 758da9ca2f Fix VoxelLodTerrain not loading blocks properly in editor
It assumed they were loading but the list of loading blocks is cleared
when the stream is set... which didn't reset the MAP of loading blocks.
2020-08-30 21:38:38 +01:00
Marc Gilleron 08e5770bd0 Fix crash when using VoxelLodTerrain without a stream 2020-08-30 21:36:43 +01:00
Marc Gilleron a43c11e253 Profile block channel allocation 2020-08-30 18:51:45 +01:00
Marc Gilleron b26fd944a8 Added `VoxelTool.copy` declaration, gonna need this in the future 2020-08-30 18:51:20 +01:00
Marc Gilleron 17ff16aa48 Neighbors are optional when sending meshing requests 2020-08-30 04:00:45 +01:00
Marc Gilleron d81ffb95f4 Detect usage of Tracy, add some profiler scopes 2020-08-30 04:00:01 +01:00
Marc Gilleron 107f29c5d3 Removed old profiler 2020-08-29 23:20:51 +01:00
Marc Gilleron 88e6d83652 Comments and formatting 2020-08-29 22:58:33 +01:00
Marc Gilleron aa2b848102 Workaround crash on exit because the GDScript module is freed before voxel
See https://github.com/Zylann/godot_voxel/issues/189
2020-08-29 22:55:52 +01:00
Marc Gilleron d4d2b6fd9e No longer copy voxels before scheduling threaded tasks. VoxelBuffers now have a lock. 2020-08-29 22:09:54 +01:00
Marc Gilleron 92b10d9175 Fix deadlock on exit when more than one thread is used 2020-08-28 18:31:21 +01:00
Marc Gilleron f10209440f Fix performance hit due to priority being recalculated all the time 2020-08-28 18:30:54 +01:00
Marc Gilleron 28b5ae6580 Unused code 2020-08-28 18:29:42 +01:00
Marc Gilleron 2fda53f57f Fix warning about too many arguments 2020-08-28 18:29:33 +01:00
Marc Gilleron 0d1bd433d9 Multiple meshing threads seems to work 2020-08-27 23:40:36 +01:00
Marc Gilleron 07ca2c74c1 Fixed tasks being picked twice and causing double-deletes 2020-08-27 23:32:34 +01:00
Marc Gilleron bcfc8ce04e Add some stats 2020-08-26 21:17:57 +01:00
Marc Gilleron d8a8936f34 Remove usage of VoxelDataLoader from VoxelTerrain 2020-08-26 19:49:30 +01:00
Marc Gilleron 57d306a033 Fix voxel library not always up to date 2020-08-26 19:49:04 +01:00
Marc Gilleron 56c2a0856a Initial integration on VoxelTerrain with static camera, fixed a bunch of things 2020-08-25 23:00:38 +01:00
Marc Gilleron a1710807cb Merge branch 'master' of https://github.com/Zylann/godot_voxel 2020-08-24 13:54:45 +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