ShitboxInfinity/levels/albert_parklands
m3ultra 65da434678 Real terrain: DEM elevation under every level
tools/fetch_dem.py pulls the open AWS terrarium elevation tiles for each
level's bbox (derived from the OSM geometry itself -- the fetch bboxes were
never recorded) and writes an f32 heightmap. The builder bilinear-samples it:
roads/footpaths/crossings drape (subdivided to ~8 m so long OSM segments stop
chording across curved ground), buildings lift rigidly to the lowest terrain
under their footprint with a 2 m foundation skirt, trees/props/planters ride
their own base heights, and the flat ground slab becomes a real terrain mesh.
Bridges get an explicit deck profile (lerp between end heights plus a hump)
instead of draping down into the river, the truss follows the deck, and the
Bradfield Highway now genuinely flies over Kemp Place -- the game has an
underpass. Kangaroo Point's cliffs are an actual 20 m drop, Edward Street
climbs to 55 m at Spring Hill.

Junction events bake spawn/convoy heights (osm_junction.py grew a pure-python
DEM sampler); the game respects marker heights everywhere it used to hardcode
ground=0.

Bugs the terrain surfaced, all found by measurement:
- Long road segments chorded across curved ground: the car visually sank to
  its windows mid-block. Fixed by subdividing draped ribbons.
- The 9 m terrain grid aliases cliff edges and bulged metres ABOVE the finely
  draped roads: a car spawning there was inside the terrain sheet and got
  depenetrated through the floor into the void (y = -710). Fixed by giving
  roads real collision and carving the terrain grid down wherever a draped
  road sample lands (11k+ carve samples on Kangaroo Point alone).
- The junction validator and tuner drove throttle-only, which cross-slope
  drift turned into 40-86 m misses; they now hold aim like a player would.
- Edward x Elizabeth launched down a 17% grade, went airborne at the crest
  and wedged off-street: unwinnable geometry, not a bug. Swapped for
  Elizabeth x George on the flat lower CBD. All 9 junctions validate.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 15:08:42 +10:00
..
junctions.json Real terrain: DEM elevation under every level 2026-07-30 15:08:42 +10:00
level_asphalt_red.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_asphalt_red.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_asphalt.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_asphalt.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_awning_cream.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_awning_cream.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_awning_green.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_awning_green.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_awning_grey.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_awning_grey.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_bark.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_bark.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_billboard_ad2.jpg Scenery v4: traffic signals, power lines, local FLUX fallback 2026-07-28 17:21:35 +10:00
level_billboard_ad2.jpg.import Scenery v4: traffic signals, power lines, local FLUX fallback 2026-07-28 17:21:35 +10:00
level_billboard_ad3.jpg Scenery v4: traffic signals, power lines, local FLUX fallback 2026-07-28 17:21:35 +10:00
level_billboard_ad3.jpg.import Scenery v4: traffic signals, power lines, local FLUX fallback 2026-07-28 17:21:35 +10:00
level_billboard_ad.jpg Scenery v4: traffic signals, power lines, local FLUX fallback 2026-07-28 17:21:35 +10:00
level_billboard_ad.jpg.import Scenery v4: traffic signals, power lines, local FLUX fallback 2026-07-28 17:21:35 +10:00
level_concrete_ground.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_concrete_ground.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_corrugated_iron.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_corrugated_iron.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_facade_brick.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_brick.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_concrete.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_concrete.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_deco.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_facade_deco.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_facade_glass2.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_facade_glass2.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_facade_glass.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_glass.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_heritage.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_facade_heritage.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_foliage_jacaranda.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_foliage_jacaranda.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_foliage.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_foliage.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_footpath.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_footpath.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_grass.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_grass.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_pavers.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_pavers.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_planter.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_planter.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_roof_deck.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_roof_deck.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_sandstone.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_sandstone.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_shopfront.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_shopfront.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_signage_strip.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_signage_strip.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_water.jpg Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_water.jpg.import Scenery overhaul: real OSM street furniture, FLUX texture set v2, lighting pass 2026-07-28 14:13:29 +10:00
level_weatherboard.jpg Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level_weatherboard.jpg.import Scenery v3: smashable street life, Brisbane colour, Southbank landmarks 2026-07-28 16:42:14 +10:00
level.glb Real terrain: DEM elevation under every level 2026-07-30 15:08:42 +10:00
level.glb.import Real terrain: DEM elevation under every level 2026-07-30 15:08:42 +10:00