{"name":"P3D Lod Edges","title":"P3D Lod Edges","type":"topic","url":"https://community.bistudio.com/wiki/P3D_Lod_Edges","revid":373414,"updated":"2025-05-08T11:27:11Z","aliases":[],"markdown":"> **Disclaimer: This page describes internal undocumented structures of Bohemia Interactive software.**\n>\n> This page contains unofficial information.\n>\n> Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.\n> Bohemia Interactive is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products.\n\n## LodEdges\n\n```\nstruct\n{\n   LodEdge   LodEdge1;  //MlodIndex\n   LodEdge   LodEdge2;  //VertexIndex same Count as any of the VertexTable.Counts (odol7)\n}\n```\n\n### LodEdge\n\n```\nCompressedArray\n{\n ulong   nEdges; //always zero for type 53&54 dayz o3ds\n ushort  Edges[nEdges];\n};\n```\n\nEvery vertex in the vertaxtable is owned only by 1 face.\n\nThese tables are used to join vertices. Each face has got 3 (or 4) vertices that are unique for each face\n\nFor each VertexIndex there is a lookup into the MlodIndex\n\n```\nMLODvertexindex = MlodIndex[VertexIndex[Count]];\n```\n\nNote that compression has not been seen in arma. (not large enough)\n\nRelated:\n\nModel File Formats","sections":[{"heading":null,"level":1,"markdown":"> **Disclaimer: This page describes internal undocumented structures of Bohemia Interactive software.**\n>\n> This page contains unofficial information.\n>\n> Some usage of this information may constitute a violation of the rights of Bohemia Interactive and is in no way endorsed or recommended by Bohemia Interactive.\n> Bohemia Interactive is not willing to tolerate use of such tools if it contravenes any general licenses granted to end users of this community wiki or BI products."},{"heading":"LodEdges","level":2,"markdown":"```\nstruct\n{\n   LodEdge   LodEdge1;  //MlodIndex\n   LodEdge   LodEdge2;  //VertexIndex same Count as any of the VertexTable.Counts (odol7)\n}\n```"},{"heading":"LodEdge","level":3,"markdown":"```\nCompressedArray\n{\n ulong   nEdges; //always zero for type 53&54 dayz o3ds\n ushort  Edges[nEdges];\n};\n```\n\nEvery vertex in the vertaxtable is owned only by 1 face.\n\nThese tables are used to join vertices. Each face has got 3 (or 4) vertices that are unique for each face\n\nFor each VertexIndex there is a lookup into the MlodIndex\n\n```\nMLODvertexindex = MlodIndex[VertexIndex[Count]];\n```\n\nNote that compression has not been seen in arma. (not large enough)\n\nRelated:\n\nModel File Formats"}],"categories":["ArmA: Armed Assault: File Formats","Real Virtuality File Formats"],"groups":["Tools and File Formats"]}