Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Export heuristics

Exported values whose true value depends on runtime game state or on what a record means to a player. The export gives the static value or an approximation.

Book export

Shape in Book export JSON format.

FieldCodeWhy
valueThe static base priceThe sale price depends on Speech, perks and factions at runtime
content when DESC is blank and menuArtFormId is setA generated placeholder, contentIsPlaceholder: trueThe book’s content is the art
BookLocation.source container, npc, vendorReachability, not a guaranteeLeveled lists are rolled at runtime
isPersistentThe record’s Persistent flag, read as “possibly quest-related”The flag is also set on other always-loaded references
hasScriptSet when a VMAD is presentA heuristic: a script doesn’t say what it does to the book
level, count on a leveled list entryOnly for a direct LVLO entry, else nullA nested chain has no single level or count

How hasScript merges across overrides is in Rule of One merge.

Tests: BookReachabilityTests, LocationMergerLeveledListTests.

Worldspace maps

What the map layers draw, see Worldspace maps.

Map shading

With --hillshade, every lit pixel of a map, ground, terrain LOD tile, object face or grass tuft, is multiplied by one factor (MapShading.Factor), in one pass, the lighting layer:

factor = clamp(1 + k (N·L - Lz) + cartographic, 0.55, 1.35)

N is the unit normal of what the pixel shows, L the direction toward the light and Lz its height, so flat ground keeps its color under every light. cartographic holds the terms that don’t come from the normal: on the raster-records ground and on what stands on it, the broad relief and curvature of the surface (see Hillshade); everywhere, the contact occlusion. The bounds apply to the sum.

ValueCodeWhyBasis
k = 0.8, the same for every surfaceMapShading.ContrastA slope reads the same on the ground, on a LOD tile and on an object: a road piece laid on a slope blends into itDesign
Factor between 0.55 and 1.35MapShading.MinShade, MapShading.MaxShadeA slope facing away keeps its color readable; under a low sun a whole mountain side reaches the upper bound instead of turning whiteDesign
Without --hillshade, nothing is shadedMapOptions.Lighting nullThe option is the map’s light: without it, the map shows the colors aloneDesign
An object’s normal map keeps half its tilt: red and green times 0.5, blue as it isMapShading.NormalMapStrengthUnder this formula, a vertical view shows the whole tilt on pieces that repeat across the map: at full strength Road01_n and Dirt02_N (mean tilt 25 to 30 degrees) turn cobbles and dirt lumpy and hide the stones their diffuses already paint. A slope cap doesn’t help: under 3% of their texels pass 60 degreesDesign, checked on Riverwood’s street and on the road zones
An object’s N facing down, a face’s or a vertex normal blended over it, is turned upFaceLighting.ShadeOf, FaceLighting.UpNormal, FaceShaderSeen from above, a ceiling or a face wound the other way shows its upper side; lit from below it would sit at the lower boundDesign
A grass tuft takes the ground’s N and cartographic, its color times 0.8, and leaves the surface at the ground’s heightGrassTufts.SelfShadow, ObjectDrawOptions.GroundCoverA tuft is a cover of the ground: lit by its blades’ own normals, a meadow would read as noise over the relief; standing on the surface, each tuft would darken the ground around it by contactDesign
An effect face and a wireframe edge aren’t litFaceShader, ObjectTarget.PaintAn effect shader isn’t lit in the game; an edge is a drawn line, not a surfaceDesign
A blended face is lit as it is drawn, without cartographicFaceShaderIt mixes over what lies under it and can’t leave a normal for the passDesign

On an object, N is the vertex normals blended over the face, as the game lights a model; a shape without normals takes its face’s.

The game lights a surface by N·L plus its ambient and does not keep flat ground at its diffuse color: the formula is a map convention, not the engine’s.

Tests: ObjectRasterizerTests.TiltedFace_IsShadedLikeALodTileOfTheSameSlope, ObjectRasterizerTests.VertexNormalFacingDown_IsLitAsItsUpperSide, ObjectsLayerTests.WithoutHillshade_FacesAreUnshaded, ObjectsLayerTests.OpaqueEffectFace_IsNotLit, ObjectRasterizerTests.NormalMapTexel_TiltsTheSurface, LandscapeBackgroundTests.OpenAsync_TuftsWithoutHillshade_AreUnshaded, GrassTuftsTests.Draw_KeepsTheGroundsSurfaceAndNormals, MapRegionRendererTests.ObjectLyingOnASlope_IsLitLikeTheSlope.

Contact occlusion

Seen from above, a wall or a cliff has almost no pixels: without a shade at its foot, only its top’s color tells it from the ground. The game gets that shade from ambient occlusion. The lighting layer measures, for each lit pixel, the sky its surface doesn’t see within a small radius (ContactOcclusion), on the region’s surface:

  1. In 8 directions, at 4 distances up to the radius, rounded to the nearest pixel, it reads how high the surface rises above the pixel’s tangent plane, the plane through the pixel with its normal.
  2. The highest angle of each direction gives its sine; the term is the weight times their mean, negative, added to cartographic.

Above the tangent plane, a plane, a slope or a ridge hides no sky and keeps its light; a hollow, a wall’s foot or the gap between two rocks darkens. A sample past the map’s edge or without a surface hides nothing.

ValueCodeWhyBasis
Radius 64 units, 4 distances, 8 directionsContactOcclusion.RadiusUnits, Steps, DirectionsA shade at a wall’s foot, not across the street: a few pixels from 256 pixels per cell up. Below 64 pixels per cell the radius is under a pixel and the term vanishesDesign
Weight 0.35ContactOcclusion.WeightA pixel at the foot of a tall wall, three directions of eight hidden, darkens by about 0.13: a shade that reads without hiding the groundDesign
Measured above the tangent planeContactOcclusion.TermMeasured above the horizontal, every slope would darken by the ground uphillDesign
A sample without a surface or past the map’s edge hides nothingContactOcclusion.TermCounted at the pixel’s height, a slope at the map’s edge would darken or lighten by a band of the radiusDesign

The radius is in world units, so the map is the same however it is cut: a region is drawn that many pixels wider (ContactOcclusion.MarginPixels). The faces of a decal, a layer laid over a rock or a mountain, raise the surface like any face, unless they lie on what the pixel shows, see Decals.

Tests: ContactOcclusionTests.Term_DarkensOnlyWhereTheSurfaceRisesAboveTheTangentPlane, MapRegionRendererTests.WallFoot_IsDarkenedByContact, MapRegionRendererTests.LitMap_IsTheSameHoweverItIsCut.

Surface relief

Mountains, cliffs and large rocks are meshes over the LAND: measured on the LAND alone, the broad relief and the curvature (see Hillshade) ignore them, and an object takes the relief of the ground hidden under it. With --objects on the raster-records background, the objects layer measures both terms on the surface instead (SurfaceRelief) and writes them over the background’s, interpolated as the ground’s are.

ValueCodeWhyBasis
At each VHGT vertex, every 128 units, aligned on the cellsSurfaceRelief, WorldSampleGrid with phase 0The terms keep the vertex grid they are tuned on; where no object stands, the relief is the ground’s, to the bitDesign
The LAND raised to the highest face that faces up over the vertexObjectHeightSampler.SampleTopFrontThe underside of an overhang or a ceiling faces down: it is no ground, see Face windingDesign
What the faces add over the LAND is averaged over the 5 by 5 vertices around each vertex (640 units)SurfaceRelief.SmoothRadiusUnsmoothed, a plant, a rock or a roof covering one or two vertices is a bump that the curvature lights up and rings with dark ground: a mottle at 128 units. Averaged, a small object barely raises the surface and a mountain keeps its shapeDesign
No fade above the groundSurfaceReliefA mesh mountain stands far above its LAND; a fade by height would leave it outDesign
The LAND alone in the cells the levels cutSurfaceRelief.ForEach level shows other faces there, and every level shares one reliefDesign
Not over the terrain LODObjectsRunThe lod background has no relief of its own to joinDesign
Not in wireframeObjectsRun.ReliefOfEdges are no surface: they would raise the relief where the map shows only linesDesign

