1761 Commits

Author SHA1 Message Date
Marc Gilleron
e99ffd64ea Fix required typename 2022-03-19 20:22:35 +00:00
Marc Gilleron
79b1ebdaa0 Fix invalid member 2022-03-19 20:11:39 +00:00
Marc Gilleron
48670d9a8e Separate mesh map data structures between updating and final 2022-03-19 19:43:33 +00:00
Marc Gilleron
775300c0f4 Remove old code 2022-03-19 19:39:39 +00:00
Marc Gilleron
a5d0f16430 Rename _on_data_block_enter => _on_data_block_entered 2022-03-19 19:39:24 +00:00
Marc Gilleron
c39bd4cb10 Expose getter and setter for VoxelViewer network peer ID 2022-03-19 19:38:36 +00:00
Marc Gilleron
8e6edbb4e0 New stuff is only on master branch 2022-03-18 20:59:18 +00:00
Marc Gilleron
7f106f4358 Fix broken transition updates 2022-03-16 00:05:04 +00:00
Marc Gilleron
6987cbc8b8 Added dynamic message profiler macro 2022-03-15 20:03:35 +00:00
Marc Gilleron
5ddcbc2065 Added optional threaded execution of VoxelLodTerrain's process function 2022-03-15 00:29:39 +00:00
Marc Gilleron
4c68e7b298 Comments 2022-03-15 00:18:44 +00:00
Marc Gilleron
646618e78a Avoid creating ArrayMesh instance if empty 2022-03-15 00:17:42 +00:00
Marc Gilleron
7277a6a79f Renamed has_block => has_data_block 2022-03-14 23:48:23 +00:00
Marc Gilleron
c9edc64ae0 Fix compilation with newest Godot 2022-03-14 00:26:25 +00:00
Marc Gilleron
750fbeda53 Fix signedness warning 2022-03-06 01:16:25 +00:00
Marc Gilleron
2c99dd9d85 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-03-06 01:11:48 +00:00
Marc Gilleron
f631d8880c Added configuration warnings to resources 2022-03-06 01:10:47 +00:00
Marc Gilleron
42334d0ba8 Document return value of VoxelBlockSerializer.serialize() 2022-03-06 01:04:17 +00:00
Marc
709bc9e129
Merge pull request #362 from El13B/master
missing lib?
2022-03-02 21:46:56 +01:00
Nona
eaac42cfb1 Included header file for the Dynamic memory management lib to define unique_ptr and shared_ptr. 2022-03-02 12:16:27 -05:00
Marc Gilleron
80d7399fbb Added more region file tests 2022-02-28 22:17:28 +00:00
Marc Gilleron
55deafd0ec Removed pedantic assertion.
It can happen if the file contains just one block, and if it gets
written over a second time with data spanning more sectors.
2022-02-28 22:17:10 +00:00
Marc Gilleron
0fd25ce52a Added missing position checks to RegionFile 2022-02-28 22:15:59 +00:00
Marc Gilleron
420ad98366 Typo 2022-02-27 23:39:30 +00:00
Marc Gilleron
21f6112433 Added documentation for VoxelGeneratorGraph nodes 2022-02-27 23:21:29 +00:00
Marc Gilleron
72e714e15b Added OutputSingleTexture node for outputting a single texture index per voxel 2022-02-27 22:07:42 +00:00
Marc Gilleron
6b6255e93d This should be integer weights 2022-02-27 22:06:53 +00:00
Marc Gilleron
bca7876dde Update shader information 2022-02-27 22:05:28 +00:00
Marc Gilleron
a8f5c4f0b9 Fix unused variables 2022-02-27 17:01:10 +00:00
Marc Gilleron
74ac820846 Remove zero-samples workaround for now.
It created gaps/unshared vertices in the mesh if the isosurface really has
to cross zero because it was done after the early cell rejection.
If we need it again, it will have to be done before the whole
algorithm, but could need more investigation.
2022-02-27 16:54:14 +00:00
Marc Gilleron
284c763a57 Use signed integers when decoding SDF 2022-02-27 04:08:01 +00:00
Marc Gilleron
9adf996c2e Fix wrong copypasta argument 2022-02-27 03:40:35 +00:00
Marc Gilleron
199d18c008 Don't leave nulls in array 2022-02-27 02:54:35 +00:00
Marc Gilleron
4e8f9bf2e9 Fix missing return value 2022-02-27 01:58:58 +00:00
Marc Gilleron
757fa5648a Update specs nav in mkdocs 2022-02-26 23:06:55 +00:00
Marc Gilleron
a75de1eee2 Instances are now serialized with little-endian 2022-02-26 23:05:55 +00:00
Marc Gilleron
d9c2d227ac Don't use sizeof(int) for portability 2022-02-26 22:53:19 +00:00
Marc Gilleron
008f6d83a1 Compressed data now uses a little-endian header instead of big endian 2022-02-26 22:52:31 +00:00
Marc Gilleron
f894f50498 Fix false positives in pool leak detection 2022-02-26 22:51:53 +00:00
Marc Gilleron
493b93a051 SDF is now encoded with inorm8 and inorm16 2022-02-26 22:51:29 +00:00
Marc Gilleron
07d5f1fb2a Fix float precision in VoxelBoxMover when compiling with 64-bit floats 2022-02-23 00:29:22 +00:00
Marc Gilleron
a88c14a95a Fix missing include 2022-02-20 23:34:15 +00:00
Marc Gilleron
b72ffa260d Rename for_all_blocks => for_each_block 2022-02-20 21:35:35 +00:00
Marc Gilleron
7dca31c444 Unnecessary forward-declaration 2022-02-20 21:35:14 +00:00
Marc Gilleron
933fd81a29 PoolVectors are no longer a thing 2022-02-20 21:34:54 +00:00
Marc Gilleron
0e54920afb Replace existing connection if dragging from/to an input port having one already 2022-02-20 16:57:29 +00:00
Marc Gilleron
729b2a3391 Unnecessary includes 2022-02-20 13:31:25 +00:00
Marc Gilleron
072472bec5 Fix FlatMap was using the type of values to sort keys... 2022-02-19 23:09:01 +00:00
Marc Gilleron
8b8b991060 Fix FlatMap insert methods randomly failing to insert 2022-02-19 22:08:04 +00:00
Marc Gilleron
c844a65325 More explicit include guard 2022-02-19 22:07:11 +00:00