Marc Gilleron
24e9e36434
Namespace SDF functions
2022-01-03 03:18:58 +00:00
Marc Gilleron
922f361cb0
Made it compile in Godot 4
...
- Made a bunch of changes to comply with Godot 4 API
- Use Godot's Vector3i and add the missing stuff with helper functions
- Transvoxel uses custom attributes API, the old way would not work
- Wrap MeshOptimizer in a unique namespace (see build script why)
- Added clang-format file for the module as some rules now differ
- Prevent thirdparty code and lookup tables from being clang-formatted
- Very likely full of runtime bugs that need fixing
2021-12-13 21:38:10 +00:00
Marc Gilleron
3cf2e92483
Optimized Curve range analysis by dividing it into monotonic sections
2021-09-19 18:20:54 +01:00
Marc Gilleron
b538a0beb8
Moved noise tests to tests folder
2021-06-19 18:34:50 +01:00
Marc Gilleron
371b1edf2c
Fix some shadowing GCC doesn't like
2021-03-27 21:51:39 +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
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
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
862e036317
More precise range analysis for FastNoiseLite
2021-03-14 18:47:23 +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 Gilleron
d1207bdd96
Reorganized some utility files
2021-02-17 20:34:35 +00:00
Marc Gilleron
e00ed9b538
Move all node logic to function pointers, each combined into one place
2021-01-07 22:19:06 +00:00
Marc Gilleron
2cfa46bf0d
Removed wrong bound estimation for value cubic noise, it caused rare but ugly gliches in the terrain
2021-01-07 21:02:24 +00:00
Marc Gilleron
3364748fef
Integrate FastNoiseLite to voxel graph generator
2021-01-03 20:23:45 +00:00
Marc Gilleron
edfc96e4a5
Fixed crash when hiding terrain while selected in editor
2020-12-27 15:51:03 +00:00
Marc Gilleron
e462cd788a
Optimized range analysis for images and spherical map lookups
2020-12-26 18:58:16 +00:00
Marc Gilleron
61f17ce96d
Formatting
2020-10-25 20:38:23 +00:00
Marc Gilleron
00fdd263c4
Fix wrong arguments to OpenSimplexNoise, caused array overrun
2020-07-07 18:52:29 +01:00
Marc Gilleron
dbca01de59
Implemented more accurate noise range detection, moved range utils to their own file
2020-02-24 19:32:18 +00:00