Talent File Format

MotionSampler stores information about talents in ordinary text files ending with the file extension .tal. A single talent file can contain many calibrations for several different talents.

Basically, a talent file contains a sequence of Talent objects, each with a unique name. Each Talent object contains a sequence of Calibration objects, each with a name/type pair unique to the Calibrations in the containing Talent.

Talent files are arranged as follows:

...

One Talent object is delimited by lines of text in this form:

begin talent TALENT_NAME

. . .

end talent

All text that falls between the begin talent line and the end talent line is considered part of the Talent object.

Talent Block Format

Calibration blocks are specific to individual modules that require them. The following example of a talent block includes two calibration blocks for a Biped filter:

begin talent "john"

end talent

You may want to match the name specified in the begin talent line to a UNIX login name, if appropriate, because MotionSampler makes use of login icons in the Talent Editor.

The talent file format also recognizes strings associated with the keywords fullname, title, company, and address to collect personal data on human talents. In each case, a line beginning with one of these keywords stores the string that follows it. The text that follows the keyword should be inside quotation marks.

Calibration Block Format

A single calibration is delimited by lines of text in this format:

begin CALIBRATION_TYPE CALIBRATION_NAME end CALIBRATION_TYPE CALIBRATION_TYPE is replaced with a keyword that specifies a calibration type defined by one or more cooperating plugins. The BipedTalent and Biped2 plugins create and use biped type calibration as shown in the following example:

begin biped "as MC_ALIAN"

end biped

The specific information that comes between the begin CALIBRATION_TYPE line and the end CALIBRATION_TYPE line is determined by the plugin defining it.

Sampling Motion

MotionSampler captures motion from a variety of sources. Because the most common source is human, the following information about sampling motion information uses a human talent example.





aliasdocs@aw.sgi.com

Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.