Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The rotation and translation you get are from the camera, to the world. So your first camera is (0,0,0), which is the same as it being the center of the world. The second camera is located at some positive x value from it. But the translation from camera2 to the world is the other way. So you have a -x translation in camera2's translation matrix.