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

Overhaul block data storage #46

Open
alex-irt opened this issue Sep 5, 2015 · 1 comment
Open

Overhaul block data storage #46

alex-irt opened this issue Sep 5, 2015 · 1 comment

Comments

@alex-irt
Copy link
Collaborator

alex-irt commented Sep 5, 2015

Block data storage is currently a boolean, a short and 4 bytes intended to be used to store per block data, as pointed out by /u/Sleakes on Reddit this isn't a good system and needs to be overhauled. Only a few things use this data so far so it's still a good time to change. Still not sure what to replace it with though.

@veive
Copy link

veive commented Sep 11, 2015

0 fps blog had a good write up on various methods for storing voxel engine data a few years ago.

blog post

link to the benchmark code on github

TL;DR: Look into a hashed interval tree if you haven't already!

alex-irt added a commit that referenced this issue Sep 17, 2015
Issue #46. More testing to be done and an example block is needed but
this overhaul is in progress, I think this will make block data more
flexible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants