I want to get the correct camera orientation. In the photoscan xml file there is a transform for each camera and there is a transform for the whole chunk. How do I use them to get the correct rotation of the camera.
How do I use the information in the xml file to obtain the correct rotation matrix for the camera?
I tried multiplying the chunk transform by the camera transform, but this doesn't seem to give the correct result.