Skip to main content

A utility for converting Unity Terrain Heightmap data from 16-bit raw to 16-bit exr

Project description

Unity RAW To EXR

This is a utility to convert the 16-bit raw heightmap data that Unity's Terrain System exports into a 16-bit EXR format.

Installation

Run the following to install:

pip install unity-raw-to-exr

Usage

from unity_raw_to_exr import raw_to_exr

raw_to_exr("./tests/terrain-33.raw")

Developing unity_raw_to_exr

To install unity_raw_to_exr, along with the tools that you need to develop and run tests, run the following in your virtualenc (venv):

pip install -e .[dev]

Other

Source Distribution

To create a source distribution:

python setup.py sdist

Update the MANIFEST.in

If working on the development, the venv should already have check-manifest

Refer to https://pypi.org/project/check-manifest/

Acknowledgements

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

unity_raw_to_exr-0.0.2.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

unity_raw_to_exr-0.0.2-py3-none-any.whl (15.6 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