P3D Lod Sections: Difference between revisions
Categories: BIS File FormatsArmA: File Formats
No edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
ulong FaceIndexBounds[2]; // lower vs upper (NoOfFaces in this section = (FaceUpperIndex - FaceLowerIndex) / 8 | ulong FaceIndexBounds[2]; // lower vs upper (NoOfFaces in this section = (FaceUpperIndex - FaceLowerIndex) / 8 | ||
ulong MaterialIndexBounds[2]; // ODOLV4x only | ulong MaterialIndexBounds[2]; // ODOLV4x only | ||
ulong | ulong FaceUserValue; // see [[P3D Point and Face Flags]] | ||
short TextureIndex; // as per Face struct | short TextureIndex; // as per Face struct | ||
ulong FaceFlags; // as per Face struct | ulong FaceFlags; // see [[P3D Point and Face Flags]] as per Face struct | ||
///////// // ODOLV4x only////// | ///////// // ODOLV4x only////// | ||
long MaterialIndex; | long MaterialIndex; | ||
| Line 18: | Line 18: | ||
float UnknownResolution; | float UnknownResolution; | ||
float UnknownResolution2; // generally 1000.0 | float UnknownResolution2; // generally 1000.0 | ||
//////////////////////////////// | |||
} | } | ||
a Material or Texture index with default value (-1) has no face/material associated with itand consequently the bounds are zero | a Material or Texture index with default value (-1) has no face/material associated with itand consequently the bounds are zero | ||
Revision as of 05:45, 15 May 2010
LodSection
LodSection
{
ulong FaceIndexBounds[2]; // lower vs upper (NoOfFaces in this section = (FaceUpperIndex - FaceLowerIndex) / 8
ulong MaterialIndexBounds[2]; // ODOLV4x only
ulong FaceUserValue; // see P3D Point and Face Flags
short TextureIndex; // as per Face struct
ulong FaceFlags; // see P3D Point and Face Flags as per Face struct
///////// // ODOLV4x only//////
long MaterialIndex;
if MaterialIndex ==-1
{
byte ExtraByte;
}
ulong UnknowLong; // generally 2
float UnknownResolution;
float UnknownResolution2; // generally 1000.0
////////////////////////////////
}
a Material or Texture index with default value (-1) has no face/material associated with itand consequently the bounds are zero