EvilEngine/WIRE: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
m (4 revisions imported)
No edit summary
Line 1: Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|WIRE}}<nowiki/>
|subtitle=Wireframe Model
{{#vardefine:name|Wireframe}}<nowiki/>
|type=[[Binary]]
{{#vardefine:type|[[Binary]]}}<nowiki/>
|games=The Incredibles<br>Rise of the Underminer}}
{{#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. The amount of verticies start at 0x14.
'''WIRE''' defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles. The amount of verticies start at 0x14.
Line 28: Line 34:


{{Assets}}
{{Assets}}
{{AutoGameNavs}}


[[Category:Asset]]
[[Category:Asset]]

Revision as of 00:22, 26 May 2021

WIRE
Wireframe
TypeBinary
Games usedThe Incredibles
Rise of the Underminer

WIRE defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles. The amount of verticies start at 0x14.

Format

struct WireframeData
{
    unsigned int totalFileSize;
    unsigned int vertexAmount;
    unsigned int lineAmount;
    unsigned int hashID;
    unsigned int hashID2;
    Vector3[vertexAmount] vertices;
    Line[lineAmount] lines
};
struct Line
{
    unsigned short vertex0;
    unsigned short vertex1;
};