diff --git a/hw3/index.html b/hw3/index.html index 8db6614..d33be61 100644 --- a/hw3/index.html +++ b/hw3/index.html @@ -270,7 +270,7 @@

Task 2: Intersecting the Bounding Box

- Time is represented as $$t = \frac{{p_x' - o_x}}{{d_x}}$$ when perpendicular to the x axis. Intersection times (t) are calculated for each axis using the parametric equation of a ray, where $t = \frac{{p[axis] - o[axis]}}{{d[axis}}$. This equation represents the intersection of the ray with each of the bounding box's six planes along the X, Y, and Z axes. The minimum and maximum intersection times (min_t and max_t) are calculated for each axis which represent the entry and exit points of the ray into and out of the bounding box along each axis. Specifically, the interval of intersection is determined by taking the maximum of the minimum intersection times (min_t) across all axes and the minimum of the maximum intersection times (max_t) across all axes, ensuring that the intersection interval is as tight as possible. + Time is represented as $$t = \frac{{p_x' - o_x}}{{d_x}}$$ when perpendicular to the x axis. Intersection times (t) are calculated for each axis using the parametric equation of a ray, where \( t = \frac{{p[\text{axis}] - o[\text{axis}]}}{{d[\text{axis}]}} \). This equation represents the intersection of the ray with each of the bounding box's six planes along the X, Y, and Z axes. The minimum and maximum intersection times (min_t and max_t) are calculated for each axis which represent the entry and exit points of the ray into and out of the bounding box along each axis. Specifically, the interval of intersection is determined by taking the maximum of the minimum intersection times (min_t) across all axes and the minimum of the maximum intersection times (max_t) across all axes, ensuring that the intersection interval is as tight as possible.