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

Check surface objects visibility based on terrain tiles sectors intersection instead of frustum culling #35

Open
ComBatVision opened this issue Jul 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ComBatVision
Copy link
Member

Each image layer and surface shape or image calculates its own bounding box, access elevation model and makes frustum intersection instead of just checking if it intersect current terrain in 2d, which already intersected frustum in this frame during tessellation.

Surface objects cannot be outside terrain, so it will be good to find approach how to effectively check terrain sectors intersection instead of frustum culling.

Be aware, that intersection with whole terrain sector union is bad approach as it will render a lot of tiles to the left and right side from camera because terrain sector union width will be based on the most distant terrain tile sectors width.

@ComBatVision ComBatVision added the enhancement New feature or request label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant