Commit Graph

1861 Commits (e289e9da930e3d06db7a74df435bf74b4c1522a9)

Author SHA1 Message Date
Marc Gilleron e289e9da93 Fix and cleanup
- Remove some experimental code
- Fix edge case in boundary sign
- Optimize and re-use grid to space transform
2022-05-04 23:33:40 +01:00
Marc Gilleron eb03e2df92 Expose boundary sign fix 2022-05-02 22:16:06 +01:00
Marc Gilleron f30ac3fc2d Expose AABB 2022-05-02 21:39:44 +01:00
Marc Gilleron 0c0003ad35 Fix wrong method name 2022-05-02 19:49:50 +01:00
Marc Gilleron cd9a9092cb Don't expose untested mode 2022-05-02 19:17:18 +01:00
Marc Gilleron 868ae90fbe Added VoxelMeshSDF and VoxelToolLodTerrain.stamp_sdf() 2022-05-02 19:14:12 +01:00
Marc Gilleron 76fa8c9c50 Unnecessary include 2022-05-02 17:01:14 +01:00
Marc Gilleron 2f2ab384a6 Better trilinear interpolation 2022-05-02 15:47:31 +01:00
Marc Gilleron d145a30816 Fix checkmark not updating when selecting Show Octree Nodes 2022-05-02 14:52:42 +01:00
Marc Gilleron 1877c3df9c Constify 2022-05-02 14:52:12 +01:00
Marc Gilleron 3c17c786bf Added debug function to debug-print 3D SDF as colored image slices 2022-05-02 14:51:53 +01:00
Marc Gilleron 994aa50126 Comments 2022-05-02 14:50:27 +01:00
Marc Gilleron adbfd3b584 `floor_to_int` to emphasize the return value converts to int 2022-05-02 14:49:40 +01:00
Marc Gilleron 6b81e6ac9b Moved ops to funcs header 2022-04-29 23:27:50 +01:00
Marc Gilleron a5e429de6f Moved some Vector3i function specializations to math:: namespace 2022-04-29 23:25:37 +01:00
Marc Gilleron c0ca89a797 Missing include guards 2022-04-29 23:21:00 +01:00
Marc Gilleron 190bd1b466 Try to use explicit Packed*Array in helper functions as Vector<T> likely won't be available in GDExtension 2022-04-29 23:20:41 +01:00
Marc Gilleron af460853d3 Fix comparison 2022-04-24 17:27:21 +01:00
Marc Gilleron cf7e075e8a Fix macros to compile release 2022-04-24 17:27:06 +01:00
Marc Gilleron f8198baa2f Fix alpha check 2022-04-22 22:45:15 +01:00
Marc Gilleron ac73904df7 Fix wrong version when saving blocks 2022-04-22 22:20:48 +01:00
Marc Gilleron 8cf52b8967 Fix voxel graph test 2022-04-22 22:06:35 +01:00
Marc Gilleron dc8aed91c3 Added color_to_u16 helper function 2022-04-21 18:50:28 +01:00
Marc Gilleron 0cf1cb70ee Fix color to u16/u8 conversions used in VoxelMesherCubes raw color mode 2022-04-21 18:48:24 +01:00
Marc Gilleron 0450febebb Fixed inverted condition 2022-04-20 21:22:03 +01:00
Marc Gilleron 6fa4416984 Use generic error macros in storage funcs 2022-04-19 01:14:40 +01:00
Marc Gilleron f60c506e75 CompressedData doesn't depend on Godot 2022-04-19 01:04:53 +01:00
Marc Gilleron 5965bcf98f FileLocker doesn't depend on Godot 2022-04-19 00:58:29 +01:00
Marc Gilleron 4e3d4d4ed8 Threading classes wrappers 2022-04-19 00:32:37 +01:00
Marc Gilleron f48ebe8557 Moved StreamPeer stuff to Godot-specific wrapper 2022-04-18 20:40:25 +01:00
Marc Gilleron 3d81a52ccb Convention for type indices 2022-04-18 20:19:02 +01:00
Marc Gilleron d7e0af161a Abstracted voxel metadata so internals no longer depends on Variant 2022-04-18 19:59:38 +01:00
Marc Gilleron 8aec9cf777 VoxelBufferInternal doesnt depend on Image 2022-04-16 16:07:45 +01:00
Marc Gilleron 3f9faad0cd Remove unnecessary TTR, it's not a message printed in an editor dialog 2022-04-16 15:25:11 +01:00
Marc Gilleron f3be787f69 Remove usage of FileAccessMemory 2022-04-16 02:27:18 +01:00
Marc Gilleron 54c10d4902 Fix signedness warning 2022-04-16 02:26:32 +01:00
Marc Gilleron fcab8aab6f Fix unused variable warnings 2022-04-16 02:25:13 +01:00
Marc Gilleron 491b5ca9ea Fix missing header for GCC (7) 2022-04-16 02:13:56 +01:00
Marc Gilleron 4af7841dec Fix missing header for GCC (6) 2022-04-16 02:08:09 +01:00
Marc Gilleron 2168bc5e12 Fixed unused variable warning 2022-04-16 01:45:57 +01:00
Marc Gilleron 6fb9dd6c04 Fix missing header for GCC (5) 2022-04-16 01:16:58 +01:00
Marc Gilleron f452d8577a Fix shadowing and signedness warnings 2022-04-16 01:16:43 +01:00
Marc Gilleron 8cd51d3d68 Fix missing header for GCC (4) 2022-04-16 00:53:45 +01:00
Marc Gilleron 75d8343700 Fix ambiguous assignment 2022-04-16 00:39:13 +01:00
Marc Gilleron 87f3aeb5e2 Fix missing header for GCC (3) 2022-04-16 00:15:50 +01:00
Marc Gilleron f50024fd10 Fix missing header for GCC 2022-04-16 00:07:23 +01:00
Marc Gilleron 63445b7923 Fix missing header for GCC 2022-04-15 23:24:08 +01:00
Marc Gilleron a5c3f8b824 Fix code to work with Godot's new FileAccess RefCounted object 2022-04-15 23:13:31 +01:00
Marc Gilleron 5d4e21bf8e Update code guidelines 2022-04-15 16:46:19 +01:00
Marc Gilleron 824a2955a9 Split VoxelGraphRuntime into several files 2022-04-15 16:09:35 +01:00