Commit Graph

1021 Commits (2c6eb114b220d81348163c9cbe3385bd03887513)

Author SHA1 Message Date
Marc Gilleron 2c6eb114b2 Fix order of SDF arguments 2021-04-07 00:05:38 +01:00
Marc Gilleron bcba1a8c0f Fix wrong condition in try_get_input 2021-04-07 00:05:00 +01:00
Marc Gilleron 0c830ded40 Fix wrong input used in sdf subtract node 2021-04-07 00:04:33 +01:00
Marc Gilleron 9a131ed4ff Merge branch 'master' into block_size_decoupling
# Conflicts:
#	server/voxel_server.cpp
2021-04-06 22:00:55 +01:00
Marc Gilleron c746031eba Fix used channels when copying data for meshing 2021-04-06 21:59:36 +01:00
Marc 1448c5ea61
Merge pull request #250 from jacobcoughenour/instance_shadow_mode
Added shadow mode setting to VoxelInstanceLibraryItems
2021-04-06 21:52:16 +01:00
jacobcoughenour 13346b3495 Remove unnecessary enum bind and add shadow setting to doc 2021-04-05 22:50:03 -04:00
jacobcoughenour 279e23fa3d Fix shadow setting not updating in the editor 2021-04-05 22:48:29 -04:00
jacobcoughenour c0721a7404 Added shadow mode setting to VoxelInstanceLibraryItems 2021-04-05 00:24:46 -04:00
Marc Gilleron db8074c940 Merge branch 'master' into block_size_decoupling 2021-04-05 03:50:12 +01:00
Marc Gilleron ef5ec4b059 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-04-05 03:49:45 +01:00
Marc Gilleron cc555b6573 Fix holes in terrain when LOD distance is set to a value non-multiple of block size 2021-04-05 03:49:36 +01:00
Marc Gilleron 14fcddcee8 Fix meshes not loading in certain configurations where voxel bounds were not rounded correctly 2021-04-05 03:47:25 +01:00
Marc Gilleron e0f2f706aa Added debug_get_data_block_info and fix/improve debug_get_mesh_block_info 2021-04-05 03:46:15 +01:00
Marc Gilleron 19af22fb2b Added voxel_to_mesh_block_position 2021-04-05 03:44:52 +01:00
Marc e38fb630e6
Merge pull request #249 from jacobcoughenour/instance_height_fix
Fix instance generator using wrong height for filtering
2021-04-05 03:43:27 +01:00
Marc Gilleron befe0cc7e1 Added debug method to get instance counts 2021-04-04 23:44:22 +01:00
jacobcoughenour e66a49ca74 Fix instance generator using wrong height for filtering 2021-04-04 15:18:13 -04:00
Marc Gilleron 966551fdfd Merge branch 'master' into block_size_decoupling 2021-04-03 23:51:18 +01:00
Marc Gilleron 5f18276b8d Expose setter for mesh block size 2021-04-03 23:51:11 +01:00
Marc Gilleron 289da1d128 Add option to turn off XZ caching optimization 2021-04-03 21:39:22 +01:00
Marc Gilleron 18f211822f Fix ignored buffers still being used when optimized execution map is used 2021-04-03 20:44:48 +01:00
Marc Gilleron e274330164 Print absence of pools instead of nothing 2021-04-03 20:43:43 +01:00
Marc Gilleron 9bcc3580d6 Added first C++ test 2021-04-03 20:40:35 +01:00
Marc Gilleron 758e3bd227 Allow to use block size 32 for mesh blocks while using 16 for data blocks
Still hardcoded but a config should be added
2021-04-03 20:39:37 +01:00
Marc Gilleron 24428d5af9 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-04-03 00:59:14 +01:00
Marc Gilleron a2a29f6c3c Switched CI to use Godot 3.x branch 2021-04-03 00:58:31 +01:00
Marc 7e27821f71
Merge pull request #248 from stengun/patch-1
Add missing bindings for constants
2021-04-01 18:06:59 +01:00
Roberto Benfatto eef1d076a0
Add missing bindings for constants
Without those bindings, exported api.json generates the class without the enum despite having a method with a return value of that type. This fixes compilation with generated headers in godot-cpp
2021-04-01 17:45:07 +02:00
Marc Gilleron 225f332e1f Fix signedness warning 2021-03-27 22:27:55 +00:00
Marc Gilleron c38989f57b Unnecessary reference 2021-03-27 22:09:57 +00:00
Marc Gilleron 371b1edf2c Fix some shadowing GCC doesn't like 2021-03-27 21:51:39 +00:00
Marc Gilleron 7253308bf8 Remove unnecessary qualification 2021-03-27 19:48:33 +00:00
Marc Gilleron 9b785b35d9 Update changelog 2021-03-27 19:33:29 +00:00
Marc Gilleron 29c5141dda Increase default clip threshold to reduce chance of artifacts 2021-03-27 16:39:21 +00:00
Marc Gilleron 05c35caa92 Added categories to terrain properties 2021-03-27 16:38:52 +00:00
Marc Gilleron c86feda259 Replace lod_split_scale with lod_distance for better clarity 2021-03-27 16:38:20 +00:00
Marc Gilleron 5766bc8b94 Merge branch 'master' into lod_fade_v2
# Conflicts:
#	README.md
#	editor/about_window.cpp
2021-03-27 01:48:36 +00:00
Marc Gilleron a0a2abfcd0 Update donors and version 2021-03-27 01:47:16 +00:00
Marc Gilleron 4e1442cb0b Added clipping debug option 2021-03-27 01:46:07 +00:00
Marc Gilleron 5e99992cb3 Added screenshots of basic generators to the doc 2021-03-27 00:58:35 +00:00
Marc Gilleron bd09b18911 Some precisions 2021-03-27 00:57:46 +00:00
Marc Gilleron 67b5805069 Update readme 2021-03-27 00:57:28 +00:00
Marc Gilleron 6e176c1cdd Fix basic noise generators not updating their internal resource copy 2021-03-27 00:57:08 +00:00
Marc Gilleron c7c24a3d95 Expose performance tuning parameters 2021-03-22 00:02:46 +00:00
Marc Gilleron 08bfcd96d4 Optimized smooth subtract and union by marking unused input cases.
This allows optimized execution map to pick them up and skip dependencies
2021-03-22 00:02:16 +00:00
Marc Gilleron 03bfc09e99 Implemented execution map to optimize out nodes locally
- Added optional optimization of execution map
- Added visualization of skipped nodes in the editor debug tool
2021-03-21 18:48:00 +00:00
Marc Gilleron 30e33849fe Use SDF union and subtract in VoxelTool 2021-03-17 18:11:29 +00:00
Marc Gilleron 9188ae619b Optimized several range analysis functions
- square, cube and polynomials are more precise
- lerp() is more precise
- smooth union and subtract are more precise
- fallback on simple min/max if smoothness is zero
2021-03-17 18:11:00 +00:00
Marc Gilleron 0720618295 Fix wrong AABB in range analysis debug tool 2021-03-17 18:05:54 +00:00