As far as I know, the coordinate system in OpenCV is the same as JPCT. In OpenCV X points to the right, Y points down and Z points into the screen. This implies I shouldn't have to change between coordinate systems?
I've followed your advice. I've taken my 4x4 Pose from OpenCV
r1 r2 r3 t1
r4 r5 r6 t2
r7 r8 r9 t3
0 0 0 1
and split them into a JPCT Matrix and JPCT SimpleVector
i.e.
cameraRotation
r1 r2 r3 0
r4 r5 r6 0
r7 r8 r9 0
0 0 0 1
and
cameraTranslation
t1
t2
t3
then I do
camera.setPosition(cameraTranslation);
camera.setBack(cameraRotation);
Does this make sense? (I still can't see my expected result but it COULD be an earlier mistake I make in OpenCV)
I've followed your advice. I've taken my 4x4 Pose from OpenCV
r1 r2 r3 t1
r4 r5 r6 t2
r7 r8 r9 t3
0 0 0 1
and split them into a JPCT Matrix and JPCT SimpleVector
i.e.
cameraRotation
r1 r2 r3 0
r4 r5 r6 0
r7 r8 r9 0
0 0 0 1
and
cameraTranslation
t1
t2
t3
then I do
camera.setPosition(cameraTranslation);
camera.setBack(cameraRotation);
Does this make sense? (I still can't see my expected result but it COULD be an earlier mistake I make in OpenCV)