-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I replaced the teapot with a square which covered exactly the marker in the video. If the transformation is correct, the square should always covers the marker no matter how I rotated the iPhone.
I have tested it with the 640x480 video preview, it passed the test.
But with the 1280x720 video preview, if I rotated iPhone int the x or y direction with big angles, there will be blank space of the square in y direction and the square exceeds in the x direction, as the picture shows.
the marker in the video:
http://www.imageurlhost.com/images/oz264enc4lgtdlk27c1s.jpg
the square cover the marker in the 640x480 video:
http://www.imageurlhost.com/images/o4a6hie7kpmw0furc6oj.jpg
the square cover the marker the 1280x720 video:
http://www.imageurlhost.com/images/l9ex352qnkqtmfwtsbrq.jpg
Do I need to change opengl projection matrix while changing the video preset?
Thank you.