added new traversal template for two-level BVH traversal#9
Merged
iwald-nvidia merged 3 commits intoNVIDIA:mainfrom Dec 15, 2025
Merged
added new traversal template for two-level BVH traversal#9iwald-nvidia merged 3 commits intoNVIDIA:mainfrom
iwald-nvidia merged 3 commits intoNVIDIA:mainfrom
Conversation
- added 'twoLevel::' namespace (and corresponding abstraction) to shrinking radius query. Twolevle traversal has addtl 'enterBlas()' and 'leaveBlas()' lambdas that can modify ray and bvh node ptr when reaching tlas leaves
twoLevel variants get additional enterBlas() and leaveBlas() lambdas so traversal can traverse two nested BVHes at the same time. - unified Triangle3f and triangle_t<>; former is now just triangle_t<float>. Same for TriangleIntersection and TriangleIntersection::compute() - various smaller clanups and warning fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
added (to rayQueries.h) new routines
and
In addition to the regular BVH traversals these variants have enterBlas() and leaveBlas() lambdas that allow the user to provide a transformed ray and blas BVH when toplevel BVH reaches a leaf. Managing transforms are the job ob the user, but these lambdas allow for doing so.