在 iPhone 应用程序中播放 3D 动画(可能使用循环视频)
有没有一种相对简单的方法可以将 3D 动画包含到 iPhone 应用程序中?我们已经为另一个项目制作了动画,我们的客户询问是否可以将它们放置在 iPhone 应用程序中。我们也许可以包含动画的低分辨率循环视频(它只是在单轴上旋转的 3D 组件),或者考虑将 3D 动画直接放到视图上会更好吗?
干杯, 担
Is there a relatively easy was to include a 3D animation into an iPhone app? We have the animations already made up for another project and our client has asked if they can be placed inside an iPhone app. We could perhaps include a low-res looping video of the animation (it's just a 3D component rotating on a single axis), or would it be better to look into getting the 3D animation directly onto a view?
Cheers,
Dan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将其分成一组框架并使用 UIView AnimationImages 属性,如下所示:
http://appsamuck.com /day2.html
或者假设它已经是 OpenGL 动画,您可以将代码移植到 openGLES。
以下是 openGL ES 的优秀教程:
http ://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html
You could either split it up into a set of frames and use the UIView animationImages property like so:
http://appsamuck.com/day2.html
Or assuming its already an OpenGL animation you could port the code to openGLES.
Here are good tutorials for openGL ES:
http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-table-of.html