Standalones

evalScene


Evaluates a SOFTIMAGE 3D scene at the given frames.

The result of the evaluation is saved as a complete scene in the desired database, or in an EVALSCENE database. The resulting scene contains the state of all the objects (models, lights, camera) at the given time. Their file names have a substitution number corresponding to the requested frame.

Use evalScene to evaluate animations and deformations at a given frame and produce deformed models than you can pass on to DKit programs and other converters. For example, you can use evalScene to freeze the animation of a scene before converting the scene to DXF or IGES format using soft2dxf or soft2iges.

evalScene sends normal output to stdout, and errors to stderr.

Usage

evalScene <scene file> [-r <resources path>] [-z] [-l]
[-d <input database>] [-o <output database>]
[-f <frame no> | -s <start> <end> <step> |
 {-t|-T} <time in sec>]
[-D <object name>] [-F <object file>] [-L] [-m]
<scene file> is the name of the scene to evaluate. To use the latest version of the scene, use the -l option.

Note: This scene can be in any format. The output scene is always in the format of the current version of SOFTIMAGE 3D.

If you omit the -f, -s, and-t options, evalScene evaluates the entire sequence.

Options

-r
Sets the path where resources can be found.

-z
Freezes the scene before saving. All animations, shapes, and lattices are removed before the resulting scene is saved. This option can only be used with the -f or -t option.

-l
Uses the latest version of the scene in the database.

-d
Sets the database where scene is read. If it is omitted, the default database is used.

-o
Sets the database where the scene is written. If it is omitted, the standalone attempts to save the scene in a database named EVALSCENE. This database must exist or an error is generated.

-f
Required update time in frames.

-s
Required update time as a sequence.

-t
Required update time in seconds (converted to the nearest frame).

-T
Required update time in seconds.

-D
Dumps the transformations of an object (model, camera or light) on the standard output instead of writing back the scene.

Use camera for <object name> to get the camera. The format for transformations is:

-F
Reads a list of objects from the specified object file, and dumps their transformations on the standard output instead of writing back the scene.

In the object file, each line starts with a chapter name, followed by either the object name or an asterisk (for all objects in the chapter). Names and version numbers may omit the prefix.

For example:

    LIGHTS light
    LIGHTS aaa-light2.5-2
    MODELS *
    CAMERAS camera
-L
Uses local transformations to dump the models specified with the -D or -F option. If this parameter is omitted, global transformations are used.

-m
Produces only triangulated polygon meshes for output objects.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker