User Tools

Site Tools


utf:vmesh

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
utf:vmesh [2019/11/15 10:41]
treewyrm
utf:vmesh [2019/11/15 10:45] (current)
treewyrm [Header]
Line 13: Line 13:
 ^ Offset ^ Type ^ Name ^ Description ^ ^ Offset ^ Type ^ Name ^ Description ^
 | 0x00 | uint32 | Mesh type     | Always 1, game crashes otherwise. | | 0x00 | uint32 | Mesh type     | Always 1, game crashes otherwise. |
-| 0x04 | uint32 | Primitive type | Direct3D primitive type.       ​|+| 0x04 | uint32 | Primitive type | Direct3D primitive type. Default is 4 which is triangle list. |
 | 0x08 | uint16 | Group count   | How many individual mesh groups contained there. ​     | | 0x08 | uint16 | Group count   | How many individual mesh groups contained there. ​     |
 | 0x0A | uint16 | Indices count | How many indices are used for triangle buffer. ​       | | 0x0A | uint16 | Indices count | How many indices are used for triangle buffer. ​       |
 | 0x0C | uint16 | FVF           | Direct3D Flexible Vertex Format. ​                     | | 0x0C | uint16 | FVF           | Direct3D Flexible Vertex Format. ​                     |
 | 0x0E | uint16 | Vertex count  | How many vertices stored here.                        | | 0x0E | uint16 | Vertex count  | How many vertices stored here.                        |
 +
 +Primitive type can be one of the following:
 +  - Points
 +  - Line List
 +  - Line Strip
 +  - Triangle List
 +  - Triangle Strip
 +  - Triangle Fan
  
 Followed by VMeshGroups. Followed by VMeshGroups.
utf/vmesh.txt ยท Last modified: 2019/11/15 10:45 by treewyrm