• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (9): 64-67.

• 论文 • 上一篇    下一篇

基于SVG分层结构的卡通人物运动算法研究

万琳 胡卫军 陈传波   

  • 出版日期:2007-09-01 发布日期:2010-06-02

  • Online:2007-09-01 Published:2010-06-02

摘要:

本文给出了一个基于SVG分层结构的卡通人物运动算法。首先对卡通人物的静态结构和动态行为进行了分析,以此为基础建立了基于SVG的树状骨架模型,将运动作为其作用对象的子节点,然后利用SVG对二维变换的支持实现了肢体的运动过程,并利用DOM解析实现了对运动的交互控制。运动在层次之间从上至下传递时的叠加和运动过程中间画面的 的生成则由SVG显示软件来完成。

关键词: SVG 分层结构 卡通人物 骨架模型

Abstract:

This paper presents an animation algorithm for cartoon figures based on the layered structure of SVG. At first, it analyzes the static and dynamic structures of cartoon figures. Based upon the structures, a tree skeleton model based on SVG is generated, in which animation is the child node of its rela ted object. Then the animation is created through the two dimensional transformation of SVG. And the interactive control of animation is realized by DOM   . The transfer of animation between different layers and the creation of intermediate frames are accomplished by the existent display software of SVG.

Key words: (SVG(Scalable Vector Graphics) ;layered structure;cartoon figure;skeleton model)