0
$\begingroup$

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.

  • 0
    Vertical FoV & Horizontal FoV are angles ? The points are 3 vectors of course. & you just want a formula for the camera position ?2017-02-01
  • 0
    @DonaldSplutterwit Yes, I want a formula for the camera position that would match those requirements2017-02-01

0 Answers 0