History: Ogre iPhone FAQ
Source of version: 3
Copy to clipboard
!!Issues and Troubleshooting
* Viewport::SetOrientation must be called after a frame is rendered to take effect. For example to change to Viewport::OR_PORTRAIT:
{CODE(wrap="1", colors="c++")}mRoot->renderOneFrame();
mCamera->getViewport()->SetOrientation(Viewport::OR_PORTRAIT);
{CODE}
* Current state of Viewport::OR_LANDSCAPELEFT (default value) has known issues related with camera frustum, that deliver early entity clipping and problems with CameraToVieportRay. Change to OR_PORTRAIT while this problem is resolved.