Standalones

liveGL
liveOGL


liveGL is an optimized, standalone viewer that lets you view and animate SOFTIMAGE 3D scenes. You can use liveGL for live performance animation and virtual studio-type applications.

liveGL has standard viewing operations such as pan, zoom, orbit, and walk-through, and can display in various modes (such as shaded, textured, and stereo). liveGL also supports animation playback and channel runs with recording capabilities.

liveOGL is a version of liveGL using OpenGL.

Usage

liveGL [-R <resource path>] [-D <database path>]
[-S <scene> [-S <scene2> [...]]] 
[-G <garbage matte scene>]
[-T <take recording directory>[,<take name>] ]
[-d <display mode>] 
[-l <patch LOD>]
[-s <width>x<height> [[+]<x position>[+]<y position> ] ]
[-a <antialiasing precision>]
[-f <vertical retrace multiple>]
[-i <interocular distance>]
[-p <number of processes> ]
[-v] [-k] [-c] [-x] [-o] [-h]
[-z TEXT="<string>", X=<x position>, Y=<y position>,
  COLOR=<white|red|blue|green|yellow> ]

Options

-R
Specifies the SOFTIMAGE 3D resource path (softimage_installdir/3D/rsrc).

-D
Explicit database path or the name of a database listed in $SI_DBDIR/DatabaseDir.rsrc. For example:

  -D /usr/people/MY_DATABASE
If no database path is specified, the first database in $SI_DBDIR/DatabaseDir.rsrc is used.

-S
Name of a scene to load. You can load multiple scenes by specifying -S more than once:

  -S ski-test.1-0 -S surfer-test.3-0
All scenes are expected to be in the same database.

If you do not specify a scene, or if you specify a scene without a version number, liveGL loads the most recent scene from the database.

-G
Specifies a scene containing the garbage matte. All models in the scene are interpreted as garbage matte models.

-T
Enables take recording during a channel run. Data is saved to the directory specified by <take recording directory> and <take name>. If no <take name> is specified, the defaults is RecordData.

    -T /usr/fred,TestRuns
    -T /usr/fred
-d
Display mode:

1: Wireframe

2: Shaded (default)

3: Textured

-l
Patch level of detail:

0: Uses the level of detail specified for each patch (default).

1: Lowest level of detail.

2, ... : Higher levels of detail.

-s
Width, height, and position of the viewport, expressed in pixels as a standard X11 geometry string. The geometry string specifies the size and position of the area inside the window decorations.

For example, the following geometry string creates a viewport that is 500 pixels wide by 300 pixels high:

    -s 500x300+20-50
The x offset of +20 positions the left edge of the viewport 20 pixels in from the left side of the screen. (An offset of -20 would position the right viewport edge 20 pixels in from the right side of the screen.)

The y offset of -50 positions the bottom edge of the viewport 50 pixels above the bottom of the screen. (An offset of +50 would position the top viewport edge 50 pixels down from the top of the screen.)

-a
Sets the antialiasing level:

0: Disables antialiasing.

1-7: Enables antialiasing, where 1 is the lowest level of antialiasing, and 7 the highest (and slowest).

-f
Locks the frame rate to a multiple of the vertical retrace. If the graphics load of the scene varies significantly over time, this option may be used to fix the display rate to a lower (but constant) rate.

For example, if a monitor's vertical retrace is 60Hz, you can force the graphics display to refresh (at most) at 30Hz by starting liveGL with f 2.

To determine the vertical retrace rate, use /usr/gfx/gfxinfo.

To set the vertical retrace rate, use /usr/gfx/setmon.

-i
Specifies the interocular distance (stereo eye separation) in SOFTIMAGE units. Used with the StereoGraphics CrystalEyes Stereoscopic System.

-p
Number of processes used for animation and display. Possible values are 1 and 2.

When set to 2, animation and display run decoupled in separate processes restricted to separate processors (if available).

If -p is not specified, the system uses two processes on a multiprocessor machine, and one process otherwise.

-v
Enables video texture mapping with Sirius.

-k
Disables all keyboard options during a channel run. This is sometimes necessary if a keyboard channel driver conflicts with the viewer options.

-c
Start the viewer with channels on.

-x
Enables stereo viewing with the StereoGraphics CrystalEyes Stereoscopic System. This option is available with liveGL only.

-o
Disables animation update optimizations. Depending on the constraints and animation in the scene, these optimizations can be significant, but for certain combinations of constraints, the animation may be updated one frame late.

By default, optimizations are enabled.

-h
Prints usage message.

-z
Specifies text displayed in the viewport. For example:

      -z TEXT="Hello World", X=10, Y=10
The X and Y values specify the position of the text in the viewport. You can also set the colour of the text.

Keyboard Options

a
Frames all. This positions the camera so that the entire scene fits in the viewport.

c
Starts channel capture. Click the right mouse button to stop channel capture.

C
Toggles channel take recording. Works only when channels are running. The take data is written to the take directory specified on the command line, and the take number is incremented by 1 for each recording. Take data can be loaded and viewed in SOFTIMAGE 3D.

f
Frames selected objects. The camera is positioned so that the selected objects fit the viewport.

g
Displays garbage matte in shade mode.

i
Toggles information mode. Displays statistics such as the refresh rate in the viewport.

I
Toggles the display of extra statistics and information. Only works when the basic information is displayed.

l
Toggles antialiasing on and off.

m
MATTE display mode.

o
Orbits camera.

O
Orbits camera interest.
To orbitDrag this mouse button
FreelyLeft
Up/DownMiddle
Left/RightRight

p
Dolly camera mode. Dragging the mouse left and right moves the camera in and out of the scene.
To dolly atDrag this mouse button
Low speedLeft
Medium speedMiddle
High speedRight

r
Resets the tilt angle of the camera when in walkthrough viewing mode (W).

s
SHADED display mode.

t
TEXTURED display mode.

v
Toggles video texture mapping.

w
WIREFRAME display mode.

W
Enables the walkthrough viewing mode.

In walkthrough viewing mode, the left mouse button moves the camera position parallel to the floor.

The middle mouse button moves the camera interest. The camera position remains static and the camera interest is controlled by the mouse.

The right mouse button controls the camera height from the floor. (This is also known as elevator mode.)
To do thisMouse ButtonAction
Walk forwardLeftDrag the pointer up
Walk backwardLeftDrag the pointer down
Turn left/rightLeftDrag the pointer left or right
Walk along the viewing planeLeftPress Ctrl and drag the pointer
Adjust the walking speedLeftDouble-click
Orbit the camera interestMiddleDrag the pointer
Ride the elevator (move the camera up and down)RIghtDrag the pointer up or down
Adjust the elevator speedRightDouble-click

x
Toggles the viewport cross for video alignment.

z
Zoom and pan camera mode:
To do thisDrag this mouse button
PanLeft
Zoom inMiddle
Zoom outRight

0
Uses default display mode.

+
Increases interocular distance.

=
Increases interocular distance.

-
Decreases interocular distance.

Space
Selection mode:

To select elements, hold the spacebar down and click the left mouse button.

Right arrow

Plays animation sequence.

?
Prints usage information.

Escape

Exits the program

Optimization Tips

Display Optimizations

Animation Optimizations


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker