41 Commits

Author SHA1 Message Date
Marc Gilleron
9a74362aca Added vox scene importer. No options at the moments. 2021-07-31 18:48:47 +01:00
Marc Gilleron
5fcd7f7363 Added mesh optimization option to Transvoxel, using MeshOptimizer 2021-07-11 16:19:49 +01:00
Marc Gilleron
b538a0beb8 Moved noise tests to tests folder 2021-06-19 18:34:50 +01:00
Marc Gilleron
b5f1634906 Fix undefined variable 2021-05-08 20:41:28 +01:00
Marc Gilleron
46437ef9e7 Only run tests in debug targets for now 2021-05-08 19:27:33 +01:00
Marc Gilleron
9bcc3580d6 Added first C++ test 2021-04-03 20:40:35 +01:00
Marc Gilleron
76ec90fe34 Moved constants and tables under a folder 2021-02-21 23:58:00 +00:00
Marc Gilleron
00fe474d46 Attempted again to integrate FastNoise2, but C++17 is really needed. 2021-02-21 03:02:32 +00:00
Marc Gilleron
d1207bdd96 Reorganized some utility files 2021-02-17 20:34:35 +00:00
Marc Gilleron
094bbc1fe1 Refactored API to allow editor inspection and preview 2021-02-14 21:55:31 +00:00
Marc Gilleron
6856f4b491 Moved instancing stuff under a folder 2021-02-07 21:40:55 +00:00
Marc Gilleron
4353939eb4 Move region stuff to a folder 2021-01-31 16:51:42 +00:00
Marc Gilleron
01e5e18922 Implemented VoxelStreamSQLite 2021-01-28 22:02:49 +00:00
Marc Gilleron
973cf729cd Added FastNoise2 for SIMD noise, but it won't be integrated yet.
It requires C++17, while Godot uses C++14. I was unable to override it,
and I'm not sure how compatible this will be with the runtime.
At least this would be doable in Godot 4.
2021-01-09 16:35:40 +00:00
Marc Gilleron
c8dcbc55e3 Added FastNoiseLite 2021-01-02 00:59:12 +00:00
Marc Gilleron
2018625b34 Moved simple generators under a simple/ folder 2020-12-18 21:19:02 +00:00
Marc Gilleron
e73cdaa707 Exclude editor stuff when building an export template 2020-12-04 22:01:41 +00:00
Marc Gilleron
d158a92f57 Show bounds and octrees of VoxelLodTerrain with debug drawing 2020-10-24 00:08:14 +01:00
Marc Gilleron
6c80da0425 Moved VoxelBuffer and VoxelMemoryPool under storage/ directory 2020-09-14 19:33:02 +01:00
Marc Gilleron
79d73e3f5a Added cubes mesher with greedy meshing support 2020-09-11 00:36:23 +01:00
Marc Gilleron
1fe50b01d6 Added VoxelServer. Compiles, but isn't used anywhere yet 2020-08-24 01:49:23 +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
27f37ea56c Move voxel graph editor under its own folder 2020-07-30 18:50:45 +01:00
Marc Gilleron
33d38e61b1 Merge branch 'master' into voxel_gen_graph 2020-05-08 18:09:09 +01:00
Cory Petkovsek
d407d6201a Fix build warnings on other platforms 2020-04-03 20:46:29 +08: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
515751a3e6 WIP VoxelGeneratorGraph, compiled and untested 2020-02-19 19:26:14 +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
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
89a0888f9f Moved lz4 to a thirdparty folder 2019-08-24 23:07:30 +01:00
Marc Gilleron
adc6a9391c Fix threading issue causing corruption when duplicate rejection is active 2019-08-23 22:49:43 +01:00
Marc Gilleron
3a64209b27 Added LZ4 compression to saved blocks. Makes them fit in single sectors much more often, increasing performance 2019-08-17 18:15:16 +01:00
Marc Gilleron
a36322842a Reorganize SCons script 2019-05-30 00:45:19 +01:00
Marc Gilleron
4a90ca10a5 Rename "provider" files to "stream" 2019-05-25 16:16:03 +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
1181cfa59f Dual marching cubes WIP (only octree and dual grid extraction, untested) 2019-04-20 17:32:10 +01:00
Marc Gilleron
9303c652d2 Sigh, forgot again a file to compile 2018-09-29 18:58:58 +01:00
Marc Gilleron
5c2e388616 Removed useless line in SCsub 2016-05-05 21:09:13 +02:00
Marc Gilleron
1acabf1307 Added project: first working prototype, but lots of TODOs 2016-05-01 15:00:02 +02:00