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

Chunk LoD #64

Open
Ralith opened this issue Apr 11, 2020 · 3 comments
Open

Chunk LoD #64

Ralith opened this issue Apr 11, 2020 · 3 comments
Labels
enhancement New feature or request performance Something's slower than it should be visuals Something should be prettier

Comments

@Ralith
Copy link
Owner

Ralith commented Apr 11, 2020

As of #63, we're GPU bound on weak hardware. Using simplified geometry for distant chunks could help alleviate this. A very simple approach would be to run marching cubes on entire chunks, such that each chunk is a single cell, containing only a few triangles. Challenges include:

  • Preventing geometric gaps between LoD levels
  • Addressing the discontinuity between boxy and smooth terrain (if we retain boxy voxels)
  • Texturing the topologically very distinct geometry (if we retain boxy voxels)
@Ralith Ralith added enhancement New feature or request performance Something's slower than it should be visuals Something should be prettier labels Apr 11, 2020
@Ralith
Copy link
Owner Author

Ralith commented May 8, 2020

transvoxel presents an elegant solution for LoD boundary stitching with marching cubes.

@Ralith
Copy link
Owner Author

Ralith commented Jun 7, 2020

This should not be addressed before #41, which will reduce the number of triangles rendered dramatically and shift the bottleneck.

@Ralith
Copy link
Owner Author

Ralith commented May 5, 2024

@patowen's benchmarking currently indicates that the rendering time for voxels is utterly insignificant compared to CPU costs, so we should not invest in chunk LoD for the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Something's slower than it should be visuals Something should be prettier
Projects
None yet
Development

No branches or pull requests

1 participant