Commit Graph

951 Commits (2d283bcdfceffd098ed065809e5b065106ed7897)

Author SHA1 Message Date
Marc Gilleron 2d283bcdfc Fix `1.f` not giving the maximum u16 value when set on a VoxelBuffer 2021-03-12 23:41:11 +00:00
Marc Gilleron ea1d617371 Implemented "chunking" of requested blocks in graph generator
so range analysis can remain precise enough even with larger blocks
2021-03-12 23:40:38 +00:00
Marc Gilleron ba5c0bcb17 Use common default 2021-03-12 23:38:37 +00:00
Marc Gilleron e8d54e88ef Fix instancer error in some rare cases where a block has an empty multimesh 2021-03-12 23:38:13 +00:00
Marc Gilleron 8adbe86da6 Formatting 2021-03-12 23:37:37 +00:00
Marc Gilleron c46d5e973d Fix coordinates 2021-03-12 23:36:11 +00:00
Marc Gilleron 31c02ad6ee Fix VoxelTerrain being left invisible due to new defaults 2021-03-12 23:35:59 +00:00
Marc Gilleron 944791d5ce Fixes to LOD fading 2021-03-12 23:35:51 +00:00
Marc Gilleron 43588cae17 Fix snapped implementation, it was not snapping size correctly 2021-03-12 23:33:29 +00:00
Marc Gilleron fb952ef119 Allow lower split scale 2021-03-12 23:32:02 +00:00
Marc Gilleron fc9a1be3ab Use square root in distance-based priority
Otherwise it would not work with LOD modifier
2021-03-12 23:31:20 +00:00
Marc Gilleron 5a8eee7d4b Added debug function to get octree state 2021-03-11 22:55:52 +00:00
Marc Gilleron cf81f83382 Re-implemented lod fade 2021-03-02 22:49:42 +00:00
Marc Gilleron 4d68f2d276 Update supporters 2021-03-02 21:10:27 +00:00
Marc Gilleron 9f11a288b0 Fix VoxelInstanceLibraryItem removal 2021-02-26 18:42:07 +00:00
Marc Gilleron 534ed5c254 Some precision 2021-02-26 18:40:40 +00:00
Marc Gilleron 76ec90fe34 Moved constants and tables under a folder 2021-02-21 23:58:00 +00:00
Marc Gilleron 09c815e253 Implemented `copy` and `paste` for VoxelToolTerrain (untested) 2021-02-21 18:23:56 +00:00
Marc Gilleron 31e5130708 Remove unreachable return 2021-02-21 18:21:05 +00:00
Marc Gilleron 71384e25bc Moved sdf functions to their own file 2021-02-21 18:18:01 +00:00
Marc Gilleron b51897b8df Added voxel raycast to VoxelToolLodTerrain
- Made more precise with an option to use binary search (unoptimized)
- Distance along ray is now available in blocky terrains as well
2021-02-21 03:08:47 +00:00
Marc Gilleron 00fe474d46 Attempted again to integrate FastNoise2, but C++17 is really needed. 2021-02-21 03:02:32 +00:00
Marc Gilleron 8b2278a2d6 Profiling scopes 2021-02-20 00:36:26 +00:00
Marc Gilleron 49e95fb3bb Update changelog 2021-02-20 00:35:37 +00:00
Marc Gilleron 88d0b299a3 Typo 2021-02-20 00:35:29 +00:00
Marc Gilleron cb2fcdce1b Fix signedness warning 2021-02-19 01:51:06 +00:00
Marc Gilleron a3fd0a1afd Print memory pool debug info only in verbose mode 2021-02-19 01:36:14 +00:00
Marc Gilleron f1e2ea9ad4 Update to latest Godot's threading primitives 2021-02-19 01:30:22 +00:00
Marc Gilleron 6208699281 Added smooth union and subtraction 2021-02-18 23:29:00 +00:00
Marc Gilleron fa2efcf75a Fix missing bindings 2021-02-18 21:17:52 +00:00
Marc Gilleron f8d5989998 Fix wrong boundary check 2021-02-18 21:17:22 +00:00
Marc Gilleron 4d033a2bb4 Added collision update delay to accelerate edit spam a little.
Not easy to use yet, might need the user to use voxel raycast instead of
physics because the hit points will not update often as they sculpt
2021-02-18 19:50:47 +00:00
Marc Gilleron 637a9dc399 Fix list formatting 2021-02-17 20:35:47 +00:00
Marc Gilleron d1207bdd96 Reorganized some utility files 2021-02-17 20:34:35 +00:00
Marc Gilleron d08c911579 Fix GCC warning 2021-02-16 23:52:56 +00:00
Marc Gilleron a3018e84e6 Fix missing header and signedness 2021-02-16 23:36:37 +00:00
Marc Gilleron 4bdadb2ffd Fix GCC warning 2021-02-16 23:07:59 +00:00
Marc Gilleron 1c4542c8cf Fix warning 2021-02-16 22:47:13 +00:00
Marc Gilleron c5a4dd8f72 Fix release compilation 2021-02-16 22:38:09 +00:00
Marc Gilleron 8969ae3d18 Stop using RevoluPowered's cache as in Godot's repo 2021-02-16 22:37:14 +00:00
Marc Gilleron 26eebd3c66 Fix warnings 2021-02-16 22:03:03 +00:00
Marc Gilleron 7250e5a18c Fix warning 2021-02-16 21:44:01 +00:00
Marc Gilleron 0f1d112a4d Fix missing header 2021-02-16 21:30:34 +00:00
Marc Gilleron 601c1c68f1 Merge branch 'instancing' 2021-02-16 21:17:04 +00:00
Marc Gilleron cb87e8210e Update changelog 2021-02-16 21:16:43 +00:00
Marc Gilleron f87510cbcf Fixed a few links 2021-02-16 21:16:37 +00:00
Marc Gilleron 66f070096c Updated Markdown API 2021-02-16 20:54:45 +00:00
Marc Gilleron 1f6eec17fb Added missing VoxelStreamSQLite XML doc 2021-02-16 20:53:30 +00:00
Marc Gilleron b0446eeb87 Fixed some unnecessary newlines 2021-02-16 20:52:15 +00:00
Marc Gilleron eccef33e3a Added instancer classes to documentation 2021-02-16 20:48:41 +00:00