mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): heightmap preview PNG export for zone documentation
- Exports 129x129 grayscale PNG showing terrain elevation - Auto-normalizes to 0-255 based on actual height range - Useful for zone documentation, thumbnails, and previews - Auto-exported alongside WOT/WHM/normals on every save
This commit is contained in:
parent
36dd4bf141
commit
77a91de9f1
3 changed files with 43 additions and 0 deletions
|
|
@ -793,6 +793,7 @@ void EditorApp::exportZone(const std::string& outputDir) {
|
|||
WoweeTerrain::exportOpen(terrain_, openBase, loadedTileX_, loadedTileY_);
|
||||
WoweeTerrain::exportNormalMap(terrain_, openBase + "_normals.png");
|
||||
WoweeTerrain::exportAlphaMaps(terrain_, base + "/alphamaps");
|
||||
WoweeTerrain::exportHeightmapPreview(terrain_, openBase + "_heightmap.png");
|
||||
|
||||
// Write zone info README
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue