首页 | 本学科首页   官方微博 | 高级检索  
     

基于JAVA线程的遮罩动画生成技术
引用本文:周含,苏鸿根.基于JAVA线程的遮罩动画生成技术[J].微电子学与计算机,2006,23(2):118-121,125.
作者姓名:周含  苏鸿根
作者单位:中国科学院研究生院,北京,100039
摘    要:提出了基于JAVA线程的遮罩动画生成方法:先定义两层具有遮罩关系的动画图像,然后在JAVA线程的每个关键帧时刻对底层动画进行覆盖判断,以区分被遮罩面位置与未被遮罩面位置,并用不同方式重画被遮罩面与未被遮罩面.各个不同关键帧画面连续起来便得出了动态遮罩效果。通过一个基于JAVA线程的遮覃动画生成实例.证明用该方法生成遮罩动画能达到令人满意的效果。最后,分析了基于JAVA线程的遮罩动画生成方法中可用来控制遮罩动画效果的各种因素。

关 键 词:遮罩动画  JAVA线程  覆盖判断
文章编号:1000-7180(2006)02-118-04
收稿时间:2005-09-19
修稿时间:2005-09-19

JAVA Thread Based Masking Animation Creation
ZHOU Han,SU Hong-gen.JAVA Thread Based Masking Animation Creation[J].Microelectronics & Computer,2006,23(2):118-121,125.
Authors:ZHOU Han  SU Hong-gen
Affiliation:The Graduate School of Chinese Academy of Sciences, Beijing 100039
Abstract:A new JAVA thread based masking animation creation method has been proposed. Firstly, animations on two layers are defined. Secondly, whether pixels of background animation are covered or not is judged in every key frame of JAVA thread. Then, redraw the pixels covered in one way, and redraw the pixels not covered in another way, so masking animation is created. This method for masking animation creation can achieve satisfied result, which is proved by a JAVA thread based experiment. Lastly, all the factors that can control masking animation are analyzed.
Keywords:Masking animation  JAVA thread  Covering judgment
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号