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

Use a better split strategy #1

Closed
gkjohnson opened this issue Jan 20, 2018 · 2 comments
Closed

Use a better split strategy #1

gkjohnson opened this issue Jan 20, 2018 · 2 comments

Comments

@gkjohnson
Copy link
Owner

Right now, the BVH nodes are being split at the average point of all face vertices along the longest edge of the overall bounding box.

This allows for less-than optimal bounding boxes where there's a large gap between triangles instead of just containing the clusters of polygons.

@gkjohnson
Copy link
Owner Author

Added an SAH, center, and average approach for the MeshBVH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant