Imagination PowerVR SDK Blog

PVRTMatrixPerspectiveFovRHF


#1

I am working with the emulator on windows.





I have noticed something strange … when I create a regular 480x320 window , what I would call "a natural " landscape mode - everything displays fine.





On the other hand if I create a 320x480 window and then use PVRTMatrixPerspectiveFovRHF with bRotate set to true to emulate landscape mode , everything displays fine again but it seems that all objects appear to be much closer to the viewer.





It is really strange … I should get exactly the same display on both but rotating projection matrix gives me much smaller perceived FOV.


To really get the same display I have to adjust my FOV from 45 degrees to 65 degrees when rotating the matrix.





Am I missing something obvious here ?



#2

Uhh … never mind … it was a stupid mistake on my part.