This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
banjo_kazooie:geometry_layouts [2022/03/28 00:31] jombo23 [0x06: BRANCH] |
banjo_kazooie:geometry_layouts [2023/08/27 21:10] (current) minirop [0x0E: UNKNOWN] |
||
|---|---|---|---|
| Line 80: | Line 80: | ||
| ^ Value/Syntax ^ Description ^ | ^ Value/Syntax ^ Description ^ | ||
| - | | [00 00 00 05] | Skinning Command ID | | + | | [00 00 00 08] | LOD Command ID | |
| - | | [<color orange>aa aa aa aa</color>] | Command Length* (0x20)| | + | | [<color orange>aa aa aa aa</color>] | Command Length* (0x20)*| |
| | [<color #b5e61d>bb bb bb bb</color>] | max distance (float) | | | [<color #b5e61d>bb bb bb bb</color>] | max distance (float) | | ||
| | [<color #99d9ea>cc cc cc cc</color>] | min distance (float) | | | [<color #99d9ea>cc cc cc cc</color>] | min distance (float) | | ||
| Line 89: | Line 89: | ||
| | [<color #c8bfe7>dd dd dd dd</color>] | geometry layout offset | | | [<color #c8bfe7>dd dd dd dd</color>] | geometry layout offset | | ||
| + | *Note that the command length actually includes the length of the child GL list to run, and the length can be 0 to denote the end of a list, but there could still be MANY child commands to run. | ||
| ---- | ---- | ||
| Line 128: | Line 129: | ||
| ^ Value/Syntax ^ Description ^ | ^ Value/Syntax ^ Description ^ | ||
| | [00 00 00 0D] | Command | | | [00 00 00 0D] | Command | | ||
| - | | [<color darkred>aa aa aa aa</color>] | Command Length* | | + | | [<color orange>aa aa aa aa</color>] | Command Length* | |
| | [<color darkred>XX XX</color> <color darkgreen>YY YY</color> <color darkblue>ZZ ZZ</color>] | Draw distance: Negative Coords| | | [<color darkred>XX XX</color> <color darkgreen>YY YY</color> <color darkblue>ZZ ZZ</color>] | Draw distance: Negative Coords| | ||
| | [<color darkred>XX XX</color> <color darkgreen>YY YY</color> <color darkblue>ZZ ZZ</color>] | Draw distance: Positive Coords | | | [<color darkred>XX XX</color> <color darkgreen>YY YY</color> <color darkblue>ZZ ZZ</color>] | Draw distance: Positive Coords | | ||
| | [<color darkred>bb bb</color> <color darkgreen>cc cc</color>] | <color darkred>bbbb</color>= ?? Usually 0018, <color darkgreen>cccc</color>= ????? | | | [<color darkred>bb bb</color> <color darkgreen>cc cc</color>] | <color darkred>bbbb</color>= ?? Usually 0018, <color darkgreen>cccc</color>= ????? | | ||
| + | |||
| + | *Command Length: If value is nonzero, GeoLayout continues, else it is the last command. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 0x0E: UNKNOWN ==== | ||
| + | |||
| + | Usage: | ||
| + | ^ Value/Syntax ^ Description ^ | ||
| + | | [00 00 00 0E] | Command | | ||
| + | | [<color orange>aa aa aa aa</color>] | Command Length | | ||
| + | | [<color darkred>XX XX</color> <color darkgreen>YY YY</color> <color darkblue>ZZ ZZ</color>] | Coords | | ||
| + | | [<color darkred>XX XX</color> <color darkgreen>YY YY</color> <color darkblue>ZZ ZZ</color>] | Coords | | ||
| + | | [00 00 00 00] | padding | | ||
| + | | ... | Child commands* | | ||
| + | |||
| + | *Child commands: if Command Length is not zero, then read commands until size is reached | ||
| ---- | ---- | ||
| - | *Command Length: If value is nonzero, GeoLayout continues, else it is the last command. | ||