Skip to content

Commit

Permalink
Documentation: Mesh Vertex Big Update
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchivalone committed Dec 3, 2024
1 parent f19c614 commit 7f732af
Show file tree
Hide file tree
Showing 180 changed files with 288 additions and 196 deletions.
12 changes: 7 additions & 5 deletions Docs/Technical/Formats/INSM.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@
* Structure:
* 0x08 - Address to Unknown Data Section with possible model data
* 0x10 - Address where padding starts before embedded section
* 0x14 - Offset from 0x3c to the vertex data that creates the full mesh; subtract 0x04 to get to first X value (bosses may have augmentations); all values here draw straight lines between vertices; section ends with 0
* 0x14 - Offset from 0x3c to the vertex data that creates the full mesh; subtract 0x04 to get to an approximate start address for section; 0x2c is preferred
* 0x18 - Address to unknown data structure
* 0x24 - Address where the math calculation tables start
* 0x28 - Start position of Unknown Data section - patterns of floats have been found here and at 0x2c but not sure what they're for yet
* 0x2c - Offset from 0x28 to get to the a Second Unknown Data Section
* 0x28 - Offset from Header to some kind of calculation table
* 0x2c - Offset from 0x28 to First Mesh Vertex Data Section; this ends at the first section that has a 0 long value
* 0x30 - Offset from 0x2c to Second Mesh Vertex Data Section (has a different structure than the previous one)
* 0x34 - Offset of PTMD or alternative structures from Header
* 0x3c - Offset to Mesh Vertex Data Start from Header
* 0x3c - Offset to Mesh Vertex Data Start from Header; bosses have extra augmentations applied, so using 0x2c would be more accurate in this case

---
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_CYZ00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 99
* Vertices: 3871

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_CYZ00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 99
* Vertices: 3871

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_CYZ00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 99
* Vertices: 3871

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_KAL00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 199
* Vertices: 3641

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_KAL00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 199
* Vertices: 3641

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_KAL00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 199
* Vertices: 3641

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MAZ00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 361
* Vertices: 3504

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MAZ00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 361
* Vertices: 3553

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MAZ01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 361
* Vertices: 3553

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MAZ01P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 361
* Vertices: 3553

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MEE00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 17
* Vertices: 4245

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MEE00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 17
* Vertices: 4245

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_MEE00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 17
* Vertices: 4245

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_NAF00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 499
* Vertices: 4913

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_NAF00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 499
* Vertices: 4913

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_NAF00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 499
* Vertices: 4913

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_RIR00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 346
* Vertices: 5182

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_RIR00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 346
* Vertices: 5244

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_RIR00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 346
* Vertices: 5182

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_RIR01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 346
* Vertices: 5244

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_WRS00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 85
* Vertices: 3889

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_WRS00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 85
* Vertices: 3889

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_WRS01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 85
* Vertices: 7954

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_WRS01P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 85
* Vertices: 7954

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_WRS02.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 88
* Vertices: 9657

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_WRS02P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 88
* Vertices: 9657

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_ZAH00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x230

* Vertices: 75
* Vertices: 3429

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_ZAH00B.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 75
* Vertices: 3429

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_ZAH00P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 75
* Vertices: 3429

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_ZAH01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1b0

* Vertices: 2850
* Vertices: 7521

---

Expand Down
2 changes: 1 addition & 1 deletion Docs/Technical/Models/Field/FCHR_B_ZAH01P.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

* 0: 0x1c0

* Vertices: 2850
* Vertices: 7521

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 43
* Vertices: 156

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX02.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 43
* Vertices: 156

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX03.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 43
* Vertices: 156

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX04.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 43
* Vertices: 156

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX05.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 43
* Vertices: 70

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX06.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 43
* Vertices: 156

---

Expand Down
4 changes: 2 additions & 2 deletions Docs/Technical/Models/Field/FCHR_G_BOX11.MD
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

* 0: 0x170

* Vertices: 4
* Vertices: 16

* 1: 0x84b0

* Vertices: 28
* Vertices: 75

---

Expand Down
Loading

0 comments on commit 7f732af

Please sign in to comment.