I need a python function that, given 3d parameters of the plane, camera focus length, vanishing point location and texture render a 2d view.
It is required that:
- a given texture would be applied to the plane
- plane should stretch to infinity in all directions
- the given texture is of rectangular shape and it should be applied so that its sides in 2d-view would be oriented towards the given vanishing point
- there should be a possibility to rotate the texture on a plane on arbitrary angle