1238 Commits

Author SHA1 Message Date
Marc Gilleron
36b8031ef6 Added option to change pivot mode in vox mesh importer 2021-08-14 18:01:28 +01:00
Marc Gilleron
026c14fcb5 Added importer to import vox files into a single mesh
- New importer, needs restart to switch but it's a limitation of Godot
- Might blow up if the scene spans a really big area, may be optimized in the future.
- The scene importer remains the default choice
- Promoted some ints to 64-bit to avoid oveflowing with large volumes or distances
- Handle a few cases of malloc failure
2021-08-14 16:49:46 +01:00
Marc Gilleron
10f8e76db4 Update supporters 2021-08-14 16:43:07 +01:00
Marc Gilleron
2b0eac2a1a Added alternate vox importer to import as a single mesh. Takes first model of the file only at the moment. 2021-08-10 22:12:42 +01:00
Marc Gilleron
41e4ca8eb7 Reformatted changelog 2021-08-10 22:11:47 +01:00
Marc Gilleron
d5dc24d6fe Added option to import vox meshes with the option "use in baked lighting" enabled 2021-08-07 23:23:50 +01:00
Marc Gilleron
ad6fe7bbd1 Updated changelog 2021-08-07 23:07:54 +01:00
Marc Gilleron
f5eaccbb63 Very basic LOD in VoxelMesherCubes. Doesn't handle seams, it's mainly for testing at the moment 2021-08-07 23:07:44 +01:00
Marc Gilleron
968dd1fecd Make VoxelGeneratorNoise generate color 1 when told to use color channel 2021-08-07 23:06:52 +01:00
Marc Gilleron
36890408df Profiling scopes 2021-08-07 23:05:42 +01:00
Marc Gilleron
ddbd1dd1a2 Remove unnecessary Spatial nodes 2021-08-07 23:05:17 +01:00
Marc Gilleron
b7d6a6afb8 Added scale parameter to vox importer 2021-08-07 23:04:47 +01:00
Marc Gilleron
e7bc402ab3 Update date 2021-08-07 23:03:01 +01:00
Marc Gilleron
349eb289cf Fix warnings 2021-08-02 19:16:36 +01:00
Marc Gilleron
6f09523fd2 Added option to import colors as textures to improve greedy meshing 2021-08-02 19:03:35 +01:00
Marc Gilleron
f86ed3dbaf Added section about the state of multiplayer 2021-08-01 18:46:58 +01:00
Marc Gilleron
070b621064 Added docs about VoxelTool 2021-08-01 18:45:58 +01:00
Marc Gilleron
ca82c66186 Added docs about streams 2021-08-01 18:45:47 +01:00
Marc Gilleron
a788cc13fa Redundant function 2021-08-01 18:45:27 +01:00
Marc Gilleron
b427e2f305 Fix cubes mesher not actually re-using pooled memory 2021-08-01 18:45:10 +01:00
Marc Gilleron
967dcbd04c Don't save meta file on loading, not sure why that was done before 2021-08-01 15:42:24 +01:00
Marc Gilleron
6ea6ce9581 Initialize to the same defaults as in VoxelBuffer 2021-08-01 15:41:23 +01:00
Marc Gilleron
47b71b7431 Unused struct 2021-08-01 15:40:51 +01:00
Marc Gilleron
bab5436de7 Fix materials shown under wrong category 2021-08-01 15:40:41 +01:00
Marc Gilleron
6d6d8fb368 Fix material ID, can be 0 or 256 (whatever that's supposed to mean, while the palette can only have 256 colors) 2021-08-01 15:40:22 +01:00
Marc Gilleron
6b3991c695 Fix warning 2021-07-31 21:24:54 +01:00
Marc Gilleron
3979cbd0b9 Fix vox rotation conversion 2021-07-31 21:22:49 +01:00
Marc Gilleron
9a74362aca Added vox scene importer. No options at the moments. 2021-07-31 18:48:47 +01:00
Marc Gilleron
059f490669 Renamed udiv => floordiv 2021-07-31 15:15:43 +01:00
Marc Gilleron
8ba9f07978 Fix warning 2021-07-28 19:43:25 +01:00
Marc Gilleron
d6e4769f08 Don't run multimesh LOD updates when blocks have item types not supporting that feature 2021-07-28 19:26:14 +01:00
Marc Gilleron
2853f42dd7 Check for the case PoolVectors run out of allocs 2021-07-28 19:24:53 +01:00
Marc Gilleron
20c6b790bf Formatting and comments 2021-07-28 19:24:22 +01:00
Marc Gilleron
8f82b7c684 Rewording 2021-07-28 19:23:49 +01:00
Marc Gilleron
7a783e2c84 The math folder is no longer top level 2021-07-28 19:23:31 +01:00
Marc Gilleron
b6ecb17f47 This should be a warning 2021-07-26 01:46:15 +01:00
Marc Gilleron
6d09e181bf Added menu to update an instancer multimesh item from a scene 2021-07-26 01:39:44 +01:00
Marc Gilleron
15c053f5c2 Fix wrong type 2021-07-25 21:20:44 +01:00
Marc Gilleron
2c3b7fae5a Error more explicitely in case trying to serialize an empty block 2021-07-25 20:38:15 +01:00
Marc Gilleron
466bc41ab8 Comments 2021-07-25 20:37:47 +01:00
Marc Gilleron
27d54a0d5c Add initial support for instancing scenes with VoxelInstancer 2021-07-25 20:37:30 +01:00
Marc Gilleron
e7e8e72507 Quick fix to avoid error when trying to edit across loaded border.
There should be a better solution in the future, it's not optimal
2021-07-25 19:48:51 +01:00
Marc Gilleron
8ae03490fd Fix VoxelInstancer error when changing visibility 2021-07-25 19:01:32 +01:00
Marc Gilleron
002452cb54 Fix warning (2) 2021-07-19 20:03:08 +01:00
Marc Gilleron
5f84ceac39 Fix warning 2021-07-19 19:28:39 +01:00
Marc Gilleron
52aa4963ea Fixed some crashes occurring when giving invalid arguments to functions 2021-07-19 19:04:52 +01:00
Marc Gilleron
149eb2a873 Added test for instance data serialization 2021-07-18 19:42:42 +01:00
Marc Gilleron
3507743531 Fix warning 2021-07-11 17:12:14 +01:00
Marc Gilleron
c5e0d8fe02 Comments 2021-07-11 16:27:17 +01:00
Marc Gilleron
93d9272e01 Updated changelog 2021-07-11 16:27:10 +01:00