Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better simplify wrt. mip-maps #59

Open
2 tasks
davids91 opened this issue Nov 23, 2024 · 0 comments
Open
2 tasks

Better simplify wrt. mip-maps #59

davids91 opened this issue Nov 23, 2024 · 0 comments

Comments

@davids91
Copy link
Owner

davids91 commented Nov 23, 2024

Based on implementation

pub(crate) fn subdivide_leaf_to_nodes(&mut self, node_key: usize, target_octant: usize) {

  • During Leaf node simplification,
    NodeContent::Leaf(bricks) => {
    do not check if all bricks are equal, instead check if the leaf in itself can be represented by one brick. That essentially means for one voxel in the larger brick, at least 8 voxels need to have the same content ( depending on brick DIM ).
  • Add a testcase for this simplification
@davids91 davids91 added this to the Shocovox Brie Octree milestone Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant