Alex
8c7730230f
missing include for shared_ptr type
2021-11-06 08:16:10 +02:00
Alex
3c47d29c4a
1 more missing header for unique_ptr
2021-11-06 08:10:34 +02:00
Alex
633e9ab307
added missing include for shared_ptr
2021-11-06 08:04:41 +02:00
Marc Gilleron
0c59443e79
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2021-11-06 02:08:46 +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
c5388c83db
Document SQLite path property
2021-11-06 00:15:21 +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
0655371078
This comment wasn't accurate
2021-11-06 00:11:43 +00:00
Marc Gilleron
2dfd4c0eab
Update supporters
2021-11-06 00:11:30 +00:00
Marc
370bce9de3
Merge pull request #325 from dsrw/clang-fixes
...
Fixed clang build
2021-11-03 13:37:20 +00:00
Scott Wadden
6625db2d70
Fixed clang build
2021-11-03 00:17:20 -03:00
Marc Gilleron
d32dfc9c67
Fixed collision shapes not being saved
2021-10-31 20:13:44 +00:00
Marc Gilleron
536d1f11da
Fixed scene property neither being exposed nor being saved
2021-10-31 20:13:27 +00:00
Marc Gilleron
ca7ac42cde
Merge branch 'master' into full_load_mode
...
# Conflicts:
# edition/voxel_tool_lod_terrain.cpp
# generators/graph/voxel_generator_graph.cpp
# terrain/voxel_lod_terrain.cpp
2021-10-31 16:17:27 +00:00
Marc Gilleron
be39cf78b0
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2021-10-31 16:06:09 +00:00
Marc Gilleron
6441d1b864
Deprecate Vector3i(Vector3) constructor, make conversions explicit
...
Some conversions were wrong/unintented.
This is also in prevision of using Godot 4 Vector3i,
which default behavior differs from this module.
2021-10-31 16:01:47 +00:00
Marc Gilleron
8ab6abe04a
Moved VoxelInstanceLibrary menu to the inspector
2021-10-31 15:02:42 +00:00
Marc Gilleron
f86371af56
Fix popup opening on top-left corner instead of center of editor
2021-10-31 14:33:45 +00:00
Marc Gilleron
05386d8512
Fix list formatting
2021-10-31 14:20:30 +00:00
Marc
61d5d09372
Merge pull request #318 from qarmin/master
...
Add test CI and fuzzer
2021-10-31 14:19:57 +00:00
Rafał Mikrut
c0f4271c5e
Add test CI and fuzzer
2021-10-29 19:55:56 +02: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
59a7c3192e
Soft-crash also when divisor is zero, MSVC debugger doesn't break on that
2021-10-28 23:52:18 +01:00
Marc Gilleron
b2315a6cc4
Check earlier for invalid extents
2021-10-28 23:51:30 +01:00
Marc Gilleron
38ec2f43d1
Align program memory of VoxelGraphRuntime
2021-10-28 19:32:38 +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
4fc6731b8d
Prevent instancing VoxelTool classes manually
2021-10-26 20:17:40 +01:00
Marc Gilleron
6cd143d392
Enable collisions by default on VoxelViewer
2021-10-15 22:51:53 +01:00
Marc Gilleron
a99d166112
Should not be in the repo
2021-10-14 19:38:50 +01:00
Marc Gilleron
fcca722d52
Fix signedness
2021-10-13 22:00:42 +01:00
Marc Gilleron
daf7bf821a
Fix compilation
2021-10-13 21:50:47 +01:00
Marc Gilleron
39184ddb61
Merge branch 'master' into full_load_mode
2021-10-13 21:04:17 +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
375c68b0de
Merge branch 'master' into full_load_mode
2021-10-13 20:29:58 +01:00
Marc Gilleron
60ac14a745
Added one more SI level for number size
2021-10-13 20:29:43 +01:00
Marc Gilleron
a226111818
Run edits after preloads without a sync point on the main thread
...
- Still room for improvement, more parallelism is possible
- Started moving the data into its own structure
- Added locks to secure access to the data map (not truly used yet)
- Tasks with a tracker can schedule next ones when they complete
- Data loading responses also come with a callback, no buffer anymore
- Use new data grid to cache map access
2021-10-13 20:28:20 +01:00
Marc Gilleron
a2096b2014
Fix heightmap generators when used with VoxelLodTerrain in blocky mode
2021-10-08 02:35:52 +01:00
Marc Gilleron
62447c7133
Moved some temporary vectors away from members.
...
They can be static thread locals since the whole point is to
re-use their allocated capacity. We don't need them to retain
any state between two calls to _process.
2021-10-06 18:34:02 +01:00
Marc Gilleron
123a3e3c9d
Split VoxelLodTerrain::_process into sub-functions
2021-10-05 20:47:28 +01:00
Marc Gilleron
ceb8553e4a
Avoid crash if the argument is invalid (though it's not really a public function)
2021-10-04 20:15:32 +01:00
Marc Gilleron
3597bce3e5
Update threads section
2021-10-04 19:34:01 +01:00
Marc Gilleron
c5b0ac43fb
Semi-async do_sphere() implementation. May change though.
...
It is a lot better than the fully synchronous do_sphere(),
but it would be a lot better if we could move everything async
2021-10-04 19:20:36 +01:00
Marc Gilleron
1d62649b9a
Fix leaking Pool objects
2021-10-04 01:36:15 +01:00
Marc Gilleron
c921922a44
Fix missing assignment
2021-10-04 01:33:32 +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
c5972a420e
Fix compilation and gizmos
2021-10-03 15:47:56 +01:00