In the case where tmin < tsplit < tmax, how do we decide whether we traverse L or R first? Do we use the direction d to figure that out?
WilliamLiuAtCPC
I think, as the ray is moving right in this case, we can traverse L first. Because, if there is an intersection in L, we won't have to traverse R because of occlusion. But it depends on the application, sometimes we still need to traverse R regardless of occlusions.
greeknerd1
Is there a general rule for when the ray hits an object in terms of t_split and t_max?
In the case where tmin < tsplit < tmax, how do we decide whether we traverse L or R first? Do we use the direction d to figure that out?
I think, as the ray is moving right in this case, we can traverse L first. Because, if there is an intersection in L, we won't have to traverse R because of occlusion. But it depends on the application, sometimes we still need to traverse R regardless of occlusions.
Is there a general rule for when the ray hits an object in terms of t_split and t_max?