Marc Gilleron
30db0c5193
Split VoxelBuffer in two, script-facing wrapper and internal.
...
The internal is the main use within the voxel engine,
and does not inherit Reference.
2021-09-26 04:14:50 +01:00
Marc Gilleron
43adf2d6e7
Fix GCC warning
2021-09-25 17:38:36 +01:00
Marc Gilleron
2a10663081
Tweak docs
2021-09-25 17:35:15 +01:00
Marc Gilleron
b8f21f91fc
Fix VoxelGeneratorGraph sub-resources not registered when duplicate() is used
2021-09-25 17:34:43 +01:00
Marc Gilleron
e4cb16e2a4
Comments
2021-09-25 16:27:53 +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
979e5c9c47
VoxelTool.paste now only expects 0xffffffff to turn off masking.
...
Before it was 0xffffffffffffffff, which the GDScript parser no longer
accepts because it is greater than INT64_MAX.
In the future we may rework this API.
2021-09-24 02:09:58 +01:00
Marc Gilleron
18e0a23d46
Fix task count when a stream is used
2021-09-24 02:06:00 +01:00
Marc Gilleron
44f00176d3
Use std::unordered_set instead of Godot Set in VoxelLodTerrain
2021-09-23 23:49:18 +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
900e5a1a7c
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2021-09-22 20:28:37 +01:00
Marc Gilleron
62c807fa71
Fix graph not recompiling after changing a subresource
2021-09-22 20:28:17 +01:00
Marc Gilleron
ba8d9aad52
Exposed missing warp functions
2021-09-22 19:54:26 +01:00
Marc
4a8c1f6894
Merge pull request #315 from dsrw/macos-build-fix
...
Fixed macos/clang build errors
2021-09-22 19:48:20 +01:00
Scott Wadden
511422c30d
Fixed macos build errors
2021-09-22 09:48:35 -03: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
7f8eabe21f
Don't change expected return value for generate() in scripts, until it is actually used
2021-09-21 19:18:59 +01:00
Marc Gilleron
5fdbccf982
Fix formatting
2021-09-21 19:14:44 +01:00
Marc Gilleron
0da9358d56
Fix GCC warning (2)
2021-09-19 23:20:25 +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
2ffc805c77
Fix GCC warning
2021-09-19 23:07:53 +01:00
Marc Gilleron
c18262d3f8
Added option to turn off random rotation
2021-09-19 21:41:16 +01:00
Marc Gilleron
e602b9bffe
Merge branch 'master' into octree_compression
...
# Conflicts:
# tests/tests.cpp
2021-09-19 20:15:16 +01:00
Marc Gilleron
0b4204f5be
Put task result processing into virtual functions and remove downcasts
2021-09-19 20:13:29 +01:00
Marc Gilleron
95c7dafe72
Fix case where the bulk array is empty
2021-09-19 18:26:34 +01:00
Marc Gilleron
3cf2e92483
Optimized Curve range analysis by dividing it into monotonic sections
2021-09-19 18:20:54 +01:00
Marc Gilleron
fd8d107280
Fix `is_area_editable` converting twice from voxels to blocks
2021-09-19 03:29:09 +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
8e53fbaa47
Merge branch 'master' into octree_compression
2021-09-18 18:18:09 +01:00
Marc Gilleron
1043fa6271
More info about the PoolVector fix
2021-09-18 18:17:39 +01:00
Marc Gilleron
4e23d7b242
Precision about Box3i::from_center_extents
2021-09-18 16:54:04 +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
b785431d62
Update supporters
2021-09-17 21:40:55 +01:00
Marc Gilleron
dea1d5eb41
Quick test addition for measuring time
2021-09-17 21:39:50 +01:00
Marc Gilleron
2971334e85
Changed VoxelToolLodTerrain to use write_box
...
- Should be faster than get/set_voxel
- No longer expose internal data map
2021-09-17 20:01:15 +01:00
Marc Gilleron
cf00db1908
Should not exist yet
2021-09-16 22:16:57 +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
802188f876
Added octree tests
2021-09-16 21:03:44 +01:00
Marc Gilleron
d901eb66b6
Added functions to LodOctree and use squared distances
2021-09-16 21:03:02 +01:00
Marc Gilleron
f68eeac22c
Switch to octree child position formula not involving access to an array
2021-09-16 20:56:56 +01:00
Marc Gilleron
8aaee73157
Merge branch 'master' into octree_compression
2021-09-16 20:52:32 +01:00
Marc Gilleron
9aa4c8242c
Two boxes touching on the side but not overlapping should not be considered intersecting
2021-09-16 20:49:17 +01:00
Marc Gilleron
030a5f8c63
Can be const
2021-09-16 20:47:31 +01:00
Marc Gilleron
ea7b91f4fe
Don't use macros
2021-09-16 20:47:11 +01:00