Commit Graph

1021 Commits (2c6eb114b220d81348163c9cbe3385bd03887513)

Author SHA1 Message Date
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
Marc Gilleron e30a3f51d6 Expose VoxelTool.is_area_editable() 2020-08-24 13:51:08 +01:00
Marc Gilleron d848da3a6f Formatting 2020-08-24 13:49:44 +01:00
Marc Gilleron 1fe50b01d6 Added VoxelServer. Compiles, but isn't used anywhere yet 2020-08-24 01:49:23 +01:00
Marc 4ef85c60fc
Merge pull request #185 from Vivraan/patch-1
Update region_format.md
2020-08-21 17:54:38 +01:00
Marc 40dfaf4c0e
Merge pull request #184 from Vivraan/patch-2
Update README.md
2020-08-21 17:53:37 +01:00
Shivam Mukherjee 07717d2965
Update README.md 2020-08-21 10:11:55 +05:30
Shivam Mukherjee 3521d185a9
Update region_format.md 2020-08-21 10:10:12 +05:30
Marc Gilleron 581dda484b Added changelog 2020-08-17 23:20:46 +01:00
Marc Gilleron c5f0af3b0e Update readme a little 2020-08-17 22:31:00 +01:00
Marc Gilleron 07e91d4892 Add some checks 2020-08-17 22:27:52 +01:00
Marc Gilleron 464bb734ba Try to keep the terrain UI visible when editing generator and graph settings. Hacky stuff. 2020-08-15 21:22:02 +01:00
Marc Gilleron 23ce65d789 Show terrain in editor, with option to turn it off. A scripted stream will turn it off by default. 2020-08-14 20:33:09 +01:00
Marc Gilleron 27180e11e6 Fix cube geometry wrongly considered empty 2020-08-13 20:43:34 +01:00