如何在Java中播放来自另一个程序的现有动画? [英] How Do I Play A Existing Animation From Another Program In Java?

查看:78
本文介绍了如何在Java中播放来自另一个程序的现有动画?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hy,



我想为打印信息的程序制作一个GUI。我想在GUI上添加一个人的动画3D头部,它可以完成与消息相对应的东西....类似于约翰尼电影超越中的人工智能。换句话说,我想制作一个分割面板:​​在右侧是动画,在左侧是消息。我的问题是:

1.我该怎么办?

2.我有哪些选择?

3.我从哪里开始?

解决方案

1。我怎么做 ?



您可能希望使用Swing作为GUI和一些普通的Java MVC。



 2。我有什么选择?



- 桌面应用程序(Swing)

- Flash界面(通过Adobe Flex)

- 使用GWT的Web界面



 3。我从哪里开始?





概念

概念

概念


...我提到过这个概念吗?写下一切!一切!即使你的申请不能做什么也很重要。

当你没有计划时,你就不会成功。


永远不要让自己沉迷于电影,他们正在播放动画而不是实时软件。你觉得电影系列钢铁侠的贾维斯是怎么回事?他不是计算机程序而是录音。现在如果你出去创建一个软件项目来创建Jarvis(人工智能计算机系统)那么你就会失败,也许是因为你不是Tony Stark!



无论如何,在Java中播放动画需要您将动画存储在包中或存储介质中。尝试使用此动画 API,了解有关使用Java播放动画的更多信息。



http://docs.oracle.com/javafx/2/api/javafx/animation/Animation.html [ ^ ]

Hy,

I want to make a GUI for a program that prints messages. I was thinking to add to the GUI a animated 3D head of a person that does stuff coresponding with the message.... something like the AI from the johnny depp movie "Transcendece". In other words I want to make a split panel : in the right side the animation and in the left side the messages. My questions are:
1. how do i do that ?
2. what options do i have ?
3. where do i start ?

解决方案

1. how do i do that ? 


You might want to use Swing as GUI and some plain Java MVC behind that.

2. what options do i have ?


- Desktop application (Swing)
- Web interface with Flash ( via Adobe Flex)
- Web interface with GWT

3. where do i start ?



Concept
Concept
Concept

... did I mention the concept? Write everything down! EVERYTHING! Even what your application can NOT do is important.
You won't succeed when you do not have a plan first.


Never get yourself obsessed on to a movie, they're playing animations not real time softwares. What do you think Jarvis from the movie series Iron Man is? He isn't a computer program instead a recording. Now if you go out to create a software project to create Jarvis (artificial intelligent computer system) then you're going to fail, maybe because you're not Tony Stark!

Anyways, playing the animations in Java requires you to have the animation stored in the package, or in the storage media. Give this Animation API a try, to learn more on playing animations in Java.

http://docs.oracle.com/javafx/2/api/javafx/animation/Animation.html[^]


这篇关于如何在Java中播放来自另一个程序的现有动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