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
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
Marc Gilleron
2606112b99
Fix links
2022-04-10 16:19:28 +01:00
Marc Gilleron
4b5fc6bd67
Added doc about SDF
2022-04-10 16:11:00 +01:00
Marc Gilleron
18584f4e87
Added per-node profiling info
2022-04-10 14:42:40 +01:00
Marc Gilleron
19a69b059e
VoxelInstancer supports VoxelTerrain, although Godot 4 multimeshes are buggy
...
See https://github.com/godotengine/godot/issues/56357
2022-04-09 20:40:03 +01:00
Marc Gilleron
219c7bfda3
Changed prefix of profiling macros
2022-04-09 15:33:08 +01:00
Marc Gilleron
f58199e7de
Added class to schedule custom tasks from scripts
2022-04-07 22:34:07 +01:00
Marc Gilleron
5519054c01
Unify macro prefixes
2022-04-06 23:26:54 +01:00
Marc Gilleron
0e523f79fe
Added functions to expression node
2022-04-06 01:13:38 +01:00
Marc Gilleron
e2bbd75cb4
Added doc about the SCons parameters
2022-04-06 00:07:14 +01:00
Marc Gilleron
0146e05c1c
Document new nodes
2022-04-05 22:31:33 +01:00
Marc Gilleron
ce4224dce8
Fix VoxelMesherCubes color mode in inspector
2022-04-03 22:58:51 +01:00
Marc Gilleron
e0008d3335
Fix compilation now Godot comes with its own FastNoiseLite.
...
The version shipped with the module is now prefixed.
Removed usages of OpenSimplexNoise.
2022-04-03 20:07:17 +01:00
Marc Gilleron
61b27491f9
Initial implementation of binary search in Transvoxel.
...
It is very slow but seems to be working. It affines vertex positions,
but normals are not improved. Maybe more work will be done in the future
if that technique becomes more relevant.
Partly based on a prior experiment:
11f716f79d0ade59c0e9547a2333183e96b17b43
2022-03-27 21:36:30 +01:00
Marc Gilleron
4c3777ce00
Small precisions
2022-03-26 22:28:35 +00:00
Marc Gilleron
297e2b3f92
Changing a material now updates existing meshes instead of only new ones (VoxelTerrain only)
2022-03-26 22:28:18 +00:00