The terms are measured once per map, so the map is the same however it is cut. The grid reads the objects past the map’s edge as far as the broad relief reads. The average spreads a mesh’s edge over 256 units on each side: the ground at a cliff’s foot takes some of its height, and a building still brightens its block a little.

Tests: MapRegionRendererTests.MeshMountain_EntersTheBroadRelief, MapRegionRendererTests.MeshPlateau_GivesTheGroundTheReliefOfTheSameLand, MapRegionRendererTests.DownFacingFace_AddsNoRelief, MapRegionRendererTests.ReliefWithoutObjectsAbove_IsTheGroundRelief, MapRegionRendererTests.CutLevel_LightsTheGroundUnderTheRoof, ObjectHeightSamplerTests.SampleTopFront_OnVertices_SamplesAtTheMultiplesOfTheUnits.

Cast shadows

The shadows of --hillshade are no reading of the game’s shadow maps: the map has one light and no camera, and rays from every pixel would need a margin as long as a mountain’s shadow around every region. The shadow is measured once per map on the heights at the VHGT vertices (CastShadows), which depend on nothing but the map, then interpolated with the relief.

ValueCodeWhyBasis
Vertices swept line by line from the light’s side, along the axis nearest itCastShadows.SweepEach vertex costs one step, whatever the height of the mountains, and the map needs no marginDesign
A vertex’s top is its height or the top of the vertex toward the light, less the ray’s fallCastShadows.SweepA step between two vertices of the line reads both, so a light off the axes softens with distance, a penumbraDesign
Fully in shadow 256 units under the ray, from 0 at the rayCastShadows.SoftnessTwo vertices: a smooth edge at the lattice’s scaleDesign
Weight 0.3, a term added to the cartographic onesCastShadows.WeightClearly read on flat ground at any hour, 0.7 of its light, without reaching the map’s lower bound on a slope away from the lightDesign
Not scaled by the pixel’s normalLandscapeHillshade.ReadVertexThe term joins the broad relief’s channel: no new plane or channel. A slope already turned from the light darkens twice, up to the boundDesign
No shadow from outside the map’s cellsCastShadows.OverThe map reads no height past themDesign

Tests: CastShadowsTests, MapRegionRendererTests.Relief_CastsAShadowAwayFromTheLight, MapRegionRendererTests.LitMap_IsTheSameHoweverItIsCut.

Decals

The game draws a decal shape with a depth bias over what it lies on. The map keeps the highest face at each pixel, with no such bias: drawn as any face, a layer a little over a rock would raise the surface, and a layer a hair under it or level with it wouldn’t show.

ValueCodeWhyBasis
Drawn after the opaque faces of the bandDecalPassWhat it lies on must be there, whichever object comes firstDesign
It lies on what the pixel shows up to 16 units over itObjectTarget.DecalLiftHalf the ground tolerance, a layer’s thickness on a rock. Farther over, it is any faceDesign
It shows up to 1 unit under what the pixel showsObjectTarget.DecalBiasThe game’s bias is a hair. At 16 units, as over it, the layers buried under a fort’s paving come through itVanilla
Lying, it paints its color and its own normal, and raises no surfaceObjectTarget.PaintOverThe game’s shader lights a decal by its own normal map: a paved floor is a decal, and keeps its relief. It leaves no step for the contact occlusionLighting.hlsl, vanilla
The surface relief still counts its facesSurfaceRelief16 units over 640 of averaging changes nothing that showsDesign
A blended decal stays with the blended shapesShapeMaterialsIt already neither raises the surface nor writes a normalDesign

Tests: ObjectRasterizerTests.FlatDecal_ShowsOverWhatItLiesOnWhicheverIsFirst, MapRegionRendererTests.FlatDecal_RaisesNoSurfaceAndKeepsItsOwnLight.

Map objects

The roads pick their pieces by record type and model folder (MapObjectClassifier). Paths are compared without case, with either slash and with or without a leading meshes\. The objects layer draws every placed model but what the rules below leave out (ObjectInstances.Exclusion, ObjectModel.From).

RuleCodeWhyBasis
Road piece: a STAT whose model is under landscape\roads\MapObjectClassifier.IsRoadThe navmesh “Preferred” bit covers only part of a mod’s roadsVanilla data: 5,498 such references on Tamriel; on Vominheim 468 references to vanilla road pieces fill the gaps of its 3,776 preferred triangles
A reference whose base has the Is Marker header flag isn’t drawnObjectExclusion.MarkerEditor markers aren’t seen in gameVanilla data: 14,527 references on Tamriel
A reference with XPRM isn’t drawnObjectExclusion.PrimitiveA primitive is a trigger, a room bound or a collision plane, never seenVanilla data: 1,495 references on Tamriel
A reference hidden from the local map isn’t drawnObjectExclusion.HiddenFromLocalMapThe game leaves it out of its own map seen from above: cave ceilings, ship decksVanilla data, see reference header flags
A shape without a shader property isn’t drawnObjectModel.FromEvery one placed is a helper the game doesn’t render: water current planes, collision copies, particle emitter meshes, animation bonesVanilla data: 4,876 placed shapes on vanilla worldspaces besides the hidden ones, see below
An effect shape whose Soft Falloff Depth is 1,024 or more isn’t drawnObjectModel.SoftFalloffDepthLimitIt fades over a quarter of a cell or more: built to be seen from afar, it hides the ground from aboveVanilla data: placed, only the clouds (sky\*cloud*, 2,048) and an effect of the Ideal Masters’ crystal; every other effect is at 512 or less
A shape whose shader is a BSWaterShaderProperty isn’t painted: the water layer tints what lies under itWaterWriter, WaterLayerIt is a water surface, and the shader holds no color: tinted as a cell’s water, it reads as the water around itVanilla data: 302 placed shapes, water planes, troughs, streams and puddles
An object shows only above the terrain, less 32 unitsObjectRasterizer.GroundToleranceRoad pieces and floors follow the LAND only roughly; a buried rock shows only what rises above the groundVanilla data: 5.3 % of the vertices of Tamriel’s 5,500 road pieces lie more than 32 units under the bilinear terrain, see Surface
In texture mode, a face reads the mip level of its least stretched pixel axis, or of its most stretched one over 16MipSelection.MaxAnisotropyA GPU with 16x anisotropic filtering, the most Direct3D 11 allows, does so; picked from the most stretched axis alone, a steep alpha-tested card reads a level where its alpha has averaged out and vanishesDesign: on WhiterunWorld at 256 pixels per cell, the Gildergreen keeps more of its leaves
In texture mode, a texture is read at the side its shapes’ average repeats per unit askTextureSides.SideForThe densest triangle of an atlas would read most textures wholeDesign: a part mapped finer than the average is drawn blurred
A blended shape is mixed over the image after the water layer, and doesn’t raise the surfaceBlendedObjectsLayer, BlendedWriterMixed before, a waterfall body over a deep pool would take the deep water’s tint; the water still tints the ground seen through itDesign: Markarth’s waterfalls, MapLayersTests.From_BlendedObjectsMixOverTheWater
A shape’s vertex colors multiply its toned color, before the map’s light shades itFaceShaderThe tone matches the objects to the terrain’s colors; the vertex colors then darken them as the game’s diffuseDesign: White River falls, Tamriel

A road piece without OBND is not drawn: nothing says how large it is.

Tests: RoadsLayerTests, ObjectSceneTests, ObjectsLayerTests, ObjectRasterizerTests, MapLayersTests.

