I'm currently experiencing difficulties having my 3D models rendered correctly. The result I am getting now has the models stretched on a dimension. When I rotate the device around the front-facing (so the axis in front of the camera), the models' proportions (and only the proportions) change. You'll find attached the two cases (portrait and landscape) applied to a cube.
So far it looks to me as a projection issue, but I don't really know how to correct that.
I'm using a rotational device tracker to get my model view matrix and getting the projection matrix via the Vuforia::Tool::getProjectionGL() function.
A specific thing I've noticed that might be related is the difference between the video background size and the actual viewport size. But it seems to be logical as per the sample example, so that the video background isn't stretched itself, by configuring it bigger than the view size so that there's room for cropping and compensating for the possible aspect ratio difference.
Then, when launching the iOS sample itself, I noticed that the video background itself is deformed when rotating the device around the front-facing axis.
So I'd like to know what exactly could cause that, and if it's an issue with the projection, what actually influences that projection matrix so that I could fix it.
Thanks in advance!