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-granularity frustum culling #100

Open
Ralith opened this issue May 25, 2020 · 0 comments
Open

Chunk-granularity frustum culling #100

Ralith opened this issue May 25, 2020 · 0 comments
Labels
enhancement New feature or request performance Something's slower than it should be

Comments

@Ralith
Copy link
Owner

Ralith commented May 25, 2020

As of #99, voxel rendering skips processing nodes that lie fully outside the frustum. For nodes that lie on the boundary, we could in principle do better by testing each chunk individually. The bounding spheres for those tests should be centered between the origin of the node and a the chunk vertex, and have half the node's bounding sphere's radius.

Care should be taken to ensure that the extra CPU time to perform this check is justified by the GPU time savings.

@Ralith Ralith added enhancement New feature or request performance Something's slower than it should be labels May 25, 2020
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
Projects
None yet
Development

No branches or pull requests

1 participant