mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 17:13:51 +00:00
feat(editor): zone map image export (colored top-down PNG)
- exportZoneMap(): renders terrain as colored top-down image with height-based coloring (blue lowlands → green plains → brown hills → white peaks), water overlay, hole visualization, doodad markers - Configurable resolution (128-2048px, default 512) - Auto-exported as zone_map.png alongside other assets on save - File > Export Zone Map menu with resolution slider - Useful for documentation, server admin tools, custom map websites
This commit is contained in:
parent
998d09e119
commit
84a431880e
4 changed files with 121 additions and 0 deletions
|
|
@ -968,6 +968,7 @@ void EditorApp::exportZone(const std::string& outputDir) {
|
|||
WoweeTerrain::exportHeightmapPreview(terrain_, openBase + "_heightmap.png");
|
||||
// Also save heightmap as zone thumbnail for content pack browsing
|
||||
WoweeTerrain::exportHeightmapPreview(terrain_, base + "/thumbnail.png");
|
||||
WoweeTerrain::exportZoneMap(terrain_, base + "/zone_map.png", 512);
|
||||
|
||||
// Write zone info README
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue