Ogre Version: :1.11.4:
Operating System: 16.04
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.
Problems building or running the engine, queries about how to use features etc.
2 posts • Page 1 of 1
- Posts: 7
- Joined: Wed Nov 28, 2018 10:15 am
- OGRE Team Member
- Posts: 774
- Joined: Sun Mar 30, 2014 2:51 pm
- x 120
take a look at what ovis is doing: https://github.com/opencv/opencv_contri ... dules/ovis