ANI Format (Chasm: The Rift)
Format type | 3D Model |
Model type | Animation |
Maximum number of polygons | 400 |
Maximum number of vertices | 938 |
Games | |
The ANI Format is used by Chasm: The Rift to store animations to be used with 3O Format using the animation vertices instead of the polygon vertices
Vertex definition
Each vertex in the array uses 6 bytes.
The first two coordinates position the vertex on the horizontal axes, while the third is the vertical position.
Relative position |
Type |
Description
|
0x00 |
INT16LE |
X coordinate (signed)
|
0x02 |
INT16LE |
Y coordinate (signed)
|
0x04 |
INT16LE |
Z coordinate (signed)
|
Animation definition
UINT16LE at 0x00 == 3O Vertex count
Relative position |
Type |
Description
|
0x00 |
UINT16LE |
Vertex count
|
0x02 |
Array |
Vertex array.
|
UINT16LE at 0x00 != 3O Vertex count
Relative position |
Type |
Description
|
0x00 |
Array |
Vertex array.
|