Marc Gilleron
37266b28d3
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2022-07-10 22:14:05 +01:00
Marc Gilleron
522b8d86d3
Fix boundary gizmo not shown
2022-07-10 22:13:47 +01:00
Marc Gilleron
97e4101234
Show voxel bounds as min/max instead of pos/size
2022-07-10 22:04:20 +01:00
Marc Gilleron
d6d592bb20
Mesh deallocation seems to not be an issue anymore.
...
If it still is, it can be moved to a thread since storage is thread-safe.
Profiling has shown however mesh instances can be slow to deallocate now
(details in a comment added in recent commits), but it's not as bad as how
slow meshes used to be. Need to keep an eye on that.
2022-07-10 17:11:51 +01:00
Marc Gilleron
6327b31320
Improved LOD fading
...
- Cracks no longer appear at seams when transitions change
- Fading is no longer applied to blocks behind the camera
2022-07-10 16:57:09 +01:00
Marc Gilleron
f0da2d041e
Fixed lod_fade_duration
property was not accepting decimal numbers
2022-07-10 16:46:10 +01:00
Marc
ba5441d259
Merge pull request #409 from cridenour/patch-1
...
Update broken image links in README
2022-07-09 19:46:08 +01:00
Chris Ridenour
46218353a7
Update broken image links in README
...
Looks like they were broken with a recent image optimization.
2022-07-09 14:41:55 -04:00
Marc Gilleron
bf6fe0acb7
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2022-07-04 20:15:15 +01:00
Marc Gilleron
d7a2e4e5c5
Don't crash when a generator is assigned but no mesher
2022-07-04 20:14:49 +01:00
Marc Gilleron
2d9081917e
Space
2022-07-04 20:14:04 +01:00
Marc
0bbf74d900
Merge pull request #407 from aaronfranke/optimize-png-svg
...
Optimize SVG images and convert most PNG images to WebP
2022-07-04 19:29:25 +01:00
Aaron Franke
c4777a66d4
Optimize SVG images and convert most PNG images to WebP
2022-07-04 00:56:04 -05:00
Marc
726822f3a7
Merge pull request #406 from aaronfranke/density
...
Make density calculation performed with doubles instead of 32-bit floats
2022-07-04 00:23:33 +01:00
Aaron Franke
8dd25ce242
Make density calculation performed with doubles instead of 32-bit floats
2022-07-03 18:11:44 -05:00
Marc Gilleron
e6ffc0ad77
Assign collision hint for VoxelLodTerrain mesh requests.
...
That wasn't required so far, but is for correctness.
2022-07-03 21:36:07 +01:00
Marc Gilleron
cc967105b2
apply_result
is optional
2022-07-03 21:13:56 +01:00
Marc Gilleron
3792cd486d
Removed I/O thread, all tasks use the same pool.
...
- Now one more thread becomes available to do other tasks
- Introduced "serial" tasks to keep similar logic to the old I/O thread
- Added some tests
- Updated docs
2022-07-03 21:11:02 +01:00
Marc Gilleron
9b0a22ac06
Override specifier
2022-07-03 15:14:23 +01:00
Marc Gilleron
1b9ce1b309
Disable threaded mesh building on low-end renderers (only GLES3)
2022-07-03 03:40:33 +01:00
Marc Gilleron
ec24204ecc
Add override specifiers
2022-07-03 03:39:50 +01:00
Marc Gilleron
997e7b788d
Fix linking error with unoptimized GCC builds
2022-07-03 03:27:15 +01:00
Marc Gilleron
5321b0dc68
Fixed shapes not built properly when deferred collision is enabled
2022-07-03 03:26:31 +01:00
Marc Gilleron
7634df561e
TODO, I'm not sure what to do about this
2022-07-03 03:25:57 +01:00
Marc Gilleron
0bf9a9f87f
Fix uninitialized variable when computing graph hash with sub-resources
2022-07-03 03:25:24 +01:00
Marc Gilleron
723ddfc958
Don't use production=yes
in debug builds
2022-07-03 01:00:06 +01:00
Marc Gilleron
6a03fbf691
Compile debug builds on the Linux CI
2022-07-02 23:52:55 +01:00
Marc Gilleron
db04aa7fb1
Fix shadowed variable
2022-07-02 23:46:52 +01:00
Marc Gilleron
30e7ae44d7
Update changelog
2022-07-02 23:05:43 +01:00
Marc Gilleron
06b3cbf20d
Fix error spam when loading meshes in VoxelTerrain with material override
2022-07-02 23:02:38 +01:00
Marc Gilleron
dac0af3a04
Build mesh resource on the task thread now the Vulkan renderer supports it
2022-07-02 23:01:49 +01:00
Marc Gilleron
8bb8bfccab
Sort for determinism
2022-07-02 22:43:40 +01:00
Marc Gilleron
8a9825847e
Added live update option to auto-regenerate when the graph is modified
2022-06-30 22:01:17 +01:00
Marc Gilleron
c10c273fe5
Fix collider generation with VoxelMesherTransvoxel
2022-06-29 01:30:14 +01:00
Marc Gilleron
077a897b01
Improve error message for missing scene in VoxelInstancer
2022-06-29 00:21:31 +01:00
Marc Gilleron
2b94c2968d
Missing return value in release builds
2022-06-26 19:51:18 +01:00
Marc Gilleron
01ce2e4fbd
Unused function
2022-06-26 19:33:00 +01:00
Marc Gilleron
6e501811d1
Unused variable
2022-06-26 19:21:21 +01:00
Marc Gilleron
49a5e7f526
Update changelog
2022-06-26 19:02:04 +01:00
Marc Gilleron
a4722c4b12
Merge branch 'master' into transition_mesh_tweaks
2022-06-26 18:45:51 +01:00
Marc Gilleron
afb83285f0
Update Transvoxel shader in docs, remove unnecessary shift
2022-06-26 18:33:03 +01:00
Marc Gilleron
d9b74359f8
Provide a default material for VoxelMesherTransvoxel with variable-lod
2022-06-26 17:21:05 +01:00
Marc Gilleron
5a05854fde
Update include guards
2022-06-26 17:20:21 +01:00
Marc Gilleron
eaa40876b8
Don't generate transition meshes when VoxelMesherTransvoxel is used in a fixed-lod volume
2022-06-26 17:20:08 +01:00
Marc Gilleron
a7934b9e2c
Exposed debug drawing options on VoxelLodTerrain
2022-06-26 14:04:12 +01:00
Marc Gilleron
fd59ed7d2a
Fix unused variable
2022-06-26 01:00:48 +01:00
Marc Gilleron
8ee5d8f57f
Fix warning about shadowing
2022-06-26 01:00:40 +01:00
Marc Gilleron
c072ff4db5
Fix GCC warning about shadowing a previous local
2022-06-26 01:00:23 +01:00
Marc Gilleron
61a6d5f39b
Update changelog
2022-06-26 00:45:43 +01:00
Marc Gilleron
5c720cda66
Fix inconsistent result with integer do_sphere radius
2022-06-26 00:35:25 +01:00