1
General / Re: Convert camera coordinates to world coordinates
« on: August 28, 2021, 11:49:45 AM »
Thanks Bzuco! I managed to transform rotation matrix from Metashape to Euler angles but these seem to be not very optimal solution because of possible Gimbal Lock (for example two cameras very close to each other have very different XYZ rotation angles, but still very similar overall angle). That's why it's probably better to keep all values in matrix.
I'm not sure about one more thing whether camera rotation matrix from cameras.xml is already in world coordinates or if I should multiply it by chunk transform (in Metashape Standard). @Alexey, could you confrim this?
I'm not sure about one more thing whether camera rotation matrix from cameras.xml is already in world coordinates or if I should multiply it by chunk transform (in Metashape Standard). @Alexey, could you confrim this?