Previous | Next --- Slide 20 of 50
Back to Lecture Thumbnails
asheng2

I get the high level overview of what this is doing, but shouldn't we also be careful and handle cases where the ray doesn't intersect one of its children bounding boxes? Currently, it looks like we are assuming it hits both but it can possibly only hit one.

Midoriya

For the condition of the second if statement, should we use the t value of "second" instead of hit2.t?

richardnnn

If intersection is allowed, wouldn't early termination be a problem?

MrRockefeller

my takeaway of this slide is: it's faster to find the closest t, so we can skip many other bounding boxes(and their interior primitives) that have bigger t

dshernan

for @asheng's comment, I think we implicitly have the first check from the last slide and it just isn't included here for space.