We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
SAH seems to be the most well-regarded splitting approach.
http://thomasdiewald.com/blog/?p=1488 https://stackoverflow.com/questions/4632951/kdtree-splitting https://www.keithlantz.net/2013/04/kd-tree-construction-using-the-surface-area-heuristic-stack-based-traversal-and-the-hyperplane-separation-theorem/
Sorry, something went wrong.
Added an SAH, center, and average approach for the MeshBVH
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: