Skip to content

Mesh LOD levels

AnvilGeometryApplies toRR

A LODSelector holds five descriptors selecting meshes as viewing distance changes. Grass can instead store three LOD ranges inside one mesh, so a primitive range is not always a different surface material. Observed

Every one of the 48,862 stored selector entries parses to the body’s exact end with variable-length descriptors. Counts include base and patch copies. Proven

LODDescriptorvariable81% known

Little-endian; 48 + 4n bytes, including object identity and class.

ProvenObservedSourcedInferredUnknownNot described
OffsetSizeTypeFieldConfidenceNotes
0x08u64object identityProven
0x84u32 = 0xA360319ALODDescriptor classProven
0xC10referencemesh referenceProven
0x164f32SwitchDistanceProven
0x1A4f32TransitionZoneSizeProven
0x1E4f32FadeTimeMultiplierProven
0x225bytesstored flagsUnknownretained; meanings not established here
0x274u32stored wordUnknownretained without a runtime interpretation
0x2B4u32list count nProven
0x2F4nu32[]stored listUnknownlength established; element meaning unresolved
47 + 4n1u8final byteUnknownretained without interpretation

The body starts with byte 1, a u32 and seven bytes, then the five descriptors. It ends with a dependency count d, d pairs of zero byte and u64 identity, d again, d u32 values and six bytes. Proven · all stored selectors

For 24,430 selectors resolved by identity with patch copies replacing base copies, the dependency count equals the number of leading descriptors without a direct mesh reference. Each of the 19,623 dependencies resolves to a mesh ending _LODi for its level i. A null direct reference therefore does not establish an absent LOD. Proven · identity-resolved selector census

All 46 grass models associate three mesh ranges with the same material and carry a separate model LOD table. Typical stored switch-distance triples are 5/10/20, 10/20/40 and 20/40/80; interpreting these as metres follows their field names and values. Proven · all 46 grass models Inferred · distance units

How do intra-mesh ranges and selector descriptors interact?

The stored partitions and grass distance tables are readable; a universal runtime rule for selecting ranges within every mesh family is not established. Unknown