A powerful and flexible height map generator
Project description
Heightcraft is a high-performance CLI tool designed for Game Engineers, GIS Professionals, and Researchers. It automates the pipeline of converting 3D data into high-precision heightmaps, featuring accessible AI Upscaling.
🚀 Key Features
- 🤖 Heightmap AI Upscaling: Transform low-res inputs into crisp, hi-res/high-detail heightmaps. Also supporting bit depth increase (8-bit → 16/32-bit) with AI hallucination.
- 📡 LiDAR Support: Stream process massive
.lasand.lazpoint clouds into Digital Elevation Models (DEMs). - 🏔️ Mesh to Heightmap: Bake
.gltf,.glb,.obj,.stl, and.plymeshes into heightmaps with automated chunking. - 🌊 Feature Masks: Optionally export water masks with sea level thresholds and texture masks for slope and curvature.
- 🎯 High Precision: Native support for 32-bit Float TIFF, 16-bit PNG, and RAW formats.
- ⚡ Performance: GPU acceleration and memory-efficient streaming for gigabyte-scale datasets.
📖 Documentation
Full documentation is available in the Docs.
📦 Installation
pipx install heightcraft
⚡ Quick Start
Upscale an image (8-bit → 16-bit and 3x upscale):
heightcraft input.png --upscale --upscale-factor 3 --bit_depth 16 --output_path high_res.png
Process LiDAR data into an high-res 32-bit heightmap:
heightcraft scan.laz --bit_depth 32 --chunk_size 600000 --max_resolution 24576
Convert a 3D Mesh to an upscaled heightmap:
heightcraft terrain.obj --large-model --chunk_size 200000 --max_resolution 8192 --upscale
Development
To install development dependencies:
pipx install uv
uv sync --group dev
uv run main.py
🧪 Testing
Run the test suite:
pytest tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heightcraft-2.0.0.tar.gz.
File metadata
- Download URL: heightcraft-2.0.0.tar.gz
- Upload date:
- Size: 5.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a35da53db4cc8f33a8d389a69249225229281479fbf3ba754dc78fea405063e0
|
|
| MD5 |
ff082a080cddcb494a7b81ca8acaaf77
|
|
| BLAKE2b-256 |
9e89cda3a5b1699be3a67b1c827bc876dbdb558ee588a96d5a2a8588b89f2e69
|
Provenance
The following attestation bundles were made for heightcraft-2.0.0.tar.gz:
Publisher:
release.yml on andre-silva-14/heightcraft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
heightcraft-2.0.0.tar.gz -
Subject digest:
a35da53db4cc8f33a8d389a69249225229281479fbf3ba754dc78fea405063e0 - Sigstore transparency entry: 738820737
- Sigstore integration time:
-
Permalink:
andre-silva-14/heightcraft@9f7227d0a005ecd3e27b4a4db38a2cb2465db143 -
Branch / Tag:
refs/tags/v2.0 - Owner: https://github.com/andre-silva-14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9f7227d0a005ecd3e27b4a4db38a2cb2465db143 -
Trigger Event:
release
-
Statement type:
File details
Details for the file heightcraft-2.0.0-py3-none-any.whl.
File metadata
- Download URL: heightcraft-2.0.0-py3-none-any.whl
- Upload date:
- Size: 87.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba6d47760abdf31ef9de921a2a0598ac47db89c310a073440dba7f0e6d19b0d6
|
|
| MD5 |
fc21461d023dce0c16f47bbb264fb80d
|
|
| BLAKE2b-256 |
01a87d37581cf80deb47aba55afd252bb999a0a8e100ceb5d086944ebabbbcb4
|
Provenance
The following attestation bundles were made for heightcraft-2.0.0-py3-none-any.whl:
Publisher:
release.yml on andre-silva-14/heightcraft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
heightcraft-2.0.0-py3-none-any.whl -
Subject digest:
ba6d47760abdf31ef9de921a2a0598ac47db89c310a073440dba7f0e6d19b0d6 - Sigstore transparency entry: 738820745
- Sigstore integration time:
-
Permalink:
andre-silva-14/heightcraft@9f7227d0a005ecd3e27b4a4db38a2cb2465db143 -
Branch / Tag:
refs/tags/v2.0 - Owner: https://github.com/andre-silva-14
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9f7227d0a005ecd3e27b4a4db38a2cb2465db143 -
Trigger Event:
release
-
Statement type: