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

Support for other chunk size #8

Open
oschijns opened this issue Dec 6, 2024 · 1 comment
Open

Support for other chunk size #8

oschijns opened this issue Dec 6, 2024 · 1 comment

Comments

@oschijns
Copy link
Contributor

oschijns commented Dec 6, 2024

As I intend to use this library with lower-end hardware, it would be useful to provide support for chunk-size other than 64³ voxels. From what I understand face visibility is evaluated through bitwise operation with one bit padding around the chunk (62³ voxels).

I guess 8³, 16³ and 32³ could be supported through the use of feature flags or by using templates ?

@Inspirateur
Copy link
Owner

Yes it is exactly as you say. We can make it work with smaller bit sizes, I'm going to look into templating :)

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

2 participants