8
Exporting HTR/HTR2 Files 627
Time Options group
All/R ange—Choose b etween using the entire
animation range from the motion capture file, or
adefinedportion.
To/From—These values represent the start and
endframesofthedefinedrange.Onlyavailable
if Range is active.
Offset—Sets the number of inserted empty frames
before the imported animation starts.
Set Frame Rate—When on, the
framerate(page
3–1038)
from the TRC file overwrites the c urrent
one in the
Time Configuration dialog (page
3–768)
.
Scale group
Global—Sets the size of the resulting skeleton.
Note: The scale va lue within 3ds Max remains 100.
Ok —Proceeds with TRC import, using the current
settings.
Can ce l—Cancels TRC import.
Exporting HTR/HTR2 Files
File menu > Export > M o tion Analysis HTR File (*.HTR)
The Motion Analysis HTR (Hierarchical
Translation-Rotation) motion capture file format
is an alternative to the
BV H (page 3–1009)
format because it provides flexibility in data types
and ordering. It also has a complete base pose
specification, which consists of indicating the
starting point for both rotations and translations.
The stored data is grouped by segments; all
motions from the first segment are read, then
those from the next seg m ent, and so on.
The HTR format contains four sections: Header,
Segment Names & Hierarchy, Base Position, and
the motion data section.
Note: All section titles are displayed between
square brackets ([]).
Note: Comments within the HTR file are denoted
by a hash mark (#).
The header section cont ains global parameter
information:
•filetype
•datatype
•fileversion
•numberofsegments
•numberofframes
• data f rame rate
• Euler rotation order
• calibration units
•rotationunits
•globalaxisofgravity
•bonelengthaxis
•scalefactor
HTR2 is nearly identical to HTR, except that
the data from the motion section is organized
differently in order to better suit a streaming data
input (a sample-major ordering is used to present
the motion information).
On export, the root object is nam ed after your file
name.
Note: To have a successful export, yo u hav e to select
the root of the desired skeleton.
Note: You can only export one bone hierarchy at a
time.