开发者

Playing 3D Animation in iPhone App (Possibly using a looping video)

Is there a relatively easy was to include a 3开发者_如何学GoD 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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