Road pieces

A road piece’s OBND box holds the road and its shoulders, and a curve fills only part of its box. Painted whole, the boxes draw a wide road with steps where two pieces meet at an angle. RoadPieceStroke draws each piece as a stroke instead:

PartRuleWhyBasis
AxisThe box’s local Y axis, through the middle of its X extentThe road runs along Y in the road meshesVanilla data: the strokes follow the preferred navmesh triangles of Tamriel
WidthHalf the box’s X extentThe shoulders blend into the terrainDesign: chosen by eye on Tamriel
EndsA half disc on each Y edge of the box, of the stroke’s half widthThe next piece starts at that edge: two turned pieces meet without a notchDesign

A curve is drawn as the straight stroke through its box, so a sharp curve cuts its corner. The road mesh would give the exact shape; the exporter does not read NIF road meshes.

Tests: RoadsLayerTests.

Disabled references

The maps show the world as the game starts.

ReferenceCodeWhyBasis
“Initially Disabled” flag (0x800) set on the last versionLeft offIt appears only through a script or a quest; a mod also “removes” a vanilla reference by disabling itDesign
“Initially Disabled” on a map marker’s last version, with --markersListed, disabled setA quest enables it later, such as the Dark Brotherhood Sanctuary: a viewer can still show it, and the flag says soDesign
“Initially Disabled” on a book’s last version, with --markers=booksListed, disabled setLike a map marker: a script can enable it, and a viewer shows it fainterDesign
XESP enable parentNot read: the reference’s own flag decidesFollowing the parent would need its record and the “opposite” flagUnverified: a reference whose state at the start comes from its parent would be missing or extra
Deleted last versionLeft offThe record is removedDesign

A persistent reference sits in its worldspace’s persistent cell, not in the cell under it: the maps place it by its DATA position, like any other.

Tests: WorldspacePlacementsTests, WorldspaceMapQueryPathsAndPlacementsTests, WorldspaceMarkersTests, WorldspaceBooksTests.

Grass

--grass tints the ground of raster-records with the grass its textures grow, see Grass. From 512 pixels per cell, it scatters the grass models’ tufts instead, see Grass tufts. The engine’s placement of grass is not documented: the tufts follow the same data, placed the map’s own way, not where the game puts them.

ValueCodeWhyBasis
A grass’s color: the alpha-weighted mean of its model’s diffuse textures, the shapes weighted by triangle countGrassPaletteThe tufts’ look from above; the alpha leaves out the transparent part of a blade cardVanilla data: 30 of the 31 GRAS get a color
Coverage: the sum of the densities of the grasses that grow at the slope, over 100, at most 1GrassCover.AtSeveral grasses on one texture cover more ground than oneDesign: the engine’s placement is not documented
Grass color of a texture: its grasses’ colors weighted by densityGrassCover.AtA denser grass covers more of the groundDesign
The texture’s color moves toward its grass color by coverage x 0.6GrassCover.StrengthFull grass still lets the ground through between the tuftsDesign: a style choice, to tune from side-by-side maps
Slope at a vertex: from the vertex on each side, on both axesLandscapeHeightField.SlopeDegreesThe same slope the hillshade’s fine term readsDesign
A worldspace with WRLD DATA No Grass: no grass on its map, its parent’s cells under --parent-lod includedLandscapeBackground.OpenAsyncThe map shows the child as it looks in gameVanilla data: 4 of the 45 maps, among them WhiterunWorld
From 512 pixels per cell, tufts instead of the tintLandscapeOptions.TuftPixelsPerCellA tuft is about 8 pixels wide there; smaller, it reads as noiseDesign: a style choice, from side-by-side maps
A tuft may grow every 32 units on both axes, moved within its square by a hashGrassTufts.SpacingDense enough to cover a meadow, and no grid showsDesign: the engine’s spacing is an INI setting, not plugin data
A place holds a grass with the chance of the texture weights there times the grass’s density over 100, where its slope range holds the slope, bilinear between verticesGrassTufts.InThe tint’s coverage, place by place; the bilinear chance softens the slope gateDesign
Each tuft turns at random about its vertical axis and scales by 0.8 to 1.2; it stands upright on the bilinear VHGT heightGrassTufts.MinScale, MaxScaleBreaks the repetition of one modelDesign: DATA height range and Fit to Slope aren’t read
A tuft’s place, turn and scale come from a hash of its place and its GRAS FormIdGrassTufts.SeedOfEvery region and run draws the same tufts; a grass added by a mod leaves the others’ tufts where they wereDesign
The ground under the tufts keeps its own color, without the tintLandscapeBackground.OpenAsyncThe tufts show the grass; tinting under them would count it twiceDesign
A tuft’s pixels take the ground’s normal and VHGT relief, and a factor of 0.8GrassTufts.SelfShadowThe relief stays readable under a meadow; the factor stands for the blades’ shade on one anotherDesign: a style choice

