help Understanding xmp rotations

Hey, im looking for some advice on using the rotation from export Xmp’s to adjust normal maps from Camera to Global space.

at the moment im taking the rotational matrix from an exported xmp, trying to workout the inverse rotation (the deviation from world (0,0,0) and apply it to the normals, of a photometric normal map from a single camera position. - im not able to get correct results and im wondering if im missing something about xmp rotational data.

here is a plot of 12 cameras, where im trying to get the axis of the each camera


and I’m not sure why the axis have different magnitudes.

has anyone got any incite in using xmp rotations for further calculations?

Hi Theo_ab,
this could help you to find the solution for your issue: RealityCapture XMP Camera Math