Java Reference
In-Depth Information
Chapter II
Java 3D Overview
In the last chapter, a brief introduction on the creation of 3D content through the use of
Java 3D and other programming methodologies for virtual reality applications has been
Before giving details on the various Java 3D classes and functions in subsequent s, we
will now discuss the basic Java 3D program structure in this . Specifically, JDK installa-
tion, programming and compiling tools, as well as the difference between Java 3D applet
and application will be explained.
Originated from Sun Microsystems, the Java 3D API is made up of a few packages
(Java platform API specification, 2006), which in turn contain the classes of some related
components and elements. Specifically, the package (Package
dia.j3d, 2006) contains the most basic classes, often referred to as core classes, which are
needed to create a Java3D program.
Note, however, that a complete application will often use many other packages and
classes as well. As an example, if there is a need to use vectors, points and matrices to draw
the virtual universe, the package javax.vecmath (Package, 2006) has to be
imported. Another important package is java.awt (AWT stands for Abstract Windowing
Toolkit), which include classes to create a window to display the rendering. Associated
with each class is a variety of methods to aid the programmer in creating the application.
Search WWH ::

Custom Search