Given a plane and a 3D point, transform the 3D point to a 2D coordinate along the plane.

Blitz3D Forums/Blitz3D Programming/Given a plane and a 3D point, transform the 3D point to a 2D coordinate along the plane.

My approach sucks.

A plane has no position other than distance from the origin. I don't care about the Z position of the point in plane space, because I just need UV coords. The answer would be just the same no matter what d is, so you only need x,y,z,nx,ny,nz to get u and v.

Keeping that in mind, any more ideas? I'll keep trying.