This question is related to This one in gamedev stackexchange
I would like to place a camera so that it have a specific portion of space in sight, for that I would like to place it equidistant to 2 point in space corresponding to the wanted left top corner and the wanted right bottom corner and a dandling third point which MUST be projected on the lower left corner but is not required to be equidistant with the others.
Known infomation include:
- Vertical FoV
- Horizontal FoV
- Coordinates of the 3 points (A, B and D respectively)
Does anyone have a nice formula that may give me the position and orientation of the camera given that requirement ?
FoV (for field of view) are that the camera "sees" from its position in both positive and negative angle from its rotation.
Here is a drawing of the kind of things I need.