可能获得超过 20K+ iPhone 3GS 上 35fps 的三角形?
我正在为 iOS 编写一个新引擎,现在我可以测试我的引擎可以提供多少功率。
我的代码是用 C++ 编写的,引擎是以高效的方式编写的,可以进行流式处理、批量渲染、视锥体剔除、遮挡剔除、快速内存管理器等。但是,结果并不满足我的期望,我想知道如果有人能够充分利用他们的 iPhone 设备。
现在我只渲染带有纹理的几何体,我得到的最好结果是在我的 iPhone 3GS 上以大约 35fps 渲染大约 20K+ 三角形。
这是 iPhone 3GS 的最大极限吗?或者有谁做得更好吗?
PS 我还没有制作三角带,所以我知道那里有大约 5fps 的改进。
I'm programming a new engine for iOS and I'm at a point where I can test how much power I can get out of my engine.
My code is written in C++ and the engine is written in a highly efficient manner to do streaming, batch rendering, frustum culling, occlusion culling, fast memory managers, etc. However, the results don't satisfy my expectations and I'm wondering if anyone has been able to get more out of their iPhone device.
Right now I'm rendering only the geometry with textures and the best I get is about 20K+ triangles being rendered at ~35fps on my iPhone 3GS.
Is this somehow the maximum iPhone 3GS can do? Or has anyone done better?
P.S. I'm doing no triangle strips yet, so i know there is about ~5fps improvement in there.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要了解 3GS 的最大可能性能,请查看此处:
http://www.glbenchmark .com/phonedetails.jsp?benchmark=glpro11&D=Apple%20iPhone%203G%20S&testgroup=lowlevel
As far as knowing the maximum possible performance of the 3GS take a look here:
http://www.glbenchmark.com/phonedetails.jsp?benchmark=glpro11&D=Apple%20iPhone%203G%20S&testgroup=lowlevel
好吧,我对此做了更多研究。我已经知道 7M 吨/秒,但这只是一个没有考虑三角形填充的数字。
因此,为了确保我的代码中没有大瓶颈,我下载了 Oolong 引擎并进行了一些比较,速度相当相同。
(核心动画结果)
乌龙引擎(运行旧金山演示):
5k 至 14k @~60
20k 至 25k @~40
25k 到 30k @~30
我在速度方面得到了非常相同的结果。
well, i did more research on this. i was already aware of 7M t/s but that's just a number not taking triangle filling in account.
so to make sure there wasn't a big bottleneck in my code i downloaded the Oolong engine and did some comparison and the speed was fairly the same.
(core animation results)
Oolong engine(running the San Angeles demo):
5k to 14k @~60
20k to 25k @~40
25k to 30k @~30
I'm getting very much the same results in terms of speed.