#1486

Add OSM pedestrian and public-area lighting and live lamp brightness controls

OpenMaverick568wants to merge intofrom

Adds independently configurable OSM lighting on dev. It shares its ground-path geometry with #1362, which introduces the standalone path surfaces and residential driveways.

  • OSM Pedestrian and Recreational Lighting places lamps along explicitly lit pedestrian and cycle routes and supported public-area perimeters. Strict OSM Lighting separately controls road-light inference. Mapped lamps take priority. Merged ways retain their source-specific lighting ranges.
  • Waterfront path lights can use the dry lakeside verge. Roadside mapped lamps can face the adjacent carriageway when a parallel path is closer. On cached Szkolna geometry in Charzykowy, 14 of 14 mapped lamp arms faced the street.
  • Graphics includes independent live intensity, glow and beam width controls. Optional half density lowers the active street spotlight budget immediately and reduces generated lamp assemblies after a world server restart.
  • Both builders reuse existing models. Runtime selection skips lamp tiles outside the current distance cutoff. The server skips additional orientation checks on mapped lamps already aimed at the road.

Validation on the Windows integration build included 280 server tests and 1,061 Lua assertions. In a LuaJIT benchmark with 15,000 lenses and 128 active spots, median CPU time for one nearest-light query went from 0.230 to 0.105 ms across nine runs with matching coordinate checksums. Real-game frame times, exposure and visual comparison at all five brightness levels remain pending. See docs/osm-outdoor-lighting.md for the validation procedure.