Original Post
I''me sure this has been asked before, but with the forum search not working I couldn''t find anything. I''me trying to select a 3d object on the screen using the mouse. I think I''me at a point where I can generate mouse position and direction vectors (ie a ray going into the screen with a starting point and an orientation), but I can''t figure out how to check if this ray runs through a triangle (three points).
If anyone could point me to a tutorial on this or give me some more direct help, that would be great! Thanks,
Zen
I''me working in C++ and DirectX, so code for that would be preferable. Thanks.