1279 Commits

Author SHA1 Message Date
Marc Gilleron
8e53fbaa47 Merge branch 'master' into octree_compression 2021-09-18 18:18:09 +01:00
Marc Gilleron
1043fa6271 More info about the PoolVector fix 2021-09-18 18:17:39 +01:00
Marc Gilleron
4e23d7b242 Precision about Box3i::from_center_extents 2021-09-18 16:54:04 +01:00
Marc Gilleron
f0c59acf0b Fix VoxelStreamBlockFiles always showing a warning about channels 2021-09-18 01:44:33 +01:00
Marc Gilleron
6a6682dfd5 Fixed crash occurring after a few edits when LOD count is set to 1 2021-09-18 01:36:44 +01:00
Marc Gilleron
b785431d62 Update supporters 2021-09-17 21:40:55 +01:00
Marc Gilleron
dea1d5eb41 Quick test addition for measuring time 2021-09-17 21:39:50 +01:00
Marc Gilleron
2971334e85 Changed VoxelToolLodTerrain to use write_box
- Should be faster than get/set_voxel
- No longer expose internal data map
2021-09-17 20:01:15 +01:00
Marc Gilleron
cf00db1908 Should not exist yet 2021-09-16 22:16:57 +01:00
Marc Gilleron
ff4e7f9560 Added debug drawing of mesh octree using multimesh (not exposed for now) 2021-09-16 21:54:04 +01:00
Marc Gilleron
802188f876 Added octree tests 2021-09-16 21:03:44 +01:00
Marc Gilleron
d901eb66b6 Added functions to LodOctree and use squared distances 2021-09-16 21:03:02 +01:00
Marc Gilleron
f68eeac22c Switch to octree child position formula not involving access to an array 2021-09-16 20:56:56 +01:00
Marc Gilleron
8aaee73157 Merge branch 'master' into octree_compression 2021-09-16 20:52:32 +01:00
Marc Gilleron
9aa4c8242c Two boxes touching on the side but not overlapping should not be considered intersecting 2021-09-16 20:49:17 +01:00
Marc Gilleron
030a5f8c63 Can be const 2021-09-16 20:47:31 +01:00
Marc Gilleron
ea7b91f4fe Don't use macros 2021-09-16 20:47:11 +01:00
Marc Gilleron
0604a3492d Comments and formatting 2021-09-16 20:46:55 +01:00
Marc Gilleron
60b15a3adc Added doc section listing shader API uniforms 2021-09-16 20:37:40 +01:00
Marc Gilleron
c9b1840e99 Added max_lod_hint return value to block generators 2021-09-16 20:33:45 +01:00
Marc Gilleron
3cfb7f510b Fix lambda capture defaulting to const when it should be writable 2021-09-13 00:21:27 +01:00
Marc Gilleron
32beb6f8a8 Stop printing in map destructors 2021-09-13 00:20:30 +01:00
Marc Gilleron
2fda5747c6 Comments 2021-09-13 00:19:51 +01:00
Marc Gilleron
e08e8c1986 Update changelog 2021-09-13 00:18:17 +01:00
Marc Gilleron
3ee79ec068 Should have been min 2021-09-12 00:55:15 +01:00
Marc Gilleron
454d8b2c7f Fix no instances generated when density is 1 in vertex emission mode 2021-09-11 18:12:55 +01:00
Marc Gilleron
64646d06ed Split VoxelTerrain process into functions 2021-09-09 18:54:15 +01:00
Marc Gilleron
58d365d2bf Profiling scopes 2021-09-09 18:53:22 +01:00
Marc Gilleron
bd696b4caa Functions that should be const 2021-09-09 18:52:00 +01:00
Marc Gilleron
5959699b9b Fix reorder GCC warning 2021-09-05 23:55:57 +01:00
Marc Gilleron
4d24ae7e03 Mention ID instead of type 2021-09-05 23:22:22 +01:00
Marc Gilleron
6043dd7d66 Kinda fix a link
I don't know how to refer to the sub-section without pasting an absolute URL
2021-09-05 23:03:29 +01:00
Marc Gilleron
791cc8dcf2 Formatting fix 2021-09-05 23:01:56 +01:00
Marc Gilleron
cc3179d839 Detail on transparency_index 2021-09-05 23:00:00 +01:00
Marc Gilleron
8f23209397 Added docs about the blocky mesher workflow 2021-09-05 22:54:13 +01:00
Marc Gilleron
df33a77f72 Unnecessary includes 2021-09-05 22:48:50 +01:00
Marc Gilleron
b567d7ac41 Added section about compilation flags 2021-09-05 22:48:12 +01:00
Marc Gilleron
db511dbbfe Name mistake 2021-09-05 22:47:41 +01:00
Marc Gilleron
7cb1e4008e Use accessor 2021-08-15 17:27:55 +01:00
Marc Gilleron
f9ba660c86 Fix warnings 2021-08-14 18:28:15 +01:00
Marc Gilleron
6da058baf8 Update changelog 2021-08-14 18:28:01 +01:00
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