Marc Gilleron
c0955bb317
Use storage func, remove redundant one
2021-05-29 23:24:36 +01:00
Marc Gilleron
a4f01b096e
Moved some storage functions out of VoxelBuffer
2021-05-29 23:23:18 +01:00
Marc Gilleron
ff658335fb
Fix preview nodes, they were upside down
2021-05-29 23:18:04 +01:00
Marc Gilleron
63f207b5d5
Fix Rect3i::contains(rect), it was off by one on the upper sides
2021-05-29 23:12:11 +01:00
Marc Gilleron
41990a47dc
Fix crash when the graph editor gets closed or when the graph is set to null
2021-05-29 21:38:52 +01:00
Marc Gilleron
e52d48abd7
Typo
2021-05-29 19:06:26 +01:00
Marc Gilleron
a5b1d5a13a
Note about tests
2021-05-29 19:06:17 +01:00
Marc Gilleron
c657eefca1
Document plotting
2021-05-29 19:06:02 +01:00
Marc Gilleron
d2d07904b8
Moved VoxelRaycastResult to its own file
2021-05-29 15:09:10 +01:00
Marc Gilleron
6f959777cf
Added profiling macro to plot values
2021-05-29 15:07:40 +01:00
Marc Gilleron
4cc47b9036
Extracted some functions from VoxelBuffer, optimized copy/paste a little
2021-05-24 23:23:50 +01:00
Marc Gilleron
0de2b1b9d0
Comments
2021-05-24 23:16:04 +01:00
Marc Gilleron
3b98fe8151
Doesnt seem to make a difference
2021-05-24 23:15:17 +01:00
Marc Gilleron
fc0239afc8
Fix test
2021-05-24 23:14:23 +01:00
Marc Gilleron
0992da120a
Updated doc about how texturing is made available
2021-05-23 20:51:31 +01:00
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