-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Oriented Bounding Box frustum check is too loose #4387
Comments
To improve this:
|
Above, note that when adding IQ's tests, all 6 planes in the orignial algorithm do not need to be checked. Just two corners are "created" and tested. |
Reminder to let @erich666 know our results. |
@austinEng are you able to reproduce the exact case shown in the screenshot above? I believe the camera is just west of the initial tileset in the Sandcastle example and looking straight down. Or was this another bug? |
I was not. @lilleyse said that he thinks this specific problem was already solved in another bugfix |
The screenshot was taken before the box debug outlines were fixed #4845. Therefore our tilesets just don't have tight fitting bounding boxes, which the 3d-tiles-tools generator will address. |
OK, thanks for investigating. |
The current OBB vs plane algorithm is an approximation that works best with more evenly-sized dimensions. As a result we sometimes see results like below, which cause tiles to be selected that aren't actually visible.
The text was updated successfully, but these errors were encountered: