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

ogt_voxel_meshify: Suppress geometry between chunks #10

Open
jpaver opened this issue Jun 23, 2021 · 0 comments
Open

ogt_voxel_meshify: Suppress geometry between chunks #10

jpaver opened this issue Jun 23, 2021 · 0 comments

Comments

@jpaver
Copy link
Owner

jpaver commented Jun 23, 2021

For meshing minecraft style chunks, the current algorithms will always generate polygons on chunk boundaries as they assume the data outside the grid is non-solid.

It may be useful to add support for avoiding these polygons.

One possible way would be if user tries to meshify MxNxK voxels, but provides M+2xN+2xK+2 voxel grid that contain the neighbor cells within the outer-shell. It'd be simple enough to extend the meshifiers to only consider the inner MxNxK grid for meshing, but use the data on the shell for determining whether faces are required.

@jpaver jpaver changed the title Suppress geometry between chunks ogt_voxel_meshify: Suppress geometry between chunks Feb 6, 2022
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