dilevin / computer-graphics-bounding-volume-hierarchy

Computer Graphics Assignment about Bounding Volume Hierarchies
6 stars 7 forks source link

AABB ray intersect both subtree intersection case #103

Closed Kushagra-Raghuvanshi closed 1 month ago

Kushagra-Raghuvanshi commented 1 month ago

What are we supposed to do when hit is found in both the left and the right subtrees? Which subtree's t and descendant do we take? do we take left one's since its pre-order traversal or do we take the one with lower t as we have done in the past in case of multiple intersections

Zhecheng-Wang commented 1 month ago

Take the one with lower t makes more sense.

Kushagra-Raghuvanshi commented 1 month ago

solved