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

Compute tighter OBBs #4785

Closed
pjcozzi opened this issue Dec 27, 2016 · 4 comments
Closed

Compute tighter OBBs #4785

pjcozzi opened this issue Dec 27, 2016 · 4 comments

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 27, 2016

Gottschalk's algorithm, which we currently use, computes an approximate best fit that is sometimes loose-fitting.

Let's check out "Fast Computation of Tight-Fitting Oriented Bounding Boxes" in Game Engine Gems 2 (includes sample code). It computes near optimal OBBs in linear time (faster than Gottschalk's).

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Dec 27, 2016

CC #2861

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Dec 27, 2016

CC #4387. The frustum/box test still needs to be checked, but tighter OBBs will help.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Dec 30, 2016

Reminder to let @erich666 know how this works out.

@ggetz
Copy link
Contributor

ggetz commented Aug 27, 2024

Closing as a duplicate of #11600 (comment), which has more info.

@ggetz ggetz closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment