Commit Graph

15 Commits

Author SHA1 Message Date
efc9f895bd Work on fixing compile. 2023-01-09 01:16:03 +01:00
0ab76c86bc Set num_lods in _create_chunk for now, it really needs to be removed though. 2022-02-09 14:10:58 +01:00
a67bc1eeba FastQuadraticMeshSimplifier should have been allocated for the voxel jobs. 2022-02-09 13:57:19 +01:00
9ee54a48c4 Add the new prop job setup to all 4 (3) VoxelWorlds. 2022-02-09 13:34:24 +01:00
a01988fb06 Update initialization of all 3 VoxelWorld implementations to use the new style. (It is not yet enabled.) 2022-02-09 12:45:32 +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
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
7311297906 Chunks that are stored inside worlds in scenes will properly generate their meshes now on load. Had to change _create_chunk a bit, now it will be called for all chunks, and it needs to check whether it has to init jobs or not. 2020-10-24 22:18:23 +02:00
0f5158edeb Better _set_voxel_with_tool for the Marching Cubes world. 2020-10-24 17:53:34 +02:00
0e4e59e970 Remove create_mesher and _create_mesher from chunks. Mesher creating now should be handled by the world itself in _create_chunk. This makes worlds able to use different chunk mesher setups for different parts of a world. Also this cust down the amount of classes that you need to create if you are implementing a new mesher. 2020-10-06 19:43:49 +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
5938f7f783 Now the type and isolevel channels are customizable in the meshers. 2020-08-21 20:02:22 +02:00
21d135fb0b Now chunk can only have one prop mesher. 2020-06-28 20:04:40 +02:00
7c95171944 Added a MarchingCubes World and Chunk. 2020-06-12 18:36:00 +02:00