1
General / Transfer camera parameters to a minimal OpenGL renderer
« on: February 14, 2023, 01:41:46 PM »
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
How to create the camera Projection matrix and camera Model matrix from these informations ?
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 ?