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

More accurate view distance culling #49

Open
Ralith opened this issue Apr 10, 2020 · 0 comments
Open

More accurate view distance culling #49

Ralith opened this issue Apr 10, 2020 · 0 comments
Labels
enhancement New feature or request visuals Something should be prettier

Comments

@Ralith
Copy link
Owner

Ralith commented Apr 10, 2020

Currently, Graph::nearby_nodes only considers node centers. This causes chunks which fall within view distance, but which lie in nodes that do not, not to be rendered. While an exact solution requires potentially nontrivial hyperbolic geometry predicates, we could achieve a significantly closer approximation by checking distance to each vertex of the node and rendering chunks which lie on vertices that fall within view distance even if the center of their node does not. Alternatively, chunk bounding spheres could be used as discussed in #100.

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

No branches or pull requests

1 participant