PATH (File Format): Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Jackoalan (Initial PATH doc) |
imported>Jackoalan No edit summary |
||
Line 1: | Line 1: | ||
{{research|2|The BSP tables at the end need research}} | {{research|2|The BSP tables at the end need research}} | ||
The '''PATH format''' is used to store an area's [[wikipedia:Navigation Mesh]] in the ''Metroid Prime'' series. | The '''PATH format''' is used to store an area's [[wikipedia:Navigation Mesh|Navigation Mesh]] in the ''Metroid Prime'' series. | ||
Like navigation meshes in many other game engines (Unity, Source, etc...), the PATH format represents an ''n-gon mesh'' | Like navigation meshes in many other game engines (Unity, Source, etc...), the PATH format represents an ''n-gon mesh'' | ||
partitioned into a BSP tree for rapid queries. | partitioned into a BSP tree for rapid queries. | ||
Line 19: | Line 19: | ||
| | | | ||
|- | |- | ||
|[[#Vertex Entry]] | |[[#Vertex Entry|Vertex Entry]] | ||
|Vertex Table | |Vertex Table | ||
| | | | ||
Line 27: | Line 27: | ||
| | | | ||
|- | |- | ||
|[[#Edge Entry]] | |[[#Edge Entry|Edge Entry]] | ||
|Edge Table | |Edge Table | ||
| | | | ||
Line 35: | Line 35: | ||
| | | | ||
|- | |- | ||
|[[#Polygon Entry]] | |[[#Polygon Entry|Polygon Entry]] | ||
|Polygon Table | |Polygon Table | ||
| | | | ||
Line 80: | Line 80: | ||
|long | |long | ||
|Polygon A index | |Polygon A index | ||
| | |References into [[#Polygon Entry|Polygon Table]] | ||
|- | |- | ||
|0x4 | |0x4 | ||
Line 86: | Line 86: | ||
|long | |long | ||
|Polygon B index | |Polygon B index | ||
| | |References into [[#Polygon Entry|Polygon Table]] | ||
|- | |- | ||
|0x8 | |0x8 | ||
Line 120: | Line 120: | ||
|long | |long | ||
|Vertex Start Index | |Vertex Start Index | ||
|References into [[#Vertex Table]] | |References into [[#Vertex Entry|Vertex Table]] | ||
|- | |- | ||
|0x8 | |0x8 | ||
Line 132: | Line 132: | ||
|long | |long | ||
|Edge Start Index | |Edge Start Index | ||
|References into [[#Edge Table]] | |References into [[#Edge Entry|Edge Table]] | ||
|- | |- | ||
|0x10 | |0x10 |