Skip to main content

Converts heightmap to 3d mesh.

Project description


Converts a heightmap to a 3d mesh.




  • SOURCE: Filename of the source hightmap. This must be a 8 bpp greyscale bitmap-type image. PNG is tested an recommended.
  • DESTINATION: Filename of the destination file into which the 3d data is written.
  • SCALE: Scale factor for the z-coordinate. This value is the maximum height of the resulting mesh relative to the short side side of the SOURCE image.


This script uses the pillow library to load the image. Output format Wavefront OBJ.

This only creates a 3d surface, no solid block.

Make shure to install this package via pip to allow comfortable use in console.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for height2obj, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size height2obj-0.9.0-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size height2obj-0.9.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page