Commit Graph

1875 Commits (668fedfa528f9971577f7bf19041f948db512d3d)

Author SHA1 Message Date
Marc Gilleron 668fedfa52 Fix copypasta 2022-05-07 22:27:52 +01:00
Marc Gilleron 8a7fdbfcf8 Fix signedness warnings 2022-05-07 22:27:35 +01:00
Marc Gilleron 4bc852e573 Fix shadowed variables 2022-05-07 22:27:11 +01:00
Marc Gilleron 3f25899cdf Unused variables 2022-05-07 22:26:23 +01:00
Marc Gilleron ae8a6c041f Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-05-07 22:06:54 +01:00
Marc Gilleron 35e4b5cd17 Update to new module registration 2022-05-07 22:06:32 +01:00
Marc Gilleron 35ddc51f18 Fix Basis::get_axis() was renamed to get_column() 2022-05-07 21:27:41 +01:00
Marc Gilleron 0924514adc Missing implementations 2022-05-07 20:48:39 +01:00
Marc Gilleron dff7386186 Moved conversions to conv.h 2022-05-07 20:34:06 +01:00
Marc Gilleron f993796ca1 Added inspector plugin to edit VoxelMeshSDF 2022-05-05 20:57:59 +01:00
Marc Gilleron 3289b44136 Made VoxelMeshSDF a resource so it can be saved and loaded 2022-05-05 20:57:34 +01:00
Marc 271d738ada
Merge pull request #374 from duchainer/master
MacOS build: Fix size discrepancy between size_t and uint64_t in voxel_block_serializer.cpp
2022-05-05 20:19:44 +01:00
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
Raphaël Duchaîne f188e1f191 Replace size_t read_size with uint64_t instead 2022-04-27 11:07:27 -04:00
Raphaël Duchaîne b9770cbf5a WIP Fix MacOS decrepancy between uint64_t and size_t 2022-04-26 16:26:28 -04: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