Commit Graph

76 Commits

Author SHA1 Message Date
c694c04768 Ported TerrainMesherJobStep from Terraman 2022-02-08 22:53:50 +01:00
3410575387 Ported the Material Cache and the VoxelLibraryMergerPCM classes from Terraman. 2022-02-08 22:47:06 +01:00
fe4a83b909 Changed the Voxelman prefix of the classes to just Voxel as suggested by filipworksdev. Closes #5. Thanks. 2022-02-08 12:36:37 +01:00
6e68267bd0 My mesh utils module is now an optional dependency. The terrarin job will use it to simplify meshes over lod level 4. 2020-10-20 16:29:39 +02:00
8ff53e4299 Added VoxelPropJob. 2020-10-01 23:43:04 +02:00
9cca71355f Added VoxelLightJob. 2020-10-01 21:44:59 +02:00
579e4263d0 Added VoxelTerrarinJob. 2020-10-01 20:57:42 +02:00
71f69666cd Moved VoxelJob to a new folder. Also added generate_ao and generate_random_ao from voxel chunk into it. 2020-10-01 20:18:43 +02:00
cff203fc49 Now the threading is handled by ThreadPool. 2020-08-04 09:44:18 +02:00
6f7c4fbc8a Removed VoxelChunkPropData, the api of VoxelWorld, and VoxelChunk now uses PropDatas directly. 2020-07-07 01:06:46 +02:00
7bd5592d2e Moved PropVoxelmanLight here from the props module, and renamed it VoxelmanLight. 2020-06-27 19:00:46 +02:00
02b434a2a2 Remove leftover print. 2020-06-27 17:07:02 +02:00
a991de9d2e Moved PropData to the props modue. 2020-06-27 17:04:40 +02:00
85b7009fc7 Removed PropTool (again). Will be reimplemented as a tool that can convert scenes. Kind of like the meshlibrary converter. 2020-06-27 14:22:41 +02:00
88ab910eb8 Brought back the old Prop implementation, and PropTool, because not only this implementation was already done, it will work better than spawning possibly thousands of nodes with the props module, but I also found a way to eventually make it more user friendly. 2020-06-22 21:49:58 +02:00
7219d7b2d4 Added a Cubic chunk and World. 2020-06-12 19:34:47 +02:00
7c95171944 Added a MarchingCubes World and Chunk. 2020-06-12 18:36:00 +02:00
cc90d3b54b Removed the Transvoxel Mesher. 2020-06-12 18:02:46 +02:00
a83585bd81 Turned the Transvoxel mesher into a MarchingCubes mesher. Removed the parts that weren't used. 2020-06-12 17:59:04 +02:00
ab26a7627a Added a blocky liquid mesher. (It's just a copy of the normal blocky mesher for now.) 2020-04-19 23:02:37 +02:00
ba0c1bc820 Added a flat level generator. 2020-04-17 15:29:36 +02:00
a4fc573f85 Optional module dependencies are actually optional now. 2020-04-06 22:47:03 +02:00
28ce072e51 Renamed VoxelMesherTransvoxel to VoxelMesherUVTransvoxel. 2020-04-06 14:52:18 +02:00
b4c61ac674 Created a default version from world, and the mesher. Also added a BuildFlags enum to VoxelChunkDefault. Converted a few properties to use this. 2020-04-06 13:41:45 +02:00
dfee0a7786 Added a blocky mesher, chunk, and world (The minecraft-style mesher). It's incomplete. Also ported the light baking step from Broken Seals, and fixed a few warnings. 2020-04-05 01:36:41 +02:00
214323a9a0 Fix compile. 2020-04-03 09:32:34 +02:00
bf211fd430 Moved everything that is prop related to a new repository (props). It is required for this to compile for a short wile, while I rework things. 2020-04-03 09:25:07 +02:00
165ebb68bf Removed the 2 queue implementations. 2020-03-31 12:32:49 +02:00
0202233a6f Added lz4. It will be used to compress chunk data. The choice of the algorithm was inspired by Zylann's godot_voxel. 2020-03-31 12:27:29 +02:00
a36b7a8ab6 Fix linux build with tools=no. 2020-03-31 00:57:58 +02:00
a5c5a7b56b Remove -std=c++11 cppflag as it!s not needed. Also compile fix for msvc. 2020-03-24 16:56:04 +01:00
d0578c24d4 Separated VoxelStructure into 2 classes, and made it scriptable. 2020-03-19 13:08:58 +01:00
080e8f2437 Broke up VoxelChunk into VoxelChunk and VoxelChunkDefault. 2020-03-12 23:23:38 +01:00
d8d34d5bce More work on porting PropTool. 2020-02-29 00:21:59 +01:00
6178cf92d6 Ported PropToolEntity Aswell. 2020-02-27 22:50:18 +01:00
c9978d13ba Ported PropToolProp aswell. 2020-02-27 21:37:50 +01:00
0a27c60136 Fully ported PropToolScene aswell. 2020-02-27 21:23:45 +01:00
eeb0a8b198 Fully ported ProlToolLight aswell. 2020-02-27 21:06:45 +01:00
0e12fd732d Fully Ported PropToolMesh. 2020-02-27 20:41:09 +01:00
e45e3875f8 Setup for a new VoxelWorldEditor. 2020-02-27 14:27:52 +01:00
ba46eafc19 Removed the mesh simplifier, it has it's own repository now. 2020-01-31 16:13:19 +01:00
6e8d135f0d Work on an editor plugin. Removed it from the build. 2020-01-25 22:06:43 +01:00
b0b38396c4 Added mesh simplifier to the build, fixed compile, and started work on bindings. 2020-01-21 23:56:37 +01:00
4a8ed25544 Moved the transvoxel mesher into a folder. 2020-01-14 02:57:32 +01:00
b559329212 Now this module can be built as shared. 2020-01-03 16:44:53 +01:00
22bf841298 An experimental unbounded queue implementation. 2019-12-03 14:28:32 +01:00
c386b6850b Added a really simple thread-safe queue. It will still need a lot of work. 2019-12-03 03:39:53 +01:00
d5acb28a90 More work on fixing compile. 2019-11-18 22:22:41 +01:00
5b275155c5 Removed the classes that I got from the other voxel module. Moved the stuff that I wrote from VoxelBuffer to VoxelChunk. I'll reimplement the needed stuff myself into the chunk. 2019-11-18 19:22:11 +01:00
b6f49e3f89 Moved back out the world generator. 2019-11-16 23:46:19 +01:00