diff --git a/docs/ADDON_COMPAT.md b/docs/ADDON_COMPAT.md index 016059f2..64316be5 100644 --- a/docs/ADDON_COMPAT.md +++ b/docs/ADDON_COMPAT.md @@ -3061,3 +3061,30 @@ across the whole zone. The realm's own `.zmp` is authoritative about 128x128 over a continent — the largest zone on Azeroth owns 169 cells, about 13x13, which is a 28-px block on a 256 mask. Either route would be a guess dressed as art. The feather is not: it is the mask the addon already asks for. + +## Stormwind, Ironforge and Darnassus drew nothing at all + +The city branch declines to stitch a city with no traced outline, and says so by name: *"Stormwind +/ Ironforge / Darnassus have no mask — avoid hard boxes."* `MapCityMask/` ships three, for +Orgrimmar, Thunder Bluff and Undercity. So zooming into the Alliance capitals showed the zone's +own painting of them and never their own map. + +The worry is right and the remedy was already to hand. `PlaceBase` takes the outline and the edge +feather **in the same argument** — the city branch passes `MapCityMask\` as the `feather` — +so a city with no outline can go through the slot its outline would have used. A feather is the +answer to a hard box. The three capitals now draw, blended into their zone: captured at zoom 30, +Stormwind's districts, harbour and Valley of Heroes, feathered into Elwynn. + +### The traced outline was attempted and rejected, with a number + +A city mask is "where the sheet has content, not blank parchment", which separates far better than +sea-against-land does — and unlike that case there are **three shipped masks to validate +against**, which makes it a fitting problem rather than a guess. So it was fitted: local-contrast +detail, threshold, close at quarter scale, largest connected blob, holes filled, dilate, blur, +swept over threshold x closing x blur. + +The best it reached was **IoU 0.58** against the three traced masks, and the failure is not in the +number — it swallows the sheet's own torn frame and decorative corner, because a city sheet is +busy right out to its border where Orgrimmar's is mostly blank parchment. A 0.58 hull shipped as +if it were a trace would be a guess wearing an artist's clothes. The feather claims nothing it +cannot show.