Hi OF world, nice to meet you.
I am working on a project where I have a plane in 3d and I want to project a flat square texture onto it as if it was coming from a projector. Imagine a virtual projection mapping system.
I have the 3D plane, position and orientation (as a quaternion) of my “projector” and the throw ratio of this projector. How can I calculate where on the plane this projection is?
Any ideas on what I need to look up in order to achieve this? I know I need some kind of projection matrix but not sure exactly how to calculate the intersected corners of the projected image onto the plane.