Last active
June 7, 2020 02:49
-
-
Save mrdoob/ceb43b452b901be9da2b5bfd293eee95 to your computer and use it in GitHub Desktop.
Batch convert draco/basis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *.obj; do ../../draco/draco_encoder -i "$i"; done | |
for i in *.jpg; do sips -Z 2048 -s format png "$i" --out "$i".png; done | |
for i in *.png; do ../../basis/basisu -file "$i"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment