-
Notifications
You must be signed in to change notification settings - Fork 2
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
WideBVH shrinkingRadiusQuery Support #6
Comments
Agreed, will fix ASAP. I actually use WideBVH in my own apps as well, but they haven't been ported from their own traversal code to the cuBQL templates, yet, so this hasn't triggered on my side, yet. |
toby - quick update: i'm not all that sure any more that the widebvh will be faster than the binary bvh - i haven't adapted it to shrinking radius queries yet, but at least fixed it for fixedRangeQueries (for which i have test cases at hand in barney), and in that one the wideBVH was generally slower than binaryBVH. Sure, fixedBoxQUery behaves differently than shrinking radius, but still - don't expect too much is all i'm saying. |
devel should now have a cuBQL::shrinkingRadiusQuery::forEachPrim() also for WideBVH; i also added a sample s01_findClosestPoint_WideBVH, which also gives same results as binary bvh and cpu traversal, so at least for that test seems correct. |
Thanks Ingo! Testing it out, it's actually the fastest option for my use-case! |
WideBVH is going to be more optimal for certain distance-to-mesh and FCP queries; it would be good to support WideBVH in shrinkingRadiusQuery. Currently, shrinkingRadiusQuery uses Admin:: and thus is not compatible.
The text was updated successfully, but these errors were encountered: