Marc Gilleron
5d72f1fa66
Added test for encode_weights_packed_u16
2021-05-23 20:28:25 +01:00
Marc Gilleron
f943339f31
Researching tri-channel weights storage
...
- No changes made for now, but the code is there if we want to switch
- Renamed functions to be more explicit
2021-05-23 20:28:06 +01:00
Marc Gilleron
c82aab9f74
Remove redundant sorting function
2021-05-23 20:24:33 +01:00
Marc Gilleron
16f209780c
Merge branch 'master' into smooth_texturing
2021-05-22 22:30:17 +01:00
Marc Gilleron
251d92d9c6
Fix ambiguous calls after upstream change in Godot 3.x
2021-05-22 20:33:56 +01:00
Marc Gilleron
983b7bd83d
Merge branch 'master' into smooth_texturing
...
# Conflicts:
# util/godot/funcs.h
2021-05-22 19:43:39 +01:00
Marc Gilleron
f72687ac9a
More sizeof stuff
2021-05-22 19:38:50 +01:00
Marc Gilleron
8158b4a9af
Update changelog
2021-05-22 19:38:36 +01:00
Marc Gilleron
0dc6702308
VoxelToolTerrain.raycast now accounts for scale and rotation, and supports VoxelMesherCubes with non-zero values
2021-05-16 04:29:08 +01:00
Marc Gilleron
efe8bcf9c0
Show a configuration warning when a mesher does not support LOD
2021-05-15 23:41:19 +01:00
Marc Gilleron
aa3f2c97df
Fix crash when surfaces are empty (happens if one assigns blocky meshers on LOD terrain because it doesn't do the same checks up-front)
2021-05-15 23:38:35 +01:00
Marc Gilleron
bc39743fc9
Fix GCC warning
2021-05-15 20:50:22 +01:00
Marc Gilleron
93cfab7495
Allow to edit VoxelColorPalette in the editor
2021-05-15 20:28:07 +01:00
Marc Gilleron
5f7c0cc668
VoxelBoxMover
should now support scaled/translated terrains and VoxelMesherCubes
(limited to non-zero color voxels)
2021-05-15 19:45:40 +01:00
Marc Gilleron
9b3263d68b
Fix copy
2021-05-15 16:31:36 +01:00
Marc Gilleron
dd82fc91c8
Merge branch 'master' into godot3.3
2021-05-09 22:55:39 +01:00
Marc Gilleron
d358f79bb3
Mark godot3.3
2021-05-09 22:54:59 +01:00
Marc
b5521e4856
Merge pull request #263 from FlyveHest/add_nuget_default_config
...
Trying to fix Github build pipeline
2021-05-09 22:46:24 +01:00
Marc Gilleron
fa48523073
Added collision layer and mask properties
2021-05-09 20:49:45 +01:00
Peter Reinhold (FlyveHest)
67358f23e6
Added step to move nuget.config to base of file system
2021-05-08 22:09:18 +02:00
Marc Gilleron
b5f1634906
Fix undefined variable
2021-05-08 20:41:28 +01:00
Marc Gilleron
c19b60647c
Fix paste() with mask
2021-05-08 20:37:54 +01:00
Marc Gilleron
40452c6d31
Getting a voxel out of bounds from a buffer is now an error
2021-05-08 20:36:58 +01:00
Marc Gilleron
b200a52870
Indicate which CI artifact is the editor
2021-05-08 19:28:30 +01:00
Marc Gilleron
46437ef9e7
Only run tests in debug targets for now
2021-05-08 19:27:33 +01:00
Peter Reinhold (FlyveHest)
04801f7401
Trying to fix Github build pipeline, this seems to be a problem with the Windows images being used to build.
...
More information in this thread: https://github.com/actions/setup-dotnet/issues/155#issuecomment-761195782
2021-05-08 19:57:06 +02:00
Marc Gilleron
650089de8f
Don't try to save if there is no stream attached
2021-05-08 17:56:43 +01:00
Marc Gilleron
ba78f67394
Fixed another property inconsistency to fix C# bindings
2021-05-08 17:15:15 +01:00
Marc Gilleron
b6c89f5088
Merge branch 'master' into smooth_texturing
2021-05-08 01:02:54 +01:00
Marc Gilleron
14cc77eb7c
Make getter and setter types match to fix an issue with C# bindings
2021-05-07 22:39:06 +01:00
Marc Gilleron
ed1de5b5f4
Comment
2021-05-07 22:29:20 +01:00
Marc Gilleron
d5bd6c794b
Merge branch 'master' into smooth_texturing
2021-05-07 21:48:11 +01:00
Marc Gilleron
d53e7dd530
Fixed several bugs related to VoxelTool::paste()
...
- One of the Rect3i constructors was wrong
- Rewrite clipping logic of VoxelBuffer::copy_from
- Fix VoxelDataMap::paste to provide correct offsets
- Fix meshing data copy to account for clipping adjustments
2021-05-07 18:38:02 +01:00
Marc Gilleron
493579cefb
Initialize voxel graph with default nodes when creating it in the editor
2021-05-03 01:04:04 +01:00
Marc Gilleron
4e67a1530d
Code to debug vertex sharing issues
2021-05-03 00:13:36 +01:00
Marc Gilleron
f5446e3d69
Fix broken vertex sharing when texture mode is enabled
2021-05-03 00:10:24 +01:00
Marc Gilleron
ef448263c0
Merge branch 'master' into smooth_texturing
...
# Conflicts:
# storage/voxel_buffer.cpp
2021-05-02 23:11:57 +01:00
Marc Gilleron
934af79f3f
Show graph compilation errors in the editor
2021-05-02 21:44:55 +01:00
Marc Gilleron
e1393ae26d
Update module dev infos, add debugging tips, add natvis file
2021-05-02 19:24:16 +01:00
Marc Gilleron
73aed51ea2
Optimized 16-bit voxel box copies (used when meshing)
2021-05-02 19:23:07 +01:00
Marc Gilleron
80c2a0b702
Fix warning
2021-05-02 19:17:21 +01:00
Marc Gilleron
264b77ac21
Moved hardcoded output types outside the runtime.
...
For simplicity I chose to just give output nodes output ports,
like regular ones, and hide them in the editor.
It required to change a bit how output nodes are detected,
and backing output buffers are no longer required from callers.
This will allow to more easily implement custom outputs as well.
2021-05-02 01:22:44 +01:00
Marc Gilleron
ee1169cc45
Merge branch 'master' into smooth_texturing
2021-04-30 22:15:27 +01:00
Marc Gilleron
069dc9dee3
Attempt production flag for Linux builds
2021-04-30 22:13:06 +01:00
Marc Gilleron
31db9bd8a5
Some info about generating structures in a Minecraft-like generator
2021-04-30 22:12:36 +01:00
Marc Gilleron
90bebd67a4
Note about the "volume" terminology
2021-04-30 22:11:30 +01:00
Marc Gilleron
bbf9ccb82d
Details about integers
2021-04-30 22:11:07 +01:00
Marc Gilleron
8053caed1a
Emphasize generators save space
2021-04-30 22:10:36 +01:00
Marc Gilleron
9a49f7422b
Some info about Transvoxel
2021-04-30 22:09:58 +01:00
Marc Gilleron
bab47a9fc1
Add link to SQLite format
2021-04-30 22:08:55 +01:00