#!/usr/bin/env bash # Nobiax-Palme (CC0) holen und die TGA-Texturen nach PNG wandeln. set -e mkdir -p public/models/palm && cd public/models/palm curl -sL -o palm.7z "https://opengameart.org/sites/default/files/palm_tree_v2.7z" tar -xf palm.7z sips -s format png diffus.tga --out diffuse.png > /dev/null sips -s format png normal.tga --out normal.png > /dev/null rm -f palm.7z diffus.tga normal.tga specular.tga palm_tree.FBX preview.jpg echo "Palme bereit: $(ls)"