Java 3D Coverflow的不同视图(在3D对象上映射2D内容) - >哪个框架/技术

时间:2021-01-08 21:38:03

I want to write a program in JAVA that provides the following features: Show Videos, Pictures, Text and if possible a Browser (doesn't need a lot of functionality).

我想在JAVA中编写一个程序,它提供以下功能:显示视频,图片,文本和可能的浏览器(不需要很多功能)。

My idea is to map these views on a (some sort of) coverflow-like gui. For example a cube which has on each side a video or picture and wich can be spun around by the user.

我的想法是将这些视图映射到(某种类似的)类似于流的gui上。例如,在每一侧具有视频或图片并且可以由用户旋转的立方体。

Now I'm searching for the right tech to do it. I've found an old demo called "twinkle", which shows some of the things i want to do (Pictures on 3D "panes"): http://jroller.com/gfx/entry/a_swing_opengl_photo_viewer The Teaser gives a good impression.

现在我正在寻找合适的技术来做到这一点。我发现了一个名为“twinkle”的旧演示,其中显示了我想要做的一些事情(3D上的图片“窗格”):http://jroller.com/gfx/entry/a_swing_opengl_photo_viewer Teaser给人的印象很好。

Should I use JOGL & Swing like in the demo? Or only JOGL? The source-code looks quite complex and i couldn't get it to run.

我应该像演示一样使用JOGL和Swing吗?还是只有JOGL?源代码看起来很复杂,我无法运行它。

Is it possible/recommandable to use Java3D?

是否可以/建议使用Java3D?

I'm confused because most of the things I found were rather old articles etc.

我很困惑,因为我发现的大多数东西都是旧文章等。

Do you have any advise?

你有什么建议吗?

Thanks, Bob

1 个解决方案

#1


0  

If you would like to go the route of doing it by hand and without an premade api such as OpenGL, you could help to youtube and find a guy by the name of JavaTutorials101, he has a 14 part series on rendering 3D objects to the screen just using normal java graphics and polygons. Than once you have the "engine" prosay created, you could than attach an image to a polygon, or than load video to it, I know the picture would be more than easy, video im not sure, but im sure if you loaded it picture by picture or had a way to stream it in, it shouldnt be a problem.

如果您希望手动完成并且没有像OpenGL这样的预制api,您可以帮助youtube并找到一个名为JavaTutorials101的人,他有一个关于将3D对象渲染到屏幕的14部分系列只使用普通的java图形和多边形。一旦你创建了“引擎”prosay,你可以将图像附加到多边形,或者将视频加载到它上面,我知道图片不仅简单,视频我也不确定,但我确定你加载它图片或图片有一种方法可以流入,这不应该是一个问题。

#1


0  

If you would like to go the route of doing it by hand and without an premade api such as OpenGL, you could help to youtube and find a guy by the name of JavaTutorials101, he has a 14 part series on rendering 3D objects to the screen just using normal java graphics and polygons. Than once you have the "engine" prosay created, you could than attach an image to a polygon, or than load video to it, I know the picture would be more than easy, video im not sure, but im sure if you loaded it picture by picture or had a way to stream it in, it shouldnt be a problem.

如果您希望手动完成并且没有像OpenGL这样的预制api,您可以帮助youtube并找到一个名为JavaTutorials101的人,他有一个关于将3D对象渲染到屏幕的14部分系列只使用普通的java图形和多边形。一旦你创建了“引擎”prosay,你可以将图像附加到多边形,或者将视频加载到它上面,我知道图片不仅简单,视频我也不确定,但我确定你加载它图片或图片有一种方法可以流入,这不应该是一个问题。