Trey M
96916814de
Fixed issues caused by changes to HashMap in godot
2022-05-13 00:14:03 -05:00
Marc Gilleron
a4abfc770c
Fix variable shadowing warning
2022-05-11 22:24:29 +01:00
Marc Gilleron
e44b4a3902
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2022-05-11 20:20:06 +01:00
Marc Gilleron
4f30ed4b6d
Fixed crash when removing the last block in VoxelInstancer
2022-05-11 20:19:48 +01:00
Marc Gilleron
409f26722b
Increase default SDF resolution
2022-05-11 20:19:16 +01:00
Marc Gilleron
86d798abb2
Added floodfill SDF bake mode, less accurate but very fast
2022-05-10 21:15:32 +01:00
Marc Gilleron
3e4230ec9e
Added a spinbox to the SDF viewer to scan through the whole result
2022-05-10 20:54:11 +01:00
Marc
47e8e13e38
Merge pull request #380 from kubecz3k/missing-imports
...
Missing imports
2022-05-10 13:54:58 +01:00
Jakub Grzesik
f6f175e645
Missing imports
...
On my machine (ubuntu 22.04) I was unable to compile the project.
First I was thinking I have some problem with matching proper godot
engine version with proper voxel commit (especially that I had no
problem with building 3.x version), but then I realized automatic builds
are working here so I took the exact commits from two repos and I still
had build errors, that made me look more closely at errors and I
realized that most probably some of my system libraries were build in a
bit different way and do not include some of the imports.
After adding those everything builds nicely on current masters (godot
943b50995292d98d9bc2e45ff04eaf0a716cea28) (voxel module
668fedfa528f9971577f7bf19041f948db512d3d)
2022-05-10 13:16:32 +02:00
Marc Gilleron
948678a23a
Added floodfill bake mode, faster approximation than the interp one
2022-05-08 02:57:46 +01:00
Marc Gilleron
668fedfa52
Fix copypasta
2022-05-07 22:27:52 +01:00
Marc Gilleron
8a7fdbfcf8
Fix signedness warnings
2022-05-07 22:27:35 +01:00
Marc Gilleron
4bc852e573
Fix shadowed variables
2022-05-07 22:27:11 +01:00
Marc Gilleron
3f25899cdf
Unused variables
2022-05-07 22:26:23 +01:00
Marc Gilleron
ae8a6c041f
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2022-05-07 22:06:54 +01:00
Marc Gilleron
35e4b5cd17
Update to new module registration
2022-05-07 22:06:32 +01:00
Marc Gilleron
35ddc51f18
Fix Basis::get_axis() was renamed to get_column()
2022-05-07 21:27:41 +01:00
Marc Gilleron
0924514adc
Missing implementations
2022-05-07 20:48:39 +01:00
Marc Gilleron
dff7386186
Moved conversions to conv.h
2022-05-07 20:34:06 +01:00
Marc Gilleron
f993796ca1
Added inspector plugin to edit VoxelMeshSDF
2022-05-05 20:57:59 +01:00
Marc Gilleron
3289b44136
Made VoxelMeshSDF a resource so it can be saved and loaded
2022-05-05 20:57:34 +01:00
Marc
271d738ada
Merge pull request #374 from duchainer/master
...
MacOS build: Fix size discrepancy between size_t and uint64_t in voxel_block_serializer.cpp
2022-05-05 20:19:44 +01:00
Marc Gilleron
e289e9da93
Fix and cleanup
...
- Remove some experimental code
- Fix edge case in boundary sign
- Optimize and re-use grid to space transform
2022-05-04 23:33:40 +01:00
Marc Gilleron
eb03e2df92
Expose boundary sign fix
2022-05-02 22:16:06 +01:00
Marc Gilleron
f30ac3fc2d
Expose AABB
2022-05-02 21:39:44 +01:00
Marc Gilleron
0c0003ad35
Fix wrong method name
2022-05-02 19:49:50 +01:00
Marc Gilleron
cd9a9092cb
Don't expose untested mode
2022-05-02 19:17:18 +01:00
Marc Gilleron
868ae90fbe
Added VoxelMeshSDF and VoxelToolLodTerrain.stamp_sdf()
2022-05-02 19:14:12 +01:00
Marc Gilleron
76fa8c9c50
Unnecessary include
2022-05-02 17:01:14 +01:00
Marc Gilleron
2f2ab384a6
Better trilinear interpolation
2022-05-02 15:47:31 +01:00
Marc Gilleron
d145a30816
Fix checkmark not updating when selecting Show Octree Nodes
2022-05-02 14:52:42 +01:00
Marc Gilleron
1877c3df9c
Constify
2022-05-02 14:52:12 +01:00
Marc Gilleron
3c17c786bf
Added debug function to debug-print 3D SDF as colored image slices
2022-05-02 14:51:53 +01:00
Marc Gilleron
994aa50126
Comments
2022-05-02 14:50:27 +01:00
Marc Gilleron
adbfd3b584
floor_to_int
to emphasize the return value converts to int
2022-05-02 14:49:40 +01:00
Marc Gilleron
6b81e6ac9b
Moved ops to funcs header
2022-04-29 23:27:50 +01:00
Marc Gilleron
a5e429de6f
Moved some Vector3i function specializations to math:: namespace
2022-04-29 23:25:37 +01:00
Marc Gilleron
c0ca89a797
Missing include guards
2022-04-29 23:21:00 +01:00
Marc Gilleron
190bd1b466
Try to use explicit Packed*Array in helper functions as Vector<T> likely won't be available in GDExtension
2022-04-29 23:20:41 +01:00
Raphaël Duchaîne
f188e1f191
Replace size_t read_size with uint64_t instead
2022-04-27 11:07:27 -04:00
Raphaël Duchaîne
b9770cbf5a
WIP Fix MacOS decrepancy between uint64_t and size_t
2022-04-26 16:26:28 -04:00
Marc Gilleron
af460853d3
Fix comparison
2022-04-24 17:27:21 +01:00
Marc Gilleron
cf7e075e8a
Fix macros to compile release
2022-04-24 17:27:06 +01:00
Marc Gilleron
f8198baa2f
Fix alpha check
2022-04-22 22:45:15 +01:00
Marc Gilleron
ac73904df7
Fix wrong version when saving blocks
2022-04-22 22:20:48 +01:00
Marc Gilleron
8cf52b8967
Fix voxel graph test
2022-04-22 22:06:35 +01:00
Marc Gilleron
dc8aed91c3
Added color_to_u16 helper function
2022-04-21 18:50:28 +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
0450febebb
Fixed inverted condition
2022-04-20 21:22:03 +01:00
Marc Gilleron
6fa4416984
Use generic error macros in storage funcs
2022-04-19 01:14:40 +01:00