27 Commits

Author SHA1 Message Date
Marc Gilleron
a5fa444a00 Fix ambiguous calls 2022-02-05 16:39:19 +00:00
Marc Gilleron
8b15cdf604 Can be const 2022-02-05 16:27:52 +00:00
Marc Gilleron
5685e3c41e Use references instead of pointers, they should not be null 2022-02-05 16:23:03 +00:00
Marc Gilleron
239a87a6e9 Moved noise and SDF range utilities to util/ 2022-02-05 16:14:57 +00:00
Marc Gilleron
d6c8915b13 Added experimental noise analysis window for FastNoise2 (mostly for research) 2022-01-16 23:08:37 +00:00
Marc Gilleron
08f3786ff6 Use typed code instead of strings in property hints 2022-01-16 16:04:25 +00:00
Marc Gilleron
b67ca3d903 Namespaced every registered class 2022-01-09 22:16:44 +00:00
Marc Gilleron
c56492b89a Fix signedness warning 2022-01-09 00:23:21 +00:00
Marc Gilleron
62a314d7d7 Fix strings should really be const, to fix GCC warning write-strings 2022-01-08 21:19:23 +00:00
Marc Gilleron
bebafd263e Fix compilation errors for GCC 2022-01-04 23:17:06 +00:00
Marc Gilleron
64415a3c86 Configure clang-format to put a newline after template declarations 2022-01-04 22:15:57 +00:00
Marc Gilleron
e20684ce69 Namespaced math funcs 2022-01-03 23:14:18 +00:00
Marc Gilleron
a9476227cb Namespaced Interval 2022-01-03 22:29:39 +00:00
Marc Gilleron
204b64ac23 Added FastNoise2 to VoxelGeneratorGraph 2021-12-31 18:23:42 +00:00
Marc Gilleron
666b9eb7e8 Expose more remap parameters 2021-12-31 18:22:46 +00:00
Marc Gilleron
284c1f5d2f Fix duplicate constant 2021-12-31 18:03:46 +00:00
Marc Gilleron
cfa678c446 Expose non-static version of get_simd_level_name 2021-12-31 16:32:17 +00:00
Marc Gilleron
6bbc1f898a Exposed tileable grid noise generation 2021-12-31 16:31:46 +00:00
Marc Gilleron
56b4920902 Updated and integrated FastNoise2 2021-12-31 05:06:00 +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
ba8d9aad52 Exposed missing warp functions 2021-09-22 19:54:26 +01:00
Marc Gilleron
862e036317 More precise range analysis for FastNoiseLite 2021-03-14 18:47:23 +00:00
Marc Gilleron
d1207bdd96 Reorganized some utility files 2021-02-17 20:34:35 +00:00
Marc Gilleron
973cf729cd Added FastNoise2 for SIMD noise, but it won't be integrated yet.
It requires C++17, while Godot uses C++14. I was unable to override it,
and I'm not sure how compatible this will be with the runtime.
At least this would be doable in Godot 4.
2021-01-09 16:35:40 +00:00
Marc Gilleron
3364748fef Integrate FastNoiseLite to voxel graph generator 2021-01-03 20:23:45 +00:00
Marc Gilleron
ff0b9271cf Make FastNoiseLite access constant 2021-01-03 17:43:18 +00:00
Marc Gilleron
c8dcbc55e3 Added FastNoiseLite 2021-01-02 00:59:12 +00:00