iPad 封面流程
我使用 FlowCoverView (http://chaosinmotion.com/blog/?p =295)用于覆盖流。
然而,该库创建的纹理最大限制为 256 像素,我想在 iPad 封面流中显示更大的图像。
iPad 上的封面流使用什么?是否可以修改这个库以使纹理更大?
I use FlowCoverView (http://chaosinmotion.com/blog/?p=295) for cover flow.
However, the textures this library creates are limited to 256 pixels maximum, and I would like to show bigger images in an iPad cover flow.
What do you use for cover flow on the iPad? Is it possible to modify this library to make the textures bigger?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我只是快速浏览了一下代码,之前从未使用过它或任何其他封面流程代码。
FlowCoverView的imageToTexture方法在某些地方使用256。用 TEXTURESIZE 替换它们也很有帮助。这样,我可以将 TEXTURESIZE 设置为 128 或 512,并且它仍然可以在模拟器中的 iPhone SDK 3.1.3 中正常工作,并提供演示。这样,您就可以增加纹理大小。
这有帮助吗?
I just had a quick look at the code, without having ever used it or any other cover flow code before.
The FlowCoverView's imageToTexture method uses 256 in some places. It helps to replace them with TEXTURESIZE, too. With that, I can set TEXTURESIZE to 128 or 512 and it still works correctly with iPhone SDK 3.1.3 in the simulator, with the provided demo. That way, you can thus increase the texture size.
Does that help?