Hello,
I want to export the model and cameras acquired by Metashape to a minimal OpenGL renderer. In this renderer I want to add a background image and add some geometry matching the background image (example : Metashape's 3D model).
Thanks to Metashape's python API, I exported
- the cameras transforms
- the cameras focal lengths
- the pixels widths and heights
How to create the camera Projection matrix and camera Model matrix from these informations ?