1058 Commits

Author SHA1 Message Date
Marc Gilleron
e8d54e88ef Fix instancer error in some rare cases where a block has an empty multimesh 2021-03-12 23:38:13 +00:00
Marc Gilleron
8adbe86da6 Formatting 2021-03-12 23:37:37 +00:00
Marc Gilleron
c46d5e973d Fix coordinates 2021-03-12 23:36:11 +00:00
Marc Gilleron
31c02ad6ee Fix VoxelTerrain being left invisible due to new defaults 2021-03-12 23:35:59 +00:00
Marc Gilleron
944791d5ce Fixes to LOD fading 2021-03-12 23:35:51 +00:00
Marc Gilleron
43588cae17 Fix snapped implementation, it was not snapping size correctly 2021-03-12 23:33:29 +00:00
Marc Gilleron
fb952ef119 Allow lower split scale 2021-03-12 23:32:02 +00:00
Marc Gilleron
fc9a1be3ab Use square root in distance-based priority
Otherwise it would not work with LOD modifier
2021-03-12 23:31:20 +00:00
Marc
238e34838d
Merge pull request #243 from lhinuz/master
Update file_locker.h
2021-03-12 18:14:27 +00:00
lhinuz
3430c3cf9f
Update file_locker.h
Missing file pointer convert.
2021-03-12 08:34:57 +08:00
Marc Gilleron
5a8eee7d4b Added debug function to get octree state 2021-03-11 22:55:52 +00:00
Marc
2654d8805f
Merge pull request #240 from Anshul7sp1/patch-1
bug fix in voxel_lod_terrain.cpp
2021-03-11 22:44:16 +00:00
Marc
029a53ffcd
Merge pull request #241 from great90/master
Fix VoxelGenerator*::set_channel dosen't call emit_changed
2021-03-11 22:43:04 +00:00
great90
cc17af3243 Fix VoxelGenerator*::set_channel dosen't call emit_changed 2021-03-09 18:03:36 +08:00
Anshul Mehta
2f355c5ac0
bug fix in voxel_lod_terrain.cpp
Fixes a bug in calculation of  bound_max.
2021-03-09 09:58:32 +05:30
Marc
2b86986d2b
Merge pull request #238 from stengun/patch-1
Fix tautological-compare error
2021-03-07 22:02:43 +00:00
Roberto Benfatto
271458f4aa
Fix tautological-compare error
Comparing the bitwise 'and' result and a number inside the if in this way results always false unless the bitwise 'and' result is 1.
2021-03-07 17:02:37 +01:00
Marc
aa0eb670b6
Merge pull request #235 from great90/master
Fix dead loop in VoxelBuffer
2021-03-07 01:20:07 +00:00
great90
94755ae420 Fix dead loop in 'VoxelBuffer::for_each_voxel_metadata_in_area' and 'VoxelBuffer::clear_voxel_metadata_in_area' 2021-03-05 18:08:39 +08:00
Marc Gilleron
cf81f83382 Re-implemented lod fade 2021-03-02 22:49:42 +00:00
Marc Gilleron
4d68f2d276 Update supporters 2021-03-02 21:10:27 +00:00
Marc Gilleron
9f11a288b0 Fix VoxelInstanceLibraryItem removal 2021-02-26 18:42:07 +00:00
Marc Gilleron
534ed5c254 Some precision 2021-02-26 18:40:40 +00:00
Marc Gilleron
76ec90fe34 Moved constants and tables under a folder 2021-02-21 23:58:00 +00:00
Marc Gilleron
09c815e253 Implemented copy and paste for VoxelToolTerrain (untested) 2021-02-21 18:23:56 +00:00
Marc Gilleron
31e5130708 Remove unreachable return 2021-02-21 18:21:05 +00:00
Marc Gilleron
71384e25bc Moved sdf functions to their own file 2021-02-21 18:18:01 +00:00
Marc Gilleron
b51897b8df Added voxel raycast to VoxelToolLodTerrain
- Made more precise with an option to use binary search (unoptimized)
- Distance along ray is now available in blocky terrains as well
2021-02-21 03:08:47 +00:00
Marc Gilleron
00fe474d46 Attempted again to integrate FastNoise2, but C++17 is really needed. 2021-02-21 03:02:32 +00:00
Marc Gilleron
8b2278a2d6 Profiling scopes 2021-02-20 00:36:26 +00:00
Marc Gilleron
49e95fb3bb Update changelog 2021-02-20 00:35:37 +00:00
Marc Gilleron
88d0b299a3 Typo 2021-02-20 00:35:29 +00:00
Marc Gilleron
cb2fcdce1b Fix signedness warning 2021-02-19 01:51:06 +00:00
Marc Gilleron
a3fd0a1afd Print memory pool debug info only in verbose mode 2021-02-19 01:36:14 +00:00
Marc Gilleron
f1e2ea9ad4 Update to latest Godot's threading primitives 2021-02-19 01:30:22 +00:00
Marc Gilleron
6208699281 Added smooth union and subtraction 2021-02-18 23:29:00 +00:00
Marc Gilleron
fa2efcf75a Fix missing bindings 2021-02-18 21:17:52 +00:00
Marc Gilleron
f8d5989998 Fix wrong boundary check 2021-02-18 21:17:22 +00:00
Marc Gilleron
4d033a2bb4 Added collision update delay to accelerate edit spam a little.
Not easy to use yet, might need the user to use voxel raycast instead of
physics because the hit points will not update often as they sculpt
2021-02-18 19:50:47 +00:00
Marc Gilleron
637a9dc399 Fix list formatting 2021-02-17 20:35:47 +00:00
Marc Gilleron
d1207bdd96 Reorganized some utility files 2021-02-17 20:34:35 +00:00
Marc Gilleron
d08c911579 Fix GCC warning 2021-02-16 23:52:56 +00:00
Marc Gilleron
a3018e84e6 Fix missing header and signedness 2021-02-16 23:36:37 +00:00
Marc Gilleron
4bdadb2ffd Fix GCC warning 2021-02-16 23:07:59 +00:00
Marc Gilleron
1c4542c8cf Fix warning 2021-02-16 22:47:13 +00:00
Marc Gilleron
c5a4dd8f72 Fix release compilation 2021-02-16 22:38:09 +00:00
Marc Gilleron
8969ae3d18 Stop using RevoluPowered's cache as in Godot's repo 2021-02-16 22:37:14 +00:00
Marc Gilleron
26eebd3c66 Fix warnings 2021-02-16 22:03:03 +00:00
Marc Gilleron
7250e5a18c Fix warning 2021-02-16 21:44:01 +00:00
Marc Gilleron
0f1d112a4d Fix missing header 2021-02-16 21:30:34 +00:00