Alias|Wavefront Metacycle Direct3D Viewer
Copyright (C) 1996 Alias|Wavefront. All Rights Reserved.

alviewer.exe

This is a modified version of the original viewer program that was distributed
with the Microsoft Developer Network SDK for Direct3D. The major changes
are that it has several more flexibile camera controls and has support for
the Alias|Wavefront Metacycle feature for cycling through animation snippets.

The initial scene has only a light source in the top right. To see this the 
view can be moved backwards and forwards using the T and R keys. Objects 
(like the supplied awlogo.x file) can be loaded from the file menu, and new
light sources can be added from the lights menu.  Objects can be rotated with
the left mouse button and dragged with the right. 

The last object that was rotated or dragged is the current selection.

The device quality can be altered using the Renderer menu. Using this menu the
type of device used can also be switched from ramp to RGB. When using the RGB
device the color of lights in the scene can be changed in the same way as you
change the color of objects. In 256 color mode it is advisable to dither an
RGB device for best results.

To view available textures on an object, the texture files must reside in
the same directory as the object file. Otherwise, no textures will be
displayed on the object.

New Features in the Alias|Wavefront Viewer
==========================================

Batch File Support
==================
You can load a Direct3D file from the command-line by typing:
   awviewer <file>
The viewer will detect if the file is an animation set, frame or mesh.
If awviewer is started by specifying <file> on its command-line, it will
create a file called <file>.viewing that indicates this file is currently
being viewed.  The viewer will also monitor for the existence of <file>.stale 
in the same directory as <file>.  As soon as this stale file is created, 
the viewer will quit and delete the stale file.  This option allows awviewer 
to be used in batch (*.bat) scripts where it can automatically quit and restart
to display updated models.  The supplied shownetw.bat script performs this 
task by monitoring for new versions of the file, test.x.

For frames and animation sets, clicking and dragging on the background will 
rotate and drag the most recently loaded frame hierarchy. The O and P keys 
allow rotation about the y-axis and x-axis respectively. In the case of 
frames, holding down these buttons will increase the rotational 
velocity about the axis.

Metacycle Feature
=================

In the case of animation sets with an accompanying .x.metacycle file, the
viewer will play through the metacycle defined in the file for the animatable
object. The functions keys F1-F8 are defined as the target strings,
N,S,E,W,U,D,L,R respectively. The string for representing "doing nothing"
is the asterisk (*).  Currently, every snippet of the animation is played in
a ping-pong loop (played in alternating forward and reverse order).
Transitions are played through once. The current snippet or transition is
displayed in the window bar.  If no metacycle file is available, the viewer 
will simply play through all the frames of the animation.

Additional keyboard controls
============================

O				Rotate about the Y-axis.
P				Rotate about the X-axis.
T               Forwards.
R               Back.
Z               Move current selection forwards.
X               Move current selection back.
G               Gouraud shade
F               Flat Shade
D               Dither toggle.
Delete  Delete the current selection.
