Commit Graph

39 Commits

Author SHA1 Message Date
f1e10c89b0 Ported the phase_terrain_mesh from Terraman to the terrain job. I added it as a new method for now. I haven't yet switched to it. 2022-02-09 00:15:43 +01:00
53f3ff60c1 Ported the helper methods for the terrain job from Terraman. Did not touch the ectual meshing code yet, 2022-02-09 00:05:16 +01:00
c694c04768 Ported TerrainMesherJobStep from Terraman 2022-02-08 22:53:50 +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
abe5db00cb Work on fixing compile for 4.0. 2022-02-07 00:15:44 +01:00
d9c523de59 Fix standalone compilation. Closes #2 2021-02-08 15:34:08 +01:00
547aeaad4d Fix compile for 4.0. 2021-02-06 11:51:50 +01:00
9a151ffc6c Same treatment to methods in VoxelManLibrary. 2020-10-27 23:24:24 +01:00
f4ba38ecd0 Same treatment to the mesh related methods in VoxelChunkDefault. 2020-10-27 19:04:20 +01:00
2dec05f80f Also renamed the channel-related methods in VoxelChunk. 2020-10-27 12:45:15 +01:00
1d1fdf5c56 Same treatment to jobs in VoxelChunk. 2020-10-26 18:29:05 +01:00
851b4efb52 Same change to the collider-related method in VoxelChunk. 2020-10-26 17:24:22 +01:00
98155939c2 Renamed the mesh data resource getters in VoxelChunk to a new format, where the mesh_data_resource in the name is a prefix and not a postfix. This makes VoxelChunk's in engine documentation much more usable. 2020-10-26 16:52:38 +01:00
4ecc424b84 VoxelJob should be a inherited from Reference if ThreadPool is not available. 2020-10-24 22:08:39 +02:00
b069d38265 Properly break circular reference if a job gets cancelled while working 2020-10-24 22:04:57 +02:00
9824738095 Make sure VoxelPropJob calls next job and sets itself to complete properly on every codepath. 2020-10-20 22:04:29 +02:00
50701f1740 Also add the new lod generation code to the prop job. 2020-10-20 17:10:26 +02: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
33030e485a properly call set_complete in VoxelLightJob. This fixes non-threaded chunk builds. 2020-10-08 11:23:27 +02:00
9de15f0b0f Uncomment a mesh data resource check. Also handle if phase gets too high in VoxelTerrarinJob. 2020-10-07 11:54:30 +02:00
e42931597c Fix compile for 4.0. 2020-10-06 23:15:32 +02:00
3add3daef4 VoxelPropJob now works. 2020-10-06 19:24:58 +02:00
989e82b332 Small cleanups. 2020-10-06 12:29:16 +02:00
8c06a778f2 Now generation works again. Also removed some stray debug prints, and small cleanups. 2020-10-06 00:05:06 +02:00
08c2fc8fc1 More work on the logic. 2020-10-03 21:58:24 +02:00
235943f7ca Removed the old meshing implementation, and replaced most logic to the new one. The code compiles, but it won't work for now. Also other cleanups. 2020-10-02 23:47:39 +02:00
46132202b0 Added generation specific process and physics process to VoxelChunk and VoxelJob. 2020-10-02 16:45:08 +02:00
43bb7dfa66 Add back the next_phase call into the new jobs. 2020-10-02 14:53:45 +02:00
3f04002453 Fix errors with bindings 2020-10-02 12:24:00 +02:00
a25862527c More work on VoxelJob's api. 2020-10-02 12:19:24 +02:00
643f76f7e8 Also add the reset code to VoxelPropJob. 2020-10-01 23:51:10 +02:00
8ff53e4299 Added VoxelPropJob. 2020-10-01 23:43:04 +02:00
9cca71355f Added VoxelLightJob. 2020-10-01 21:44:59 +02:00
3f23be12bc VoxelTerrarinJob now has the necessary code in it as methods. 2020-10-01 21:31:39 +02:00
bf17467879 Clear the 2 vectors in the destructor. 2020-10-01 21:05:37 +02:00
394214b758 Added the meshers and liquid meshers api from VoxelChunk into VoxelTerrarinJob. 2020-10-01 21:01:39 +02:00
579e4263d0 Added VoxelTerrarinJob. 2020-10-01 20:57:42 +02:00
be2cd7a4b3 Added a vector of jobs and an api for it into VoxelChunk. 2020-10-01 20:49:54 +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