Hi, can I ask a follow up question on this matter ?
that must probably go to a dev .-)
the described workflow creates an XMP file
for each camera with the following rotations:
SplatCam_0000.jpg <xcr:Rotation>-0.999999506551129 0.000993427148363 0.000000000000000 0.000000368418214 0.000370855610632 -0.999999931232988 -0.000993427080048 -0.999999437784151 -0.000370855793631</xcr:Rotation>
SplatCam_0001.jpg <xcr:Rotation>-0.465313239383386 -0.885146083567306 -0.000000000000000 -0.244735505492486 0.128655227613827 -0.961016318674648 0.850639830719134 -0.447173616342797 -0.276491654921135</xcr:Rotation>
SplatCam_0002.jpg <xcr:Rotation>0.648965237845026 -0.760818059767741 0.000000000000000 -0.550608822698951 -0.469660230846094 -0.690108101624425 0.525046706907894 0.447856168309475 -0.723706299594201</xcr:Rotation>
SplatCam_0003.jpg <xcr:Rotation>-0.464098430497952 0.885783634308818 0.000000000000000 0.244696184492108 0.128206382205558 -0.961086312906789 -0.851314527131037 -0.446038649393104 -0.276248256362341</xcr:Rotation>
and then makes RealityScan export the camera information as CSV
using type Internal/External camera parameters :
#name,x,y,alt,heading,pitch,roll,f,px,py,k1,k2,k3,k4,t1,t2
SplatCam_0000.jpg,-8.794788820005311e-007,-15.50919752571237,2.650000182476623,-179.9430808077829,89.9787515277476,0,23.55132606606181,0,0,0,0,0,0,0,0
SplatCam_0001.jpg,7.825859921983813e-003,-14.15411175288523,2.647457104389309,117.7304962460894,73.94907320427725,0,23.55132606606181,0,0,0,0,0,0,0,0
SplatCam_0002.jpg,4.835945392382524e-003,-12.34588135372577,2.64334128245244,49.53636939952838,43.63866665685627,0,23.55132606606181,0,0,0,0,0,0,0,0
SplatCam_0003.jpg,-7.82600935515898e-003,-10.55411189894672,2.097457048062014,-117.6518896131663,73.96358409443978,0,23.55132606606181,0,0,0,0,0,0,0,0
I’m now trying for hours to replicate that by a script
to get the yaw, pitch, roll (CSV, type=Internal/External camera parameters) from the matrix (XMP)
is it maybe possible to get a tip ?
O:-)
( eg. left/right-handed change, rotation order, world-to-camera transform )
best, index