Lecture 9: Ray Tracing & Acceleration Structures (56)
anavmehta12
My understanding of this traversal is that we have two recursive calls one for the ray between t_min and t_split and one between t_split and t_max where t_min equals the start of the ray, t_max the end, and t_split the point where it intersects a horizontal or vertical bounding box split. For each ray we check if it intersects a circle and then keep splitting until we no longer can.
grafour
I was thinking about how would we know which side to traverse from the t_split. Something that is easy to notice is that we can just check the x or y values and see which which side came in first.
My understanding of this traversal is that we have two recursive calls one for the ray between t_min and t_split and one between t_split and t_max where t_min equals the start of the ray, t_max the end, and t_split the point where it intersects a horizontal or vertical bounding box split. For each ray we check if it intersects a circle and then keep splitting until we no longer can.
I was thinking about how would we know which side to traverse from the t_split. Something that is easy to notice is that we can just check the x or y values and see which which side came in first.