Commit Graph

1382 Commits (2fd4c22c549ab5164770433beaac818d6eb5d2b8)

Author SHA1 Message Date
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
Marc Gilleron 4fe4c39548 Added missing doc item for VoxelToolLodTerrain 2021-07-11 16:27:03 +01:00
Marc Gilleron 619bd977c1 Added extra mode to instance generator for more precise emission from faces 2021-07-11 16:23:54 +01:00
Marc Gilleron 5fcd7f7363 Added mesh optimization option to Transvoxel, using MeshOptimizer 2021-07-11 16:19:49 +01:00
Marc Gilleron 8c17a1cf20 Added property to configure collision margin 2021-07-10 22:14:17 +01:00
Marc Gilleron 966c2c9fef Change default channel attribution when using `get_voxel_tool()`
- It now depends first on the mesher
- If no mesher is assigned, it depends on the generator
- If no generator is assigned, it depends on the stream
- If no stream is assigned, it defaults to 0
- If multiple channels are found, pick the first one instead of last
- The reason is, some streams can support all channels so they dont
  represent well what the user intends to use.
2021-07-10 20:27:55 +01:00
Marc Gilleron 3ffd07af47 Added `copy` to VoxelToolLodTerrain 2021-07-10 20:19:44 +01:00