英语翻译2D animation with image-based pathsTake the heavy coding out of fixed-object animationDocument options Print this pageE-mail this pageSample codeRate this page Help us improve this contentLevel:IntermediateBarry Feigenbaum,Ph.D.(feigenba@

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 18:27:00
英语翻译2Danimationwithimage-basedpathsTaketheheavycodingoutoffixed-objectanimationDocumentoptionsPrintt

英语翻译2D animation with image-based pathsTake the heavy coding out of fixed-object animationDocument options Print this pageE-mail this pageSample codeRate this page Help us improve this contentLevel:IntermediateBarry Feigenbaum,Ph.D.(feigenba@
英语翻译
2D animation with image-based paths
Take the heavy coding out of fixed-object animation
Document options
Print this page
E-mail this page
Sample code
Rate this page
Help us improve this content
Level:Intermediate
Barry Feigenbaum,Ph.D.([email protected]),Senior Consulting IT Architect,IBM
Tom Brunet ([email protected]),Ph.D.candidate,University of Wisconsin
09 Jan 2004
Why code your animated sequences when you can draw what you want and let a program do the rest?In this article,Barry Feigenbaum and Tom Brunet show you how to combine lossless images,Swing technology,and the authors' own Java-based animation engine to generate movement sequences for fixed objects in 2D animation.
In two-dimensional (2D) animation it is often necessary to move an object or objects around the 2D area in predetermined patterns,sometimes called control paths.This type of animation requires that you solve two problems:
How to specify the control paths for the objects to follow.
How to move the objects along the selected paths.
In this article we'll show you how to solve these problems using lossless images,Swing technology,and a Java-based animation engine.We'll start by drawing the desired trajectory for our animated objects,and then use the animation engine to drive the objects along the defined control paths.
While lossless images (described below) are both easy to create and easy to process,the technique of using them can be as finely tuned as you want to make it.Using an example animation sequence,you'll learn how different color sets can be used to create more and less sophisticated movement sequences.You'll also learn how to process your image to extract out the desired control paths,layer the control paths against a background image,create the objects (Swing GUI components) for your animation sequence,and drive them along the defined control paths to complete the animation process.See Resources for more information.
Note:This article assumes you have a working knowledge of Java programming in general and Swing GUI construction in particular.Some additional experience manipulating images on the Java platform using Java 2D will be helpful.

英语翻译2D animation with image-based pathsTake the heavy coding out of fixed-object animationDocument options Print this pageE-mail this pageSample codeRate this page Help us improve this contentLevel:IntermediateBarry Feigenbaum,Ph.D.(feigenba@
二维动画与基于图像路径
以沉重的编码列固定对象的动画
文档选项
打印此页
E - mail此页面
示例代码
评价这个网页
帮助我们改进此内容
级别:中级
巴里费根鲍姆,博士研究生( [email protected] ) ,高级顾问,它的建筑师,IBM公司
汤姆布鲁内特( [email protected] ) ,博士研究生候选人,威斯康辛大学
2004年1月9日
为什么您的代码的动画序列时,您可以提请你想要让一个程序做,其余的呢?在这篇文章中,费根鲍姆,巴里和汤姆黑发向您展示如何结合起来,无损图像,摆动技术,以及作者自己的基于Java的动画引擎以产生运动序列的固定物体的二维动画.
在两维(二维)的动画,这是经常需要移动的物体或物体周围的二维面积在预定的模式,有时也称为控制路径.这种类型的动画,您需要解决两个问题:
如何指定控制路径对象的后续.
如何移动的物体沿选定的路径.
在这篇文章我们将告诉您如何解决这些问题,使用无损图像,摆动技术,和基于Java的动画引擎.我们将开始提请期望轨迹为我们的动画对象,然后使用动画引擎,以推动物体沿着界定的控制路径.
而无损图像(如下所述) ,都是轻松地创建和容易的过程中,技术的使用可以作为精确的,因为你希望把它.用一个例子,动画序列,您将了解如何以不同的颜色集,可以用来创造更多的和不太复杂的运动序列.您也将了解如何处理您的图片中提取出理想的控制路径,层控制路径对一个背景图像,创建对象(摆动贵组件)为您的动画序列,并赶他们沿着界定的控制路径完成动画的过程.见资源,以获取更多信息.
注意:本文假定你有一个工作的认识,Java编程,在一般和回旋桂建设,特别是.一些额外的经验,操纵图像,在Java平台上使用Java二维会有帮助.
累死了哦.希望能把分给我哦.!

给我100美金我给你翻,你这样太不把人的脑力当回事了。脑力劳动就不如体力劳动吗?你不会梦想搬家公司白给你搬家,为什么认为网友可以白给你翻译呢?

太佩服二楼了,楼主要是不把分给他会显的很不人道哦。