Web Analytics

unrealheightmap

⭐ 92 stars Simplified Chinese by manticorp

16/32 位灰度 PNG/EXR 高程图生成器

一个基于浏览器的工具,用于从真实世界地形数据生成高质量的 16 位灰度 PNG 高程图或 16/32 位 EXR 高程图。

非常适合在 Unreal Engine 5 和其他游戏引擎或 3D 软件中创建逼真的地形,如 Terrain3d、Godot4 和 Blender。

🌐 官方网站: https://manticorp.github.io/unrealheightmap/

ko-fi

⚠️ 重要通知

我们开始触及部分地图服务的免费额度限制,因此网站可能无法使用,直到我们获得资金提升这些限制。如果您觉得此工具有用,请考虑支持该项目!

✨ 功能特色

🎯 适用场景

🚀 快速开始

有关详细说明,请访问文档页面。

📖 文档

🛠️ 技术栈

💻 开发环境搭建

前提条件

安装

# Clone the repository
git clone https://github.com/manticorp/unrealheightmap.git
cd unrealheightmap

Install dependencies

npm install

构建命令

# Development build
npm run build

Production build

npm run author

Watch mode (auto-rebuild on changes)

npm run watch

Run unit tests

npm test

项目结构

├── src/                   # Source TypeScript and SASS files
│   ├── app.ts             # Main application logic
│   ├── main.ts            # Entry point
│   ├── png.ts             # PNG processing
│   ├── processor.ts       # Web worker for image processing
│   ├── sass/              # Stylesheets
│   └── templates/         # HTML templates
├── public/                # Static assets and build output
│   ├── dist/              # Built JavaScript and CSS
│   ├── im/                # Images
│   └── examples/          # Example heightmaps
├── index.html             # Main application page
├── instructions.html      # Documentation page
├── examples.html          # Examples page
└── webpack.config.js      # Webpack configuration

🎨 示例

大峡谷 (64公里)

在工具中查看

大峡谷示例

更多示例,请访问示例页面

🔧 归一化模式

不进行归一化。像素值直接表示高度(米),负值设为0。

常规

将高度值缩放至整个16位范围(0-65535),最大化整个高程图的细节。

智能

一种高级模式,处理数据错误和异常值。使用99.9%的窗口过滤极端值,同时在1个标准差内保留真实的最小/最大值。

📊 输出格式

🤝 贡献

欢迎贡献!请随时提交问题,分叉仓库并创建拉取请求。

📄 许可证

本项目采用MIT许可证 - 详情请见许可证文件。

高程数据由Mapzen提供,可能有其自身的许可条款。

💖 支持

如果您觉得这个工具有用,请考虑支持该项目:

🙏 致谢

📞 联系方式

---

为虚幻引擎、3D 和游戏开发社区倾心制作 ❤️

--- Tranlated By Open Ai Tx | Last indexed: 2026-01-10 ---