Block LoDs #535
Labels
area: data
Things related to the data structures underlying the world, and the functions that manipulate them.
area: graphics
kind: feature
Adding user-facing/developer-facing functionality
Allow an
EvaluatedBlock
to provide a series of levels of detail (LoDs) — voxel data of lower resolution than the original/full resolution. This will serve several purposes:Modifier::Inventory
wants to draw inventory items without potentially greatly increasing the resolution, so LoDs for icons are needed.How it should work:
EvalFilter
) should specify the max LoD they are interested in, and whether they want smaller LoDs.EvaluatedBlock
should store a list of LoDs rather than just the single voxel array (note there are only at most 7 possible).EvaluatedBlock
essentially already has this for LoD resolution = 1, but the renderers do not use it because it doesn't fit into the current assumptions of isotropic voxels (see Mesh face colors #421).Related:
Modifier::Zoom
would greatly benefit from being able to ask for only a portion of the voxel data. That's a bit like LoDs in how it influences evaluation. But, see #442 before doing anything about that.The text was updated successfully, but these errors were encountered: