-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Currently traverse() and traverse_iterator() visit every node along an infinite ray. The application however has information which could reduce traversal steps:
- Provide a
tmin
/tmax
with the ray and test ray/AABB distance against this range. - When the app is looking for the smallest
t
along the ray (common) it can shorten the ray during traversaltmax=min(tmax,t)
Implementing an iterator which supports tmin/tmax as well as making these mutable to shorten the ray during traversal would help performance in many apps.
pavlus and finnbear
Metadata
Metadata
Assignees
Labels
No labels