$begingroup$

Stuff like Unity has nice built-in functions a-la Camera.TransformPoint to do quick calculations between world and screen space. Assuming I dont have access to it but I do have access to:

  • target object’s position
  • camera’s object position and angle/rot
  • camera nearClipZ and farClipZ values
  • camera FOV
  • aspect ratio/resolution (fixed in this case)

Is it enough for me to calculate projection matrix and do the transformations?

KreonZZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

$endgroup$

7