Mapbox DOOM

Date: March 9, 2024
Technology: Mapbox GL JS
Fun Fact: I'm not sure it's currently possible to directly swap out terrain tiles in Mapbox GL JS, or destroy the terrain tile cache, so new tiles don't always appear nicely.

Using vizDoom, I played a short game of DOOM, which outputs screen and depth images during play. Then, using method outlined in Augmenting Mapbox Terrain blog post and gdal2tiles, created terrarium-encoded elevation tiles from each depth image. Finally, overlaid and sync screen images and depth tiles on map.

Demo

Screen

Depth