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

Stop chunking together voxels. #170

Open
bfops opened this issue Nov 3, 2015 · 11 comments
Open

Stop chunking together voxels. #170

bfops opened this issue Nov 3, 2015 · 11 comments
Assignees
Labels

Comments

@bfops
Copy link
Owner

bfops commented Nov 3, 2015

They can still be requested/delivered in blocks if there are performance motivations, but less of the code should care about the concept of terrain blocks/chunks, and care only about voxels. Mesh extraction works on arbitrary edges now, so it can be done at the voxel level.

@bfops
Copy link
Owner Author

bfops commented Feb 9, 2016

I'm working on this on the chunkless branch.

@bfops bfops self-assigned this Feb 9, 2016
@bfops
Copy link
Owner Author

bfops commented Feb 9, 2016

Load/unload state is tracked per-edge instead of per-chunk. Loading is noticeably slower. The client SurroundingsLoader is still working on chunks, which might be part of the reason.

@bfops
Copy link
Owner Author

bfops commented Feb 9, 2016

Load speed improved.

@bfops
Copy link
Owner Author

bfops commented Feb 9, 2016

The mesh seams are bigger in this branch

@bfops
Copy link
Owner Author

bfops commented Feb 9, 2016

Two blocking issues:

  • Load speed is still noticeably slower
  • Edges aren't properly unloaded!

@bfops
Copy link
Owner Author

bfops commented Feb 10, 2016

Edge loading seems fixed.. load speed is still bad.

@bfops
Copy link
Owner Author

bfops commented Feb 11, 2016

Edge unloading still broken

@bfops
Copy link
Owner Author

bfops commented Feb 12, 2016

I think the problem has to do with when edges from a higher LOD don't have corresponding edges in a lower LOD (ones going through the middle of a lower-LOD voxel). The code that used to downgrade chunk LODs should be responsible for this now.

@bfops
Copy link
Owner Author

bfops commented Feb 17, 2016

The chunk unloading logic is also broken.

@bfops
Copy link
Owner Author

bfops commented Feb 18, 2016

I think edge reloading is fixed (there was a bug in rust-isosurface-extraction), but chunk/edge unloading logic is still shaky. Also framerate and load speed are bad.

@bfops
Copy link
Owner Author

bfops commented Mar 4, 2016

Brushes are broken too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant