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.

Source Distribution

height2obj-0.9.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

height2obj-0.9.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page