Java Wireframe Viewer


The wire frame applet displays a wire frame model that can be rotated about any axis by dragging with the mouse. The applet takes two parameters: The URL of a file describing the model, and an optional scale factor between (0.5 and 4.0).

The description file has a simple format. Each line begins with a v (vertex), l (line), or f (face).
v x-coord y-coord z-coord
l v-index1 v-index2
f v-index1 v-index2 v-index3 ...
Here is the description file for the simple cube shown below.


Wireframe Cube

Other examples

Javasaurus
Hughes 500 Helicopter
Missile Cruiser
Applet Source: ThreeD.java and Matrix3D.java.
Written by James Gosling