Ogre的1.7.1版本已经比较完美的支持iPhone了,但是iPhone和iOS发展太快了,那个时候还没有iOS4和iPhone4,所以现在使用1.7.1版本在新的版本和新的iPhone上有些不便,官方发布的二进制版本还是源代码版本(有依赖库的问题)更是如此,在新的1.7.2版本发布后,此问题得到解决。
这里列出与iPhone/iOS相关的主要更新内容,因为太简单不翻译了:
iPhone: Adding CADisplayLink support to SampleBrowser. Shutdown the app properly on iPhone and disable the loading bar to speed up loading on iOS 4
GL ES: 16 bit texture support.
Adding iPhone 4’s native resolution.
iOS: Several additions to properly support newer iOS devices including: High resolution screen support, FSAA and Framebuffer discard. A config key has been added to allow you to manually configure the content scaling factor. For example, if you only want 720×480 on an iPhone 4, specify contentScalingFactor=1.5.
iOS: Fixed the camera frustum and viewport dimensions if the device is in landscape. With this fix, the FOV and aspect ratio will be correct in all device orientations
Disabling DisplayLink on iPhone by default, as it can cause input lag sometimes.(这个我比较意外)
Due to a change made in CMake 2.8.1, Xcode based projects for iPhone would be corrupted. This fixes the problem. Also, up the default SDK version to 4.0 since Apple is no longer shipping a 3.0 SDK but still supports targeting it.(这个是最happy的)
Ogre 1.7.2版本针对iPhone和iOS进行了多项优化,包括添加CADisplayLink支持、改善高分辨率屏幕显示、修复摄像头视锥体及视口尺寸等问题,特别增强了对iPhone4的支持。
202

被折叠的 条评论
为什么被折叠?



