EvilEngine/WIRE: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|WIRE}}<nowiki/>
{{#vardefine:name|Wireframe}}<nowiki/>
{{#vardefine:type|[[Binary]]}}<nowiki/>
{{#vardefine:basetype|}}<nowiki/>
{{#vardefine:games|Incredibles ROTU}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
'''WIRE''' defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles
==Format==
===zWireframeAsset===
<source lang=cpp>
class zWireframeAsset
{
public:
unsigned int totalFileSize;▼
unsigned int
unsigned int
unsigned int
zWireframeVertex* vertices;
unsigned int hashID2;▼
zWireframeLine* lines;
};
</
{| class="wikitable"
|-
! Offset !! Type !! Variable !! Description
|-
| 0x00 || u32 || '''size''' || Total file size.
|-
| 0x04 || u32 || '''vertexCount''' ||
|-
| 0x08 || u32 || '''lineCount''' ||
|-
| 0x0C || u32 || '''hashID''' ||
|-
| 0x10 || u32 || '''hashID2''' ||
|-
| || zWireframeVertex*[vertexCount] || '''vertices''' ||
|-
| || zWireframeLine*[lineCount] || '''lines''' ||
|}
===zWireframeVertex===
<source lang=cpp>
class zWireframeVertex
{
public:
float y;
float z;
};
</
{| class="wikitable"
|-
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[Vector3]] || '''xyz''' || Position
|}
===zWireframeLine===
<source lang=cpp>
class zWireframeLine
{
public:
};
</source>
{| class="wikitable"
|-
! Offset !! Type !! Variable !! Description
|-
| 0x00 || u16 || '''start''' ||
|-
| 0x02 || u16 || '''end''' ||
|}
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|