Commit Graph

595 Commits (b26fd944a8b65047a6226dd6b6be4c6907495879)

Author SHA1 Message Date
Marc Gilleron b26fd944a8 Added `VoxelTool.copy` declaration, gonna need this in the future 2020-08-30 18:51:20 +01:00
Marc Gilleron 17ff16aa48 Neighbors are optional when sending meshing requests 2020-08-30 04:00:45 +01:00
Marc Gilleron d81ffb95f4 Detect usage of Tracy, add some profiler scopes 2020-08-30 04:00:01 +01:00
Marc Gilleron 107f29c5d3 Removed old profiler 2020-08-29 23:20:51 +01:00
Marc Gilleron 88e6d83652 Comments and formatting 2020-08-29 22:58:33 +01:00
Marc Gilleron aa2b848102 Workaround crash on exit because the GDScript module is freed before voxel
See https://github.com/Zylann/godot_voxel/issues/189
2020-08-29 22:55:52 +01:00
Marc Gilleron d4d2b6fd9e No longer copy voxels before scheduling threaded tasks. VoxelBuffers now have a lock. 2020-08-29 22:09:54 +01:00
Marc Gilleron 92b10d9175 Fix deadlock on exit when more than one thread is used 2020-08-28 18:31:21 +01:00
Marc Gilleron f10209440f Fix performance hit due to priority being recalculated all the time 2020-08-28 18:30:54 +01:00
Marc Gilleron 28b5ae6580 Unused code 2020-08-28 18:29:42 +01:00
Marc Gilleron 2fda53f57f Fix warning about too many arguments 2020-08-28 18:29:33 +01:00
Marc Gilleron 0d1bd433d9 Multiple meshing threads seems to work 2020-08-27 23:40:36 +01:00
Marc Gilleron 07ca2c74c1 Fixed tasks being picked twice and causing double-deletes 2020-08-27 23:32:34 +01:00
Marc Gilleron bcfc8ce04e Add some stats 2020-08-26 21:17:57 +01:00
Marc Gilleron d8a8936f34 Remove usage of VoxelDataLoader from VoxelTerrain 2020-08-26 19:49:30 +01:00
Marc Gilleron 57d306a033 Fix voxel library not always up to date 2020-08-26 19:49:04 +01:00
Marc Gilleron 56c2a0856a Initial integration on VoxelTerrain with static camera, fixed a bunch of things 2020-08-25 23:00:38 +01:00
Marc Gilleron 1fe50b01d6 Added VoxelServer. Compiles, but isn't used anywhere yet 2020-08-24 01:49:23 +01:00
Marc Gilleron 581dda484b Added changelog 2020-08-17 23:20:46 +01:00
Marc Gilleron c5f0af3b0e Update readme a little 2020-08-17 22:31:00 +01:00
Marc Gilleron 07e91d4892 Add some checks 2020-08-17 22:27:52 +01:00
Marc Gilleron 464bb734ba Try to keep the terrain UI visible when editing generator and graph settings. Hacky stuff. 2020-08-15 21:22:02 +01:00
Marc Gilleron 23ce65d789 Show terrain in editor, with option to turn it off. A scripted stream will turn it off by default. 2020-08-14 20:33:09 +01:00
Marc Gilleron 27180e11e6 Fix cube geometry wrongly considered empty 2020-08-13 20:43:34 +01:00
Marc Gilleron 6ed4ef32b7 Separated baked data from config data in VoxelLibrary and introduced thread-safety with blocky mesher 2020-08-11 23:52:42 +01:00
Marc Gilleron 845fa465b8 Put model information within a struct 2020-08-11 20:29:27 +01:00
Marc Gilleron c81f3d8f81 Skip whole blocks for random tick if they are made of a non-tickable type 2020-08-11 20:11:49 +01:00
Marc Gilleron 66ce79de86 Updated API classes 2020-08-10 21:15:37 +01:00
Marc Gilleron 2a5d1f59c2 Documented summary of a few classes 2020-08-10 20:57:39 +01:00
Marc Gilleron 7316e415dc Implemented block events for VoxelTerrain 2020-08-10 20:57:03 +01:00
Marc Gilleron 8fe769881f Exposed compression getter on VoxelBuffer 2020-08-10 19:48:53 +01:00
Marc Gilleron 759bdb9de6 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2020-08-10 19:03:17 +01:00
Marc Gilleron 1a551fc77d Added support for per-voxel and per-block metadata 2020-08-10 19:03:01 +01:00
Marc Gilleron 1c6404efa5 Allow to use collision mask when raycasting blocky voxels 2020-08-06 19:58:36 +01:00
Marc Gilleron 47a6426a12 Fix 64-bit usage in VoxelTool 2020-08-06 19:54:47 +01:00
Marc 7ed9d5525b
Merge pull request #172 from menip/DoBox
Implement VoxelTool::do_box(...)
2020-08-06 18:46:39 +01:00
menip aae5ad0320 Implement VoxelTool::do_box(...) 2020-08-05 17:21:33 -07:00
Marc Gilleron aa2300866d Fix usage of standalone meshers to build meshes from voxels 2020-08-04 23:55:40 +01:00
Marc Gilleron a14866c386 Implemented VoxelTool::paste for VoxelBuffer 2020-08-04 23:54:40 +01:00
Marc Gilleron 96c4a5bd0b Merge branch 'master' of https://github.com/Zylann/godot_voxel 2020-08-02 18:59:24 +01:00
Marc Gilleron 404de21c9b Don't error when a custom stream can't be used in editor, show warning instead 2020-08-02 18:58:04 +01:00
Marc Gilleron ac3e303818 Report script errors a bit better, I hope 2020-08-02 18:57:08 +01:00
Marc Gilleron 154afe0f01 Added a few classes to doc list 2020-08-02 16:37:46 +01:00
Marc 27b42e1f8a
Merge pull request #167 from menip/FixWarnings
Fix warnings
2020-08-02 16:21:53 +01:00
menip e64f5f882c Fix warnings
Wparentheses
Wsign-compare
Wreorder
2020-08-01 22:03:26 -07:00
Marc Gilleron 61c82078f7 Added collision masks to voxel models so they can be filtered fast 2020-08-01 22:58:16 +01:00
Marc Gilleron 27f37ea56c Move voxel graph editor under its own folder 2020-07-30 18:50:45 +01:00
Marc Gilleron 1310112f25 Fix face culling issue with transparent voxels of different IDs 2020-07-30 18:00:12 +01:00
Marc Gilleron 905dbee563 Explain Voxel ID may not be set again 2020-07-30 17:57:48 +01:00
Marc Gilleron 08e328e786 Fix voxel name lookup 2020-07-28 21:21:23 +01:00