Quote:Original post by zyrolastingYes, if you are talking about start and end points, then you are talking about line segments, but line segments are just lines with an extra piece of information. The original reply to your original question was describing plane/segment intersection test, which is a ray intersection test with the additional constraint that you must check t to see if it the ray/plane intersection occurs within the length of the line segment.
It seems much that was discussed had more relation to line/segments rather than rays, even though rays were used. (Given we discussed "start" and "end" points.)
What I've been wanting to explain is that the existence of a "line segment" is superfluous to the intersection test. You do a ray/plane intersection... you find that it intersects at some value for t... you THEN check to see if t lies within the distance you are interested in (the "line segment").
Quote:So I guess this just tells me that from the start point, the ray goes to infinity but there is still that "end" point and the scalar is going between the "start" and it?No... a line or ray has no end point. The scalar can be any real number from negative infinity to positive infinity. (A ray is just a special case of a line, where you are only interested in points given by a positive scalar.)
Quote:Just curious here, are each of you guys approaching this in a slightly different way?No, we're all saying the same thing... I'm just being a stickler on the semantics because I think you'll benefit from understanding when you are talking about a point vs vector, or a line vs segment vs ray. [grin]