Package org.jmol.g3d

Provides a software implementation of complete 3D graphics engine for rendering molecules and associated shapes.

See:
          Description

Class Summary
Circle3D Implements flat circle drawing/filling routines.
Colix3D Implements a color index model using a colix as a COLor IndeX.
Cylinder3D Draws shaded cylinders in 3D.
Font3D Provides font support using a byte fid (Font ID) as an index into font table.
Graphics3D Provides high-level graphics primitives for 3D visualization.
Hermite3D Implementation of hermite curves for drawing smoothed curves that pass through specified points.
Line3D  
Normix3D Provides quantization of normalized vectors so that shading for lighting calculations can be handled by a simple index lookup
Platform3D Specifies the API to an underlying int[] buffer of ARGB values that can be converted into an Image object and a short[] for z-buffer depth.
Rgb16  
Shade3D All static functions.
Sphere3D Implements high performance rendering of shaded spheres.
Text3D implementation for text rendering
Triangle3D renders triangles
 

Package org.jmol.g3d Description

Provides a software implementation of complete 3D graphics engine for rendering molecules and associated shapes. basic shapes.

This package implements all graphics primitives used by Jmol. The graphics engine does not use Java3D or OpenGL. It requires no specialized graphics hardware. This allows Jmol and the JmolApplet to run on any machine that has a JVM.

It is a software implementation of a graphics z-buffer. An int[] called pbuf (for pixel buffer) is used to hold ARGB values for pixels. A short[] called zbuf holds the z-depth value.

Shape primitives are provided for drawing spheres, cylinders, triangles, etc. Shading primitives provide lighting/shading support

Related Documentation

Makes use of javax.vecmath classes.