Posted on 2006-05-10
I've got a Light source L (a vector) and a vertex V (a vector also). I then have a ray originating at the light source, and passing through the vertex.
Therefore, my ray is defined as:
r = L + t (V - L)
(Where (V-L) is normalised).
I now need to find at what point this ray hits a plane...
However, I'm not sure how to do this. My first problem is how I should define the plane, and then secondly, is how to actually locate the point of collision..