Commit Graph

64 Commits (b16d8ff00d25fc3816bf4a863ff96f329fead14f)

Author SHA1 Message Date
Marc Gilleron 7064f6e471 Color palette support in .vox loader and Cubes mesher 2020-09-13 02:17:11 +01:00
Marc Gilleron e1b9a25db7 Added utility class to load MagicaVoxel .vox files 2020-09-12 21:10:05 +01:00
Marc Gilleron 79d73e3f5a Added cubes mesher with greedy meshing support 2020-09-11 00:36:23 +01:00
Marc Gilleron 81e1872f8b Implemented viewers for VoxelTerrain 2020-09-06 19:01:12 +01:00
Marc Gilleron b8c97ebc55 Switch VoxelLodTerrain to VoxelServer 2020-08-31 21:51:30 +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 bcfc8ce04e Add some stats 2020-08-26 21:17:57 +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 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 7316e415dc Implemented block events for VoxelTerrain 2020-08-10 20:57:03 +01:00
Marc Gilleron 27f37ea56c Move voxel graph editor under its own folder 2020-07-30 18:50:45 +01:00
Marc Gilleron 0cdf5ea550 Added random tick API for blocky voxels 2020-07-28 20:32:33 +01:00
Marc Gilleron 4991b682d9 Exposed block serializer 2020-07-25 21:56:23 +01:00
Marc Gilleron e7c720ceeb Added barebones editor plugin to edit VoxelGeneratorGraph (does nothing for now) 2020-03-01 18:12:16 +00:00
Marc Gilleron f4a5b36fe9 Moved node DB to its own file 2020-02-23 19:08:14 +00:00
Marc Gilleron 07905ba580 Renamed `evaluate` in ProgramGraph to a more descriptive name 2020-02-22 22:45:22 +00:00
Marc Gilleron af09121c9f Fixed a bunch of things 2020-02-19 21:59:41 +00:00
Marc Gilleron 515751a3e6 WIP VoxelGeneratorGraph, compiled and untested 2020-02-19 19:26:14 +00:00
Marc Gilleron c33f46a437 Split VoxelGeneratorTest into VoxelGeneratorWaves and VoxelGeneratorFlat 2020-02-17 22:05:16 +00:00
Marc Gilleron 3ec2275ffb Moved Voxel and VoxelLibrary under the blocky mesher directory, since that's what they are actually used for 2020-01-27 00:04:13 +00:00
Marc Gilleron b937020d16 Rename files to match class names 2020-01-26 22:43:47 +00:00
Marc Gilleron 8879d9b2e7 Moved all generators under their own base class and folder 2020-01-26 22:34:26 +00:00
Marc Gilleron 0ac1b7e6dc Moved edition-related classes to a sub-folder 2020-01-26 20:29:44 +00:00
Marc Gilleron 20dc0008f4 Removed legacy marching cubes mesher 2020-01-26 20:18:21 +00:00
Marc Gilleron 7161942ee1 Fix memory leak in VoxelBuffer::fill() 2020-01-26 01:59:53 +00:00
Marc Gilleron df3a649e18 Added VoxelStreamNoise2D 2020-01-21 23:52:25 +00:00
Marc Gilleron b90e6b8207 Abstract most of VoxelStreamImage into VoxelStreamHeightmap 2020-01-21 22:41:55 +00:00
Marc Gilleron c493aec343 Use StringNames when applicable 2020-01-17 20:43:28 +00:00
Marc Gilleron 9dc09618be ZProfiler is now usable from anywhere including threads 2020-01-07 20:32:36 +00:00
Marc Gilleron 716b820599 Remove VoxelIsoSurfaceTool, superseded by VoxelTool 2020-01-02 21:07:23 +00:00
Marc Gilleron f2975e517a Add memory pool for VoxelBuffer channels 2020-01-02 20:31:05 +00:00
Marc Gilleron 68e35744b2 Rewrite profiler dump to not use Godot API, also allow to use a singleton 2020-01-02 20:24:20 +00:00
Marc Gilleron 6977133006 Forked Transvoxel mesher into an MC one with overlap seam mode.
It's mostly because the transvoxel mesher is going to change,
and the MC mesher will only act as a simplified legacy mesher.
It has experimental support for overlap seams, but it didn't work
well due to Z-buffer precision being too weak.
2019-12-23 21:41:30 +00:00
Marc Gilleron e783c75242 Register missing class to fix C# binding 2019-09-24 18:48:30 +01:00
Marc Gilleron b284541219 Cleanup includes 2019-09-05 19:43:25 +01:00
Marc Gilleron 4ab688c9be Barebones edition, untested WIP 2019-09-05 02:24:16 +01:00
Marc Gilleron eb01f99c2c First WIP at paging LOD 2019-08-29 22:55:02 +01:00
Marc Gilleron f14b374931 Made block size and a few other params modifiable (not so easy, though) 2019-08-24 01:44:27 +01:00
Marc Gilleron 808f22fb35 Rename VoxelStreamRegion => VoxelStreamRegionFiles 2019-08-17 19:56:21 +01:00
Marc Gilleron ece3a355af Rename VoxelStreamVXB => VoxelStreamBlockFiles 2019-08-17 19:43:08 +01:00
Marc Gilleron 01b1ee0170 Added first working version of region save format, still WIP 2019-08-14 20:34:06 +01:00
Marc Gilleron 82502d3397 Simple file-per-block saving WIP. Compiles but didn't test. 2019-05-28 00:40:09 +01:00
Marc Gilleron 4a90ca10a5 Rename "provider" files to "stream" 2019-05-25 16:16:03 +01:00
Marc Gilleron 2e1b13ffea Rename VoxelProvider* => VoxelStream* 2019-05-25 16:07:38 +01:00
Marc Gilleron fc4dee54d7 Added VoxelProviderNoise for testing 2019-05-05 18:27:33 +01:00
Marc Gilleron 9bab6c04d1 Added VoxelLodTerrain, focused on LOD. No seam management, no editing yet. 2019-05-04 00:02:10 +01:00
Marc Gilleron faefde721a Add base class to all meshers, gather common things in it 2019-04-28 20:48:59 +01:00
Marc Gilleron 12a97cca5a Reorganize all files and rename a few things 2019-04-28 17:58:29 +01:00
Marc Gilleron 1defe3bdbd Added VoxelIsoSurfaceTool 2019-04-22 20:15:46 +01:00