Verified the real GfxObj data shape against DatReaderWriter's generated types and WorldBuilder's ObjectMeshManager. Three corrections: - GfxObj.Surfaces is a list and Polygon.PosSurface indexes into it; multiple surfaces per GfxObj are the norm. GfxObjMesh.Build now returns IReadOnlyList<GfxObjSubMesh> — one sub-mesh per referenced surface. StaticMeshRenderer draws entities by grouping entities by GfxObj and then by sub-mesh within each GfxObj. Matches the approach WorldBuilder takes. - LandBlockInfo has both Objects (Stabs — small decorations, rocks, trees) AND Buildings (BuildingInfo). LandblockLoader loads both lists and maps them uniformly to WorldEntity since both types share the Frame shape. - Stab.Frame and BuildingInfo.Frame carry position+orientation only, no scale component. WorldEntity.Scale dropped. WorldEntitySnapshot loses its Scale field too. Phase 3+ can add it back if needed. Closes the one open design question flagged in the original doc. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| plans | ||