You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Voxel::Detail variant only supports a plain array for storing sub-voxels, but this is not scalable if your voxels contain a lot of per-voxel data. The current array implementation is also not really cache coherent if you access a lot of neighbouring voxels.
A solution is to implement a system that allows for different types of encoding. An Encoding trait should allow iteration over the subvoxels of an encoded Voxel::Detail node. It would also be nice to stack different kinds of encoding, so that you could apply for example both run length encoding and a morton order.
Currently the
Voxel::Detail
variant only supports a plain array for storing sub-voxels, but this is not scalable if your voxels contain a lot of per-voxel data. The current array implementation is also not really cache coherent if you access a lot of neighbouring voxels.A solution is to implement a system that allows for different types of encoding. An
Encoding
trait should allow iteration over the subvoxels of an encodedVoxel::Detail
node. It would also be nice to stack different kinds of encoding, so that you could apply for example both run length encoding and a morton order.Todo:
Encoding
trait.We want at least three types of encoding:
The text was updated successfully, but these errors were encountered: