User Tools

Site Tools


banjo_tooie:model_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
banjo_tooie:model_data [2020/04/22 21:47]
pfedak Describe more model setup fields
banjo_tooie:model_data [2020/04/22 21:50] (current)
pfedak use consistent terminology
Line 111: Line 111:
 | 0x00000000 | [<color red>aa aa</​color>​ <color limegreen>​bb bb</​color>​] | <color red>​aaaa</​color>​=Has Norms, <color limegreen>​bbbb</​color>​=Entry Count | | 0x00000000 | [<color red>aa aa</​color>​ <color limegreen>​bb bb</​color>​] | <color red>​aaaa</​color>​=Has Norms, <color limegreen>​bbbb</​color>​=Entry Count |
 ^ Offset From Entry Start ^ ^ ^ ^ Offset From Entry Start ^ ^ ^
-| 0x00000000 | [<color red>cc cc</​color>​ <color limegreen>​dd dd</​color>​ <color aqua>ee ee</​color>​] | <color red>​cccc</​color>​=Bone ID, <color limegreen>​dddd</​color>​=Offset ​Count, <color aqua>​eeee</​color>​=Normal Count | +| 0x00000000 | [<color red>cc cc</​color>​ <color limegreen>​dd dd</​color>​ <color aqua>ee ee</​color>​] | <color red>​cccc</​color>​=Bone ID, <color limegreen>​dddd</​color>​=Position ​Count, <color aqua>​eeee</​color>​=Normal Count | 
-| 0x00000006 | [<color red>xx xx</​color>​ <color limegreen>​yy yy</​color>​ <color aqua>zz zz</​color>​] | Vertex ​Offset from Bone |+| 0x00000006 | [<color red>xx xx</​color>​ <color limegreen>​yy yy</​color>​ <color aqua>zz zz</​color>​] | Vertex ​Position (in bone space) ​|
 | ... | | | | ... | | |
-| 0x6 + 6*Offset Count | [<color red>​xx</​color>​ <color limegreen>​yy</​color>​ <color aqua>​zz</​color>​ 00] | Vertex Normal (in bone space) |+| 0x6 + 6*Positions ​| [<color red>​xx</​color>​ <color limegreen>​yy</​color>​ <color aqua>​zz</​color>​ 00] | Vertex Normal (in bone space) |
 | ... | | | | ... | | |
-| 0x6 + 6*Offsets ​+ 4*Normals | [<color orange>​ee ee</​color>​ <color purple>​ff ff</​color>​] | <color orange>​eeee</​color>,​ <color purple>​ffff</​color>,​...=Vertex IDs |+| 0x6 + 6*Positions ​+ 4*Normals | [<color orange>​ee ee</​color>​ <color purple>​ff ff</​color>​] | <color orange>​eeee</​color>,​ <color purple>​ffff</​color>,​...=Vertex IDs |
  
-Each vertex is assumed to have its own normal, but some share positions. ​An id of -1 in the list indicates  +Each vertex is assumed to have its own normal, but some share positions. ​The initial vertices are assigned the first position, then an ID of -1 in the list indicates  
-that the following vertices should use the next position in the list, and an id of -2 indicates the end.+that the following vertices should use the next position in the list, and -2 indicates the end.
 Thus there are (Normal Count) + (Offset Count) entries in the ID list, including the negative values. Thus there are (Normal Count) + (Offset Count) entries in the ID list, including the negative values.
  
banjo_tooie/model_data.1587592055.txt.gz · Last modified: 2020/04/22 21:47 by pfedak