1900 Commits

Author SHA1 Message Date
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
aad2f0df2d Fix transition meshes not removed from the world 2022-05-16 22:07:57 +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
Marc Gilleron
34b9b3c321 Updated supporters 2022-05-15 21:01:38 +01:00
Marc Gilleron
09d0be21e2 Remove remaining usages of HashMap 2022-05-14 19:38:39 +01:00
Marc Gilleron
4d8cffe442 Fix non-constant accessor 2022-05-14 16:12:26 +01:00
Marc Gilleron
4f7f0cb3a3 Unnecessary pointer 2022-05-14 16:12:04 +01:00
Marc Gilleron
d440b4f0d8 Wrap debug code 2022-05-14 16:11:44 +01:00
Marc
9afdd6c4e8
Merge pull request #382 from Trey2k/master
Fixed issues caused by changes to HashMap in godot
2022-05-13 21:19:50 +01:00
Trey M
55533b3542 removed unused key and redundent lookup 2022-05-13 15:04:47 -05:00
Trey M
ecc178fea8 fixed typo 2022-05-13 00:22:36 -05:00
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