I know it is a complex process to fire a ray from an object towards some triangles and determine the exact point of collision.

I believe I have everything all set up to do so, my only problem is I cannot find any tutorial on generating a RAY.

This is not for collision detection but more for firing a ray from screen space to world space....Determining when that rays hits the ground and where.

Any tutorials that explain this would be great.