550 Commits

Author SHA1 Message Date
Marc Gilleron
61c82078f7 Added collision masks to voxel models so they can be filtered fast 2020-08-01 22:58:16 +01:00
Marc Gilleron
27f37ea56c Move voxel graph editor under its own folder 2020-07-30 18:50:45 +01:00
Marc Gilleron
1310112f25 Fix face culling issue with transparent voxels of different IDs 2020-07-30 18:00:12 +01:00
Marc Gilleron
905dbee563 Explain Voxel ID may not be set again 2020-07-30 17:57:48 +01:00
Marc Gilleron
08e328e786 Fix voxel name lookup 2020-07-28 21:21:23 +01:00
Marc Gilleron
0cdf5ea550 Added random tick API for blocky voxels 2020-07-28 20:32:33 +01:00
Marc Gilleron
b95f47b018 Fix missing return value 2020-07-28 20:32:03 +01:00
Marc Gilleron
a24b33eca1 Formatting 2020-07-26 18:44:46 +01:00
Marc Gilleron
d96db0d329 Fix node config warning with file streams by using channels from the fallback stream 2020-07-26 18:42:17 +01:00
Marc Gilleron
e3abe2f7c0 Fix crash when custom mesh is empty 2020-07-26 18:38:39 +01:00
Marc Gilleron
fd9122a0de Use StringName for voxel names 2020-07-26 18:37:34 +01:00
Marc Gilleron
f9e2d9cc12 Stop using NULL 2020-07-25 23:19:08 +01:00
Marc Gilleron
b7fe71ff45 Fix block not copied when the save of a single one is triggered 2020-07-25 21:57:36 +01:00
Marc Gilleron
4991b682d9 Exposed block serializer 2020-07-25 21:56:23 +01:00
Marc Gilleron
ec6bc00562 Added methods to trigger saves manually 2020-07-25 16:29:16 +01:00
Marc Gilleron
eef3818d29 Fixed mandatory requests not always being processed after telling the thread to exit 2020-07-24 20:07:34 +01:00
Marc Gilleron
071c5ee5c0 Fix channel depth not being applied to VoxelMap::get_buffer_copy() 2020-07-11 18:05:26 +01:00
Marc Gilleron
bc7ec0c966 Use last found SDF output and don't crash when there isn't any 2020-07-11 17:03:58 +01:00
Marc Gilleron
56aee87615 Added Select node to "conditionally" switch between two values 2020-07-11 17:03:09 +01:00
Marc Gilleron
0cac00e501 Fix preview nodes not working if they are the only output from their ancestor 2020-07-11 17:01:34 +01:00
Marc Gilleron
72c970e182 Alternate positions when profiling a graph to avoid XYZ optimization bias 2020-07-11 16:57:41 +01:00
Marc Gilleron
1cd0a491bb Fix graph not working if there is more than one terminal node (preview nodes) 2020-07-11 16:56:37 +01:00
Marc Gilleron
38aeb6959d Use C++ limits to be consistent with Interval 2020-07-11 03:24:32 +01:00
Marc Gilleron
d12004207d Added missing <limits>, which for some reason MSVC compiles fine without 2020-07-11 03:03:53 +01:00
Marc Gilleron
c47d0905a9 Fix missing file 2020-07-11 02:52:22 +01:00
Marc
ad3a55ab81
Merge pull request #152 from nic96/master
Fixed cannot place blocks on transparent blocks
2020-07-10 21:55:39 +01:00
Marc Gilleron
1a08cd31d6 Use a macro to print debug stuff only in verbose mode 2020-07-08 20:48:52 +01:00
Marc Gilleron
8b4bd1d853 Fix VoxelBuffer not assigning channel depth when told to do so 2020-07-08 19:59:02 +01:00
Marc Gilleron
e96677622a Fix Voxel erroring when set an ID larger than 255 2020-07-08 19:57:04 +01:00
Marc Gilleron
db0b454ed9 Merge branch 'master' into voxel_gen_graph 2020-07-08 19:38:10 +01:00
Marc Gilleron
708741472c Added button to force updating previews, and another to measure time 2020-07-08 19:25:32 +01:00
Marc Gilleron
6b63746135 Added categories 2020-07-08 01:26:12 +01:00
Marc Gilleron
b8c235fce3 Added preview nodes (has a few limitations, may fix them later) 2020-07-07 23:28:02 +01:00
Marc Gilleron
4ff29ce3ce Auto-compile graph on load so it's now working when launching the game 2020-07-07 18:56:06 +01:00
Marc Gilleron
3deb90b467 Fix alignment problems causing crashes when nodes holding a pointers were used 2020-07-07 18:55:05 +01:00
Marc Gilleron
709ebbe056 Missing declaration for a part I accidentally committed earlier, meant to commit later 2020-07-07 18:53:54 +01:00
Marc Gilleron
00fdd263c4 Fix wrong arguments to OpenSimplexNoise, caused array overrun 2020-07-07 18:52:29 +01:00
Marc Gilleron
bf96ec362f Use the inspector to edit graph node properties, including sub-resources 2020-07-06 22:07:36 +01:00
nic96
dede34acf1 Raycast shouldn't hit geometry type none 2020-07-05 19:15:08 -06:00
nic96
fe3c433f76 Transparent blocks should get hit by raycast if they have a collision aabb 2020-07-05 18:30:50 -06:00
Marc Gilleron
60d32ec006 Make stream and generator script methods optional, fixes errors in editor 2020-05-09 00:46:17 +01:00
Marc Gilleron
21fc777ed8 Fix wrong print 2020-05-08 23:03:07 +01:00
Marc Gilleron
33d38e61b1 Merge branch 'master' into voxel_gen_graph 2020-05-08 18:09:09 +01:00
Marc Gilleron
182352e903 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2020-05-08 17:57:10 +01:00
Marc Gilleron
800febfab6 Implement duplicate() on Voxel 2020-05-08 17:57:00 +01:00
Marc
e57a39d467
Merge pull request #141 from nwdamgaard/master
Generate a collision mesh for each surface
2020-05-08 17:24:13 +01:00
Nathan
a17ab8bbe7 clean up for Zylann 2020-05-07 17:33:16 -07:00
Nathan
6b43c9a187 General improvements 2020-05-07 13:55:16 -07:00
Marc Gilleron
600942564c Fix crash when a VoxelTerrain is used without a stream 2020-05-07 21:13:47 +01:00
Nathan
713c57388a Changing the approch once again due to misunderstanding Zylann 2020-05-06 19:47:00 -07:00