|
|
Line 19: |
Line 19: |
| {{OBDtr| 0x00 | int32 |FFC8C8| 15 50 00 00 | 20501 | AGQG element ID (used for: [[OBD:IDXA_AKEV_2|AKEV 2]] needs it)}} | | {{OBDtr| 0x00 | int32 |FFC8C8| 15 50 00 00 | 20501 | AGQG element ID (used for: [[OBD:IDXA_AKEV_2|AKEV 2]] needs it)}} |
| |} | | |} |
|
| |
|
| |
| ;IDXA usage
| |
| *Two kinds of IDXA are used in [[OBD:AKEV|AKEV]]: they define quads affected by [[env_show]].
| |
| *Two kinds of IDXA used in [[OBD:AKOT|AKOT]] define the quads and BNVs intersected by a leaf.
| |
| *Two kinds of IDXA are used in [[OBD:M3GM|M3GM]]: triangle strips and face normal groups.
| |
| *[[OBD:ONOA|ONOA]] uses several similar IDXA, one to store the quad IDs of every object.
| |
| ;High bit
| |
| :The high bit is only used for triangle strips in [[OBD:M3GM|M3GM]].
| |
| :It is set for the first vertex index of every triangle strip.
| |
| ;AKEV indices
| |
| :Both IDXA have the same number of entries, equal to the number of togglable quads.
| |
| :The first IDXA lists the quad IDs (index into AGQG, AGQC, AGQR and AGDB arrays).
| |
| :The second IDXA assigns a gunk ID to every quad (one or more quads per gunk).
| |
| ;AKOT indices
| |
| :The first IDXA lists the IDs of the quads intersected by octtree leaves, one leaf after another.
| |
| :The leaf specifies how many quad IDs Oni should read from the IDXA and where it should start.
| |
| :Same thing for the intersected BNVs: the leaf specifies the size and position of the BNV list.
| |
|
| |
|
|
| |
|
| {{OBD_File_Footer | type=IDXA | prev=HPge | next=IGHH | name=Index Array| family=Generic}} | | {{OBD_File_Footer | type=IDXA | prev=HPge | next=IGHH | name=Index Array| family=Generic}} |