Tests: GrassCoverTests, GrassPaletteTests, GrassTuftsTests, LandscapeRasterizerTests, LandscapeBackgroundTests, ObjectRasterizerTests.

Lights

--lights draws a glow around each placed LIGH, see Lights. The game lights the surfaces around a light; the map paints the light’s reach seen from above.

ValueCodeWhyBasis
Strength: (1 - d)², d the distance over the radius, 1 at the lightLightsLayer.PaintMost of a light’s effect is near it; Falloff Exponent isn’t readDesign: a style choice, to tune from side-by-side maps
Blending: screen, 1 - (1 - map) x (1 - color x strength)LightsLayer.ScreenIt only lightens, so the same layer barely shows by day and stands out at nightDesign
A light shows only where the surface stays within 32 units above it, at its pixel and at each pixel of its glowLightCoverThe map has one height per pixel: what rises above a light covers it, a roof or a ceiling hides itDesign: an overhang hides the light under it, see Lights
A blended face above a light dims it by its destination factor, 1 - alpha when it blends over; the least of the light’s pixel and the glow’s pixel countsLightCover, BlendedSurfaces.ThroughA translucent shape lets through what it keeps of what lies under it, as it does for the colorsDesign
Placed after the night tintMapLayers.FromThe night darkens the world, not its lightsDesign

Tests: LightsLayerTests, MapLayersTests, MapRegionRendererTests.

Map levels

The levels of a map show the floors one above another. The exporter reads the walkable floors from the navmesh, see navmesh triangle flags, and lists them per square of the ground (FloorField).

RuleCodeWhyBasis
A sample is a 32-unit square aligned on multiples of 32 in world units; it reads the navmesh at its center, edges includedFloorField.SampleUnitsA pixel’s floor comes from world coordinates, so every region and run reads the same floorDesign: one sample is one pixel at 128 pixels per cell
A sample’s heights, highest first, start a new floor where the next lies more than 128 units lower; a floor stands at its highestFloorField.FloorGapAn actor is about 128 units tall: closer floors can’t both hold one, so they are a slope or a step of one floorDesign
A sample keeps at most 6 floors, the highestFloorField.MaxFloorsBounds the memory per sampleVanilla data: the interiors and worldspaces measured hold at most 3
A sample without navmesh takes the ground height at its center as its only floorFloorField.BuildOutside the navmesh, a worldspace’s floor is its LANDDesign
A sample with neither navmesh nor ground takes the floors of its nearest sample that has some, breadth-first, neighbours west, east, north, southFloorField.BuildObjects there still need a floor to be cut against; the fixed order gives the same floors on every runDesign: the nearest floor is a guess where nothing walks

In a worldspace, the levels apply only to the cells whose floor lies under a vault (VaultMap): a cave ceiling seen from inside is the back of its faces. The vault map reads the scene and the navmesh on its own 128-unit grid, once per map.

