18 Commits

Author SHA1 Message Date
Marc Gilleron
2971334e85 Changed VoxelToolLodTerrain to use write_box
- Should be faster than get/set_voxel
- No longer expose internal data map
2021-09-17 20:01:15 +01:00
Marc Gilleron
bd696b4caa Functions that should be const 2021-09-09 18:52:00 +01:00
Marc Gilleron
5fcd7f7363 Added mesh optimization option to Transvoxel, using MeshOptimizer 2021-07-11 16:19:49 +01:00
Marc Gilleron
3ffd07af47 Added copy to VoxelToolLodTerrain 2021-07-10 20:19:44 +01:00
Marc Gilleron
e05fb7a045 Does not need to be a non-const reference 2021-07-01 23:14:23 +01:00
Marc Gilleron
5fdf9e700f Exposed interpolated float voxel query 2021-07-01 22:44:27 +01:00
Marc Gilleron
c2248f9254 I don't remember why this was padded 2021-06-16 23:33:58 +01:00
Marc Gilleron
1ee5bcb80d Renamed Rect3i -> Box3i 2021-05-31 17:12:04 +01:00
Marc Gilleron
2e9d817246 Moved VoxelDataMap to storage/ folder 2021-05-31 16:27:08 +01:00
Marc Gilleron
74e89b882e Implemented texture painting on all VoxelTools using faster access to voxels 2021-05-29 23:28:11 +01:00
Marc Gilleron
f943339f31 Researching tri-channel weights storage
- No changes made for now, but the code is there if we want to switch
- Renamed functions to be more explicit
2021-05-23 20:28:06 +01:00
Marc Gilleron
1a9750194b Added same basic painting function to VoxelToolLodTerrain (untested) 2021-04-25 22:20:05 +01:00
Marc Gilleron
758e3bd227 Allow to use block size 32 for mesh blocks while using 16 for data blocks
Still hardcoded but a config should be added
2021-04-03 20:39:37 +01:00
Marc Gilleron
b51897b8df Added voxel raycast to VoxelToolLodTerrain
- Made more precise with an option to use binary search (unoptimized)
- Distance along ray is now available in blocky terrains as well
2021-02-21 03:08:47 +00:00
Marc Gilleron
3e510d2e93 get_voxel may be const 2020-12-30 20:09:31 +00:00
Marc Gilleron
d52f882ae1 VoxelMap is no longer bound, it had no use in the API 2020-11-21 18:31:11 +00:00
Marc Gilleron
47a6426a12 Fix 64-bit usage in VoxelTool 2020-08-06 19:54:47 +01:00
Marc Gilleron
0ac1b7e6dc Moved edition-related classes to a sub-folder 2020-01-26 20:29:44 +00:00