Java 3D
From Wikipedia, the free encyclopedia
Java 3D | |
---|---|
Developed by | Sun Microsystems |
Latest release | 1.5.1 / June 27, 2007 |
OS | Cross-platform |
Genre | 3D computer graphics software (library/API) |
License | GPL version 2 |
Website | java3d.dev.java.net |
Java 3D is a scene graph-based 3D application programming interface (API) for the Java platform. It runs on top of either OpenGL or Direct3D. Since version 1.2, Java 3D is developed under the Java Community Process. JSR 926 specifies Java 3D 1.4; as of 2007, the current version is 1.5.1 (released in June 2007).
Compared to other solutions, Java 3D is not only a wrapper around these graphics APIs, but an interface that encapsulates the graphics programming using a real, object-oriented concept. Here a scene is constructed using a scene graph that is a representation of the objects that have to be shown. This scene graph is structured as a tree containing several elements that are necessary to display the objects. Additionally, Java 3D offers extensive spatialized sound support.
Java 3D and its documentation are available for download separately. They are not part of the JDK 6. However future versions of the JDK are expected to include an API package for Java 3D.
Contents |
[edit] History
- Intel, Silicon Graphics, Apple, and Sun all had retained mode scene graph APIs under development in 1996. Since they all wanted to make a Java version, they decided to collaborate in making it. That project became Java 3D.
- Development was underway already in 1997.
- A public beta version was released in March 1998.
- First version released December 1998.
- From mid-2003 through summer 2004, the development of Java 3D was discontinued.
- In the summer of 2004 Java 3D was released as a community source project, and Sun and volunteers have since been continuing its development.
- Version 1.4.0 of the API was released on February 24, 2006.
- Version 1.5.0 of the API was released on December 13, 2006.
- Version 1.5.1 of the API was released on June 27, 2007[1].
Since February 28, 2008, the entire Java3D source code is released under the GPL version 2 license[2].
[edit] Features
- Multithreaded scene graph structure
- Platform independent
- Generic Real-time API, usable for both visualization and gaming
- Support for retained, compiled-retained, and immediate mode rendering
- Includes hardware-accelerated JOGL, OpenGL and Direct3D renderers (depending on platform)
- Sophisticated virtual-reality-based view model with support for stereoscopic rendering and complex multi-display configurations
- Native support for head-mounted display
- CAVE (multiple screen projectors)
- 3D spatial sound
- Programmable shaders, supporting both GLSL and CG
- Stencil buffer
- Importers for most mainstream formats, like 3DS, OBJ, VRML, X3D, NWN, and FLT
[edit] Competing technologies
Java 3D is not the only high-level API option to render 3D in Java. In part due to the pause in development during 2003 and 2004, several competing Java scene graph technologies emerged:
General purpose:
- AgentFX
- 3DzzD Software and Hardware 3D engine
- Strata Live 3D(tm) http://www.strata.com
Gaming:
- Xith3D
- jMonkey Engine
- Espresso3D
Visualization:
- Aviatrix3D
- JView
- Jreality. http://www3.math.tu-berlin.de/jreality/
In addition to those, many other C or C++ scene graph APIs offer Java support through JNI.
At a lower level, the JOGL (JSR 231) OpenGL bindings for Java are a popular alternative to scene graph APIs such as Java 3D.
[edit] See also
- Project Looking Glass Experimental 3D Desktop using Java 3D
- Project Wonderland Virtual workspace environment using Java 3D and Project Darkstar
- J3DFly Experimental Scene Graph editor for Java 3D
[edit] References
- ^ Java 3D 1.5.1 release now available. Sun Microsystems (2007-06-27). Retrieved on 2008-02-29.
- ^ ANNOUNCE: GPL open source release. Sun Microsystems (2008-02-28). Retrieved on 2008-02-29.
[edit] External links
- Official site and associated downloads
- Release Notes of recent version 1.5.1
- JSR 926 (Java 3D 1.5), JSR 912 (Java 3D 1.3)
- Forum and Wiki for Java 3D (Places for collaboration - includes lists of books and users, faq and knowledge base)
- Lecture from Siggraph for beginners
- Game Programming [1], [2] in Java 3D (chapters as pdf-files and sourcecode)
- Virtual Universe Example VR application
- Java 3D support and information page (german)
- J3D.ORG Java 3D information page and lots of sample code
- Plugin for Eclipse
- Example visualisation applets using Java 3D