753 Commits

Author SHA1 Message Date
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
4a290f27c0 Removed bounds support, it not really relevant anymore 2021-01-05 22:24:13 +00:00
Marc Gilleron
825fa4147b Main graph generator now uses buffers for blocks 2021-01-05 18:59:52 +00:00
Marc Gilleron
15fe9ecdeb Fix Wrong position buffer when stride is 1 2021-01-05 18:57:30 +00:00
Marc Gilleron
dafb4f39ff First WIP to try per-buffer processing instead of per-voxel 2021-01-04 22:19:13 +00:00
Marc Gilleron
62c9cb29f4 Update readme 2021-01-04 22:12:23 +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
Marc Gilleron
3e31140ed8 Bind missing constant for the Normalize3D node 2021-01-02 00:58:01 +00:00
Marc Gilleron
394a123bb7 Fixed Clamp node, it was using parameters as adresses 2021-01-01 01:43:46 +00:00
Marc Gilleron
0346de9f6d Added Phyronnaz 2021-01-01 01:43:10 +00:00
Marc Gilleron
ca22dc5a29 Should not be there 2020-12-29 22:18:08 +00:00
Marc Gilleron
e676324e3d Update changelog 2020-12-29 22:15:03 +00:00
Marc Gilleron
5fdc4b6485 Debug check and some formatting 2020-12-29 22:14:49 +00:00
Marc Gilleron
d64340aa73 Small optimization in Remap node 2020-12-29 22:12:31 +00:00
Marc Gilleron
e6c44f9768 Don't recycle materials when we only save blocks
This should only happen if the block is actually about to get unloaded
2020-12-29 22:10:31 +00:00
Marc Gilleron
edfc96e4a5 Fixed crash when hiding terrain while selected in editor 2020-12-27 15:51:03 +00:00
Marc Gilleron
57fac6c5b1 Fix GCC warning 2020-12-26 19:01:49 +00:00
Marc Gilleron
e462cd788a Optimized range analysis for images and spherical map lookups 2020-12-26 18:58:16 +00:00
Marc Gilleron
cc13bbd70a There is an About window now 2020-12-25 17:18:03 +00:00
Marc Gilleron
860c0a2f1d Update changelog 2020-12-25 17:11:08 +00:00
Marc Gilleron
e988cb9124 Show main thread tasks 2020-12-25 17:08:40 +00:00
Marc Gilleron
c94cb9c4a1 Multiply instead of divide 2020-12-25 17:06:40 +00:00
Marc Gilleron
9e423a58f7 Voxel graph optimizations:
- Dynamically adjust SDF scaling to reduce terracing caused by storage resolution
- Optimize range analysis more aggressively
2020-12-24 23:16:34 +00:00
Marc Gilleron
c8c3886c6f Voxels now use 16-bit by default on the SDF and TYPE channels 2020-12-24 23:12:36 +00:00
Marc Gilleron
a12144304f Optimized Transvoxel (nearly twice as fast), also allowing 16, 32 and 64 bit precision 2020-12-23 02:27:54 +00:00
Marc Gilleron
d009049d4f Added experimental functions to bake sphere maps from the generator
- The runtime API now works with float positions
- Fixed XZ optimization, cached positions were not assigned
2020-12-22 02:13:46 +00:00
Marc Gilleron
7c6bfe0dbc Added Normalize node to voxel graph 2020-12-21 20:06:20 +00:00
Marc Gilleron
ae9abb0248 Added SdfSphereHeightmap node to graph generator 2020-12-21 02:00:31 +00:00
Marc Gilleron
eb9a5b7e07 Added background tasks indicator when a terrain is selected 2020-12-20 00:14:08 +00:00
Marc Gilleron
418cf0e630 Streaming/LOD can be set to follow the editor camera instead of being centered on world origin 2020-12-19 23:16:10 +00:00
Marc Gilleron
659e45fe32 Fix hyperlinks not working in about window. Also made license text selectable 2020-12-18 23:12:32 +00:00
Marc Gilleron
6d9fd2f8a0 Voxel terrain nodes now have a common abstract base class. Also explicitely made a few other classes abstract 2020-12-18 22:58:41 +00:00
Marc Gilleron
71b4139fb3 Fix another warning about precedence clarity 2020-12-18 21:29:56 +00:00
Marc Gilleron
4ca7a708d5 Fix warning about precedence clarity 2020-12-18 21:24:41 +00:00
Marc Gilleron
d92adc4d94 Give a different name to release CI builds, they could not be told apart 2020-12-18 21:22:57 +00:00
Marc Gilleron
03f2900f6a Fix error when a region file gets created, it was wrongly trying to migrate because the version wasn't set 2020-12-18 21:20:00 +00:00
Marc Gilleron
2018625b34 Moved simple generators under a simple/ folder 2020-12-18 21:19:02 +00:00
Marc Gilleron
791bdafff1 Meshers are now resources assigned on terrain nodes 2020-12-18 21:01:50 +00:00
Marc Gilleron
89abb37e0f consts 2020-12-18 20:52:09 +00:00
Marc Gilleron
dec9b31801 Rename index() to get_index() to make it less like a variable name 2020-12-18 20:48:08 +00:00
Marc Gilleron
87e575e504 Use reinterpret_cast instead of ambiguous C-style cast 2020-12-18 20:46:54 +00:00
Marc Gilleron
a37b3a9c06 Don't show menu by default 2020-12-17 23:01:35 +00:00
Marc Gilleron
2f8687fd12 Added About window and list of donors 2020-12-17 21:45:44 +00:00
Marc Gilleron
e73cdaa707 Exclude editor stuff when building an export template 2020-12-04 22:01:41 +00:00
Marc Gilleron
117802c807 Unused variable 2020-11-21 19:51:41 +00:00
Marc Gilleron
57d09b5b7d Merge branch 'master' of https://github.com/Zylann/godot_voxel 2020-11-21 19:07:30 +00:00
Marc Gilleron
25445f3f6c Added debug function to dump a VoxelLodTerrain as nodes in a PackedScene 2020-11-21 18:31:28 +00:00
Marc Gilleron
d52f882ae1 VoxelMap is no longer bound, it had no use in the API 2020-11-21 18:31:11 +00:00