Hey, I noticed you allow for skew when computing your camera.
This is not so good and introduces error when extracting the rotation matrix from your transform.
The code I give you is more exact and will convert better to a scaled orthographic camera representation.
Hey, I noticed you allow for skew when computing your camera. This is not so good and introduces error when extracting the rotation matrix from your transform.
The code I give you is more exact and will convert better to a scaled orthographic camera representation.
[1] Multiple View Geometry in Computer Vision pg. 170-172 [2]http://nghiaho.com/?page_id=671