简体   繁体   English

Java3D:教程,项目,一般3D编程

[英]Java3D: Tutorials, Projects, General 3D Programming

I've been thinking about playing with Java3D . 我一直在考虑使用Java3D But first I would like to know if anyone has done much with it? 但首先我想知道是否有人做过多少工作? What types of projects have you done and what tutorials/examples/guides did you use to learn it? 您已经完成了哪些类型的项目以及您使用哪些教程/示例/指南来学习它? What are your general thoughts about the API? 您对API的一般想法是什么? Is it well developed? 它发育良好吗? Can you program games or do any physical modeling with it? 你可以编程游戏或用它做任何物理建模吗?

Thanks for your input. 感谢您的输入。

Also, not sure what good tags are so feel free to change them as you see fit. 此外,不确定什么是好的标签,所以随意改变它们你认为合适。

I have tried to develop in it about 4-5 years ago, and my impression is that while it was initially a great idea and had some good design going for it, Sun eventually stopped working on it and moved it to the purgatory of a "community project" where it has slowly been dying. 我试图在大约4 - 5年前开发它,我的印象是,虽然它最初是一个好主意并且有一些好的设计,Sun最终停止了它的工作,并把它转移到炼狱的“炼狱”社区项目“它已经慢慢消亡。

I was working at the time on a 3D conferencing application and kept running around barriers in the implementation on my platform, with other mechanisms (eg, 3D sound), rendering options, embedding, etc... The API is simply not rich enough compared to what you could get with things like DirectX or OpenGL and isn't sufficiently supported. 我当时在3D会议应用程序上工作,并且在我的平台上实现障碍,使用其他机制(例如,3D声音),渲染选项,嵌入等等......比较简单的API不够丰富你可以用DirectX或OpenGL等东西得到什么,并且得不到足够的支持。

If you want to experiment with 3D, it's far easier to get up and running than to try to do anything with DirectX (although the DirectX API more closely matches what game developers actually do, of course). 如果你想尝试使用3D,那么启动和运行要比尝试使用DirectX更容易(尽管DirectX API更接近游戏开发者实际做的事情,当然)。

The fact that it's community-supported does mean you won't get a lot of richness today, but for a lot of tools, it's still plenty capable. 它是社区支持的事实意味着你今天不会获得很多丰富的东西,但对于很多工具来说,它仍然有很多能力。 For instance, a simple data visualization tool for business - not for games - is easy to do in Java3D (this is what I use it for, mostly). 例如,用于商业的简单数据可视化工具 - 而不是游戏 - 在Java3D中很容易做到(这主要是我使用它)。

Java 3D is nice and easy to get started with, and it uses a scene graph. Java 3D非常好用且易于使用,它使用场景图。 However, I have worked with Java3D and I must say that at least as far as the version from May 2010 goes, it still is with problems regarding memory management. 但是,我使用过Java3D并且我必须说至少就2010年5月的版本来说,它仍然存在内存管理方面的问题。

So if you intend to play around with it a bit, it's great, but if you are thinking on developing one more serious application, I would recommend you to try other alternatives because Java3D will most likely lead you into OutOfMemory exceptions and such things, even when you use the appropriate methods to manipulate nodes from the scene graph... 因此,如果您打算稍微使用它,那就太棒了,但是如果您正在考虑开发一个更严肃的应用程序,我建议您尝试其他替代方案,因为Java3D很可能会引导您进入OutOfMemory异常和类似的事情,甚至当您使用适当的方法来操作场景图中的节点时...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM