针对目前iPhone平台上只支持无碰撞检测的网格动画和基于图片调用的帧动画的现状,提出了一种新的基于iPhone平台的具有碰撞检测的骨骼动画实现方法。将关节动画与网格动画相结合,生成具有光滑皮肤的逼真骨骼动画。并采用iPhone平台上所使用的SIO2引擎对骨骼动画的数据进行调度和运算,把骨骼动画数据转化为SIO2引擎的物体格式,最后以60帧每秒的速率不断更新数据,从而在iPhone平台上实现了具有碰撞检测功能的骨骼动画。实验结果表明,该方法可以实现具有很强的真实感的动画效果,并继承了SIO2引擎的碰撞检测功能。实现和增强了iPhone平台上骨骼动画及其交互功能。
A new scheme of skeletal animation with collision detection on iPhone platform is proposed to overcome the drawback of the current iPhone only supporting mesh animation and picture based frame animation which without collision detection.We combine single mesh animation with joint animation,to yield a realistic skeletal animationwith smooth skin.Then take the advantage of the SIO2 engine embedded on iPhone to manage the animation data,and translate the skeletal animation data to object format which can be read and supported by SIO2 engine,at last,we update the data continuously 60 times per second,and we realized a skeletal animation with collision detection function on iPhone platform.The experimental results show that this method has an excellent display effect and inherit the collision detection from the SIO2 engine,therefore it enhanced the performance of interactive animation on iPhone platform.