A Python script for downloading High Dynamic Range Images (HDRIs) from Polyhaven. This script utilizes the Pillar library for compressing thumbnails.
- Downloads all HDRIs by category
- Links one file to multiple categories via hard-linking for easy navigation and saving space
- Adds metadata, tags & thumbnails for each shot
- Compresses and resizes thumbnails
- Checks MD5 hash of each file
- Includes a progress bar
- Compatible with the ZooTools plugin for Autodesk Maya
- Python 3.6 or higher
- Pillar library
- Clone the repository
bashCopy code
git clone https://github.com/olegkron/polyhaven-hdri-download.git
- Install the required packages
Copy code
pip install -r requirements.txt
- Set up variables in main.py
save_to_dir = 'YOUR DIRECTORY' asset_size = '4k'
3. Run the script`
Copy code
python hdri_downloader.py
Contributions are welcome! Please open an issue or create a pull request for any bugs or feature requests.
This project is licensed under the MIT License.