Augmented Reality projection matrix and transformation matrix

Problems building or running the engine, queries about how to use features etc.
Post Reply
andreas
Gnoblar
Posts: 7
Joined: Wed Nov 28, 2018 10:15 am

Augmented Reality projection matrix and transformation matrix

Post by andreas » Fri Mar 08, 2019 9:03 pm

Ogre Version: :1.11.4:
Operating System: 16.04

Hello,
I am currently working on an AR application, but I have some questions. First question is I know my cameramatrix (fx,fy,cx,...) using OpenCV calibration, how do I get my ProjectionMatrix from so I can use setCustomProjectionMatrix. My second question is that I get my camera transformation in transformation matrix form, I now use setPosition with the last column, and I convert to a quaternion using the upper left 3x3 matrix of the transformation matrix (4x4). Is there a faster method where I can for example give in the transformation matrix directly? Thank you in advance.
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 836
Joined: Sun Mar 30, 2014 2:51 pm
x 147
Contact:

Re: Augmented Reality projection matrix and transformation matrix

Post by paroj » Sat Mar 09, 2019 12:57 pm

0 x

Post Reply