GPU/Commands: Difference between revisions

No edit summary
Line 474: Line 474:
| float
| float
|}
|}
==== Vertex Entry ====
{| class="wikitable" border="1"
!  Index Word
!  Description
|-
| 0
| float X coordinate
|-
| 1
| float Y coordinate
|-
| 2
| float Z coordinate
|-
| 3
| float W coordinate?
|}
Type 0x14 is used for specifying vertices, however the vertex array can be used for specifying vertices as well.


=== Types for CmdID 0x000F02C0 ===
=== Types for CmdID 0x000F02C0 ===
Line 503: Line 483:
| 0x00
| 0x00
| 4
| 4
| This specifies 16-floats for the 4x4 model-view matrix?
| This specifies 16-floats for a 4x4 matrix.
|-
|-
| 0x04
| 0x04
Line 531: Line 511:
| 0x14
| 0x14
| <=30
| <=30
| Geometry vertices
| Used to specify a 4xN matrix, where N is the total CmdID 0xXXXF02C1 entries.
|-
|-
| 0x4C
| 0x4C
| 4
| 4
| Model-view matrix related?
| This specifies a 4x4 float matrix.
|-
|-
| 0x50, 0x53, and 0x56
| 0x50, 0x53, and 0x56