Package smithers.java3d

Provides classes and interfaces for basic 3-dimensional shapes and processing.

See:
          Description

Class Summary
Drawable3D Represents a drawable 3D object.
Image3D Represents a recangular image arbitrarily suspended in 3-dimensional space.
Line3D Represents a line in 3-dimensional space.
Panel3D Class which draws a 3D object on an AWT Canvas.
Panel3D.DrawablePolygon A simple drawable object which draws and fills a Polygon3D.
Polygon3D Represents a polygon in 3D space.
Transformation Represents a transformation between two real vector spaces.
 

Package smithers.java3d Description

Provides classes and interfaces for basic 3-dimensional shapes and processing.

The main usage of this package is through 3 classes - Panel3D, Drawable3D and Transformation. The Panel3D class provides a java.awt.Component which displays 3D graphics. The objects to appear take the form of Drawable3Ds. If the built-in subclasses of Drawable3D suffice, then one can simply add these to a Panel3D and display this in a window. Often, one will have to extend Drawable3D; in this case one will need to take note of the Transformation.apply(float[]) and Transformation.invert(float[]) methods.