Skip to content

feat(maps): Geometry Heightmap Exporter - #131

Open
Violevo wants to merge 9 commits into
h4lfheart:mainfrom
Violevo:geometry-heightmap-exporter
Open

Violevo wants to merge 9 commits into
h4lfheart:mainfrom
Violevo:geometry-heightmap-exporter

Conversation

@Violevo

@Violevo Violevo commented May 31, 2026

Copy link
Copy Markdown

Adds a Geometry Heightmap exporter to the Map view. The exporter collects selected world partition geometry, attempts to remove non-collision objects, then rasterizes it into a top-down 16-bit PNG heightmap. Includes optional terrain-bounds clipping, Spawn Island inclusion, terrain-only heightmap export, and a debug report output. Exported resolution options from 512 to 32768

Export Usage

  • Select the intended grid cells for the export.
  • Enable Inlude Main Level AFTER selecing the grid cells.
  • Keep Actors, Instanced & Foliage Actors, and Landscape enabled, with HLODs disabled.
  • Configure Bounds, Spawn, Terrain, and Report, then hit Generate.
  • The resultant image will be generated, saved, and revealed in the your file explorer.

Options

  • Bounds clips all geometry in the heightmap to the terrain bounds, preventing far away meshses from drastically zooming out the heightmap.
  • Spawn includes detected Spawn Island packages and disables any crop-to-main-island functions. Enabled = include spawn island, Disabled = no spawn island
  • Terrain writes terrainmap.png alongside the heightmap to the export folder. The terrainmap doesent get populated with buildings,trees,etc - so only represents terrain.
  • Report writes heightmap-report.json with generation settings, filtered mesh counts, skipped mesh counts, warnings, etc to the export folder, used for debugging.

@Violevo

Violevo commented May 31, 2026

Copy link
Copy Markdown
Author

Example exporter usage (still some bugs with certain meshes)

test.mp4

Parts of the video are sped up 16x to make the video shorter, the real export time was around 5 mins

@h4lfheart
h4lfheart self-requested a review May 31, 2026 21:33

This comment was marked as outdated.

@h4lfheart

Copy link
Copy Markdown
Owner

Been super busy recently, will get the chance to look at this soon hopefully.

@h4lfheart h4lfheart changed the title Add geometry heightmap exporter for maps feat: geometry heightmap exporter Jul 2, 2026
@h4lfheart h4lfheart changed the title feat: geometry heightmap exporter feat(maps): Geometry Heightmap Exporter Jul 26, 2026
@f4r3s309

Copy link
Copy Markdown

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants