5,391
edits
m (→Appearance: note on subtypes) |
mNo edit summary |
||
Line 123: | Line 123: | ||
===Vector=== | ===Vector=== | ||
3 floats define a vector in 3D space | 3 floats define a vector in 3D space | ||
:(position, normal, ...) | :(position, normal, scaling, ...) | ||
===Axis-aligned bounding box=== | ===Axis-aligned bounding box=== | ||
2 vectors define a min corner and a max corner | 2 vectors define a min corner and a max corner | ||
Line 132: | Line 132: | ||
*[[AKVA]] | *[[AKVA]] | ||
*VLME (in BINA/OBJC/SNDG) | *VLME (in BINA/OBJC/SNDG) | ||
* | *[[CRSA]] | ||
*[[PNTA]] | |||
===Plane=== | ===Plane=== | ||
4 floats define an oriented plane in 3D | 4 floats define an oriented plane in 3D | ||
Line 139: | Line 140: | ||
4 floats define a [[w:quaternion|quaternion]] | 4 floats define a [[w:quaternion|quaternion]] | ||
:(always normalized, i.e., rotation w/o scaling?) | :(always normalized, i.e., rotation w/o scaling?) | ||
used in | |||
*[[OBAN]] (with translation vector after it) | |||
*[[OBOA]] (with translation vector before it) | |||
*[[TRAM]] (bone rotation for overlay TRAMs, without translation vector) | |||
===Translation and rotation=== | ===Translation and rotation=== | ||
*3 floats define a translation | *3 floats define a translation | ||
Line 148: | Line 154: | ||
12 floats define a 4x4 transformation matrix | 12 floats define a 4x4 transformation matrix | ||
:(translation, rotation, scaling, mirroring) | :(translation, rotation, scaling, mirroring) | ||
used in | |||
*[[CRSA]] | |||
*[[ENVP]] | |||
*[[OBAN]] | |||
*[[OBOA]] | |||
*[[ONFA]] | |||
*[[ONWC]] | |||
*[[TURR]] | |||
Line 158: | Line 172: | ||
===short=== | ===short=== | ||
:everywhere... | :everywhere... | ||
===short with high bit=== | |||
used as a simple flag? (in a few places... not sure... ^^ ) (OFGA) | |||
===long=== | ===long=== | ||
:everywhere... | :everywhere... | ||
Line 167: | Line 183: | ||
*[[AKBA]] | *[[AKBA]] | ||
*[[AKBP]] | *[[AKBP]] | ||
*[[OTIT]] | |||
*[[OTLF]] (either that, or FFFFFFFF) | |||
*[[QTNA]] | |||
*... | *... | ||
===long with high byte=== | ===long with high byte=== | ||
Line 176: | Line 194: | ||
===other stuff=== | ===other stuff=== | ||
lots of funny stuff in [[PAR3]], maybe... | lots of funny stuff in [[PAR3]], maybe... | ||
:funny stuff in [[OTLF]], too... | |||
Line 184: | Line 203: | ||
===4 bytes=== | ===4 bytes=== | ||
===8 bytes=== | ===8 bytes=== | ||
8-byte bitset (keypress events) only in [[FILM]], AFAIK | |||
Line 189: | Line 209: | ||
==Misc== | ==Misc== | ||
===32-bit color=== | ===32-bit color=== | ||
stored as BB GG RR AA (byte swapped) | |||
:used in | :used in | ||
*[[AGQG]] | *[[AGQG]] | ||
* | *[[IGSt]]? | ||
*[[ONGS]] | |||
*[[ONWC]] | *[[ONWC]] | ||
* | *[[WMDD]] | ||
===4-character codes=== | ===4-character codes=== | ||
In various BINA raw/sep parts | In various BINA raw/sep parts | ||
===[[OBD:AKVA_0]]=== | ===[[OBD:AKVA_0]]=== | ||
Pathfinding grids | Pathfinding grids |