I'm trying to use the camera positions calculated by Photoscan, especially the angles.
The quaternions I'm computing from the OPK file's Euler angles appears to be garbage as they don't express the actual orientation of each cameras supposing the origin (0,0,0) is in the center of my model.
I'm using
# PhotoID, X, Y, Z,
Omega,
Phi,
Kappa, r11, r12, r13, r21, r22, r23, r31, r32, r33
When i place these values to quaternions into a 3D coordinate systems I'm expecting to see radiant arrows in a plane, about this:
http://www.featurepics.com/StockImage/20110114/arrows-pointing-to-center-stock-illustration-1756808.jpg as cameras are on a circle pointing inward to an object.
But I get all quaternions more or less around a straight -Y axis.
So, what is going on?
Is the origin waaay off? How would I move said origin?
Are these outputted values suceptible to gimbal lock and possibly actually gargabe?