RuleCodeWhyBasis
A navmesh sample is under a vault when a face rises more than 512 units over its top floor and no face up does, see face windingVaultMap.ClearanceA bridge or a roof shows its top face from above; a cave shows only the back of its ceilingVanilla data: Blackreach’s floor lies 86 % under a vault, Tamriel’s 0.2 %
A cell is cut when 5 % of its navmesh samples are under a vault, and it has at least 32 such samplesVaultMap.CellShare, MinCellSamplesA stray overhang in an open cell doesn’t cut itVanilla data: Solitude and Markarth cut no cell; DLC1AncestorsGladeWorld keeps its open glade and cuts 4 of its 9 cells. Tamriel cuts 5 of its 5,644 cells, where navmesh runs under rock: their 5.7 % to 10.7 % overlap the cave cells cut at 7.1 % to 10.7 %, so no share leaves them out. DLC2SolstheimWorld cuts 8 of 918 cells, 9 % to 45 % under a dome over open ground, see Levels
Every cell is cut when 25 % of the worldspace’s navmesh samples are under a vaultVaultMap.WorldspaceShareAn underground worldspace has cells whose vault the per-cell rule missesVanilla data: at 50 %, one of BlindCliffCaveWorld’s three cells (38 % under a vault) stayed uncut
Vault samples are 128-unit squares aligned on multiples of 128VaultMap.SampleUnitsThe decision is per cell: a coarser grid is enough, and a cell holds a whole number of samplesDesign

A level shows, per sample, one of its floors, and the cut follows that floor. Level 0 shows the top floor. Each later level stands at an altitude, a stop of the slider: a sample shows its highest floor less than 64 units above that altitude, its lowest when every floor is higher (LevelStops). The exporter picks the stops where the slider reveals floor, walking down from the top.

RuleCodeWhyBasis
A sample moves from floor j to the next one below floor j - 64LevelStops.ToleranceA level standing just under a floor still shows it, as long as it lies within half an actor of itDesign
Candidate altitudes are grouped in 16-unit bins; a stop stands at its bin’s lower edgeLevelStops.AltitudeBinA sloped floor moves sample by sample: one candidate per bin, not per sample. The lower edge shows every floor change of its binDesign
A candidate becomes a stop when it shows 256 x 256 square units of floor that no higher level showed, counting only samples with navmesh of their ownLevelStops.MinRevealedAreaA landing or a step reveals too little to earn a levelVanilla data: 4 to 30 levels on Bleak Falls Barrow, Wolfskull Cave, Frostflow Lighthouse, the Hall of Attainment and Blackreach, where a share of changed pixels gives 1 level for a cave and 14 for a spiral stair
A stop less than 128 units under the previous one replaces itLevelStops.MergeWithinTwo stops closer than an actor’s height show nearly the same floorsVanilla data: Blackreach keeps 9 levels of 30, Dragonsreach one for its balconies at z 400 and 384. Equal to FloorField.FloorGap
Only samples where the levels apply give stopsLevelStops.PickOutside the cut, every level shows the top floorDesign
Where the levels apply, a face more than 160 units above the floor a level shows at a pixel is left out there, with its edges and its waterLevelCut.CutHeightKeeps what stands on the floor, drops the ceilingVanilla data: 128 to 192 keep the furniture and drop the ceilings of the interiors measured; 256 already fails on Breezehome
A marker shows on the levels whose floor at its sample is the floor nearest its DATA heightMapLevelSet.LevelsAtA marker stands on a floor; nothing in the record says whichDesign: a map marker stands a few units over its floor
A marker of a descendant worldspace that ONAM moves or scales shows on every levelMapMarkerCatalogIts height is in its own worldspace’s frame; the ONAM Z offset is not readDesign

Tests: FloorFieldTests, ObjectHeightSamplerTests, VaultMapTests, LevelStopsTests, ObjectRasterizerTests, ObjectsLayerTests, MapMarkerCatalogTests.