Closed LihengGong closed 5 years ago
For line-sphere intersection, after we solve the quadratic equation, since the solution is only a scalar, are we supposed to plug the scalar solution back into the ray function p(t) = e + td to find the plot(i.e. x, y, z) of the intersection point?
yes, if you plug the solution back, you will get the position of the intersection point
For line-sphere intersection, after we solve the quadratic equation, since the solution is only a scalar, are we supposed to plug the scalar solution back into the ray function p(t) = e + td to find the plot(i.e. x, y, z) of the intersection point?