294 Commits

Author SHA1 Message Date
Marc Gilleron
e9445a9ccb Removed VoxelStreamBlockFiles 2022-07-17 18:49:48 +01:00
Marc Gilleron
80b7bfd148 Update changelog 2022-07-17 01:25:32 +01:00
Marc Gilleron
5ca09d712e Renamed VoxelServer => VoxelEngine 2022-07-16 23:59:06 +01:00
Marc Gilleron
b7d5ff20a8 Added do_hemisphere to terrain tools 2022-07-16 17:45:00 +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 Gilleron
bf6fe0acb7 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-07-04 20:15:15 +01:00
Marc Gilleron
2d9081917e Space 2022-07-04 20:14:04 +01:00
Aaron Franke
c4777a66d4
Optimize SVG images and convert most PNG images to WebP 2022-07-04 00:56:04 -05: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
30e7ae44d7 Update changelog 2022-07-02 23:05:43 +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
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
a7934b9e2c Exposed debug drawing options on VoxelLodTerrain 2022-06-26 14:04:12 +01:00
Marc Gilleron
61a6d5f39b Update changelog 2022-06-26 00:45:43 +01:00
Marc Gilleron
a2c2f49da6 Note about earlyness 2022-06-20 19:53:01 +01:00
Marc Gilleron
19f94e9912 Merge branch 'master' into modifiers 2022-06-19 21:41:38 +01:00
Marc Gilleron
90aa763a78 Notes about scaling the terrain 2022-06-18 23:25:27 +01:00
Marc Gilleron
6a61ef712b Move light setup in common 2022-06-18 23:25:07 +01:00
Marc Gilleron
86ba74ce3a Some changes and fixes related modifiers
- VoxelLodTerrain no longer caches generated voxels by default, so
  generating on the fly is no longer exclusive to full load mode.
  Might add an option later, but not for now (VoxelTerrain is still
  unaffected and keeps caching them)
- The "Cached" state is represented with blocks having no voxel data,
  so it needs extra checks in some areas to avoid null access
- Fix generate task was not including modifiers after the base generator
- The "save_generator_output" option on streams now means such blocks are
  considered edited
- Modifying modifiers now clears cached generated blocks
  intersecting with them.
- Fix "re-generate" was erasing the internal stack of modifiers
- Added docs
2022-06-18 23:14:18 +01:00
Marc Gilleron
026a58a933 Added ref 2022-06-08 21:35:31 +01:00
Marc Gilleron
2098ca36d9 Added debug gizmos to see mesh updates 2022-06-05 23:26:17 +01:00
Marc Gilleron
8e3f1bd74d Fix wrong SDF data generated below ground 2022-06-05 22:47:20 +01:00
Marc Gilleron
9bad06737b Note about dependency on Godot 2022-06-03 18:33:48 +01:00
Marc Gilleron
8966ad5b1f Fix holes in geometry with Transvoxel 2022-06-03 17:30:38 +01:00
Marc Gilleron
b27976c5f4 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-05-23 21:20:20 +01:00
Ryan Roden-Corrent
2727f11ffd
Fix triplanar mapping doc link. 2022-05-22 17:07:54 -04:00
Marc Gilleron
7bb683552d Added basic stair climbing to VoxelBoxMover 2022-05-22 20:34:22 +01:00
Marc Gilleron
f899ae8fbb Added option to show octree grid in editor, now off by default 2022-05-21 22:00:01 +01:00
Marc Gilleron
28fe3365e7 Added info about LOD 2022-05-18 23:31:37 +01:00
Marc Gilleron
748f73ed5e Update changelog 2022-05-18 23:31:11 +01:00
Marc Gilleron
fa027cbe4e Allow to specify which surfaces have collision 2022-05-17 22:12:54 +01:00
Marc
63b94ae8db
Merge pull request #384 from duchainer/patch-1
DOC: Make it clearer where to look on building mismatch
2022-05-16 23:11:13 +01:00
Marc Gilleron
12862a46d0 Changes to blocky materials
- They are now defined in each model
- VoxelTerrain no longer has material slots, except for a global override
- Models can have up to 2 materials instead of only one
2022-05-16 22:55:06 +01:00
Marc Gilleron
d5aaef772d Fix MkDocs formatting not picking up the list 2022-05-16 22:50:16 +01:00
Marc Gilleron
8f243f6121 Fix removal of scene instances 2022-05-16 20:23:52 +01:00
Marc Gilleron
443cb4b55d Replace "Spatial" with new name "Node3D" 2022-05-16 20:20:08 +01:00
Marc Gilleron
3632bc5f91 Make it clear the documented API is the scripting API 2022-05-16 20:19:34 +01:00
Marc Gilleron
f4ebfac9a5 Add info about assigning noise properties 2022-05-15 23:29:34 +01:00
Raphaël Duchaîne
eb4591a512
Make it clearer where to look on mismatch 2022-05-13 17:49:46 -04:00
Marc Gilleron
868ae90fbe Added VoxelMeshSDF and VoxelToolLodTerrain.stamp_sdf() 2022-05-02 19:14:12 +01:00
Marc Gilleron
f8198baa2f Fix alpha check 2022-04-22 22:45:15 +01:00
Marc Gilleron
0cf1cb70ee Fix color to u16/u8 conversions used in VoxelMesherCubes raw color mode 2022-04-21 18:48:24 +01:00
Marc Gilleron
d7e0af161a Abstracted voxel metadata so internals no longer depends on Variant 2022-04-18 19:59:38 +01:00
Marc Gilleron
5d4e21bf8e Update code guidelines 2022-04-15 16:46:19 +01:00
Marc Gilleron
47fbddf73b Fix nodes of the graph never get freed 2022-04-11 19:17:37 +01:00