Commit Graph

10 Commits

Author SHA1 Message Date
bdf5c36711 Now VoxelWorldDefault will update lods if a player is set by default. This can be turned off via a new use_default_lod_update property. Also smaller fixes to the default lod update algorithm. 2022-02-09 14:25: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
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
5358c99646 Now VoxelChunkDefault supports coloring MeshDataResources that span multiple chunks. 2020-08-16 18:20:16 +02:00
b95f055acd Add lod falloff property to VoxelWorldDefault. Also improved _update_lods(). 2020-08-03 19:05:40 +02:00
7c93cc8f52 VoxelWorldDefault will not update lods automatically for now. 2020-05-23 21:59:58 +02:00
23d9acb5d4 Ported the lod level updater code from broken seals. 2020-04-17 22:09:55 +02:00
76f9011c24 Added an overrideable fonction to VoxelWorld, so the editor plugin will be able to query the correct channel ids, for any particular world. returning -1 will mean not supported. 2020-04-16 21:59:30 +02:00
c691c13277 Added a _chunk_added virtual method to voxel world. 2020-04-06 13:55:22 +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