Created
November 11, 2019 05:19
-
-
Save bewestphal/ad3986dda9809b662bbd534da3c75046 to your computer and use it in GitHub Desktop.
CS6475 Generate Texture GIF
This file contains hidden or 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
#!/bin/bash | |
# Turns images produced by texture info a gif | |
INPUT_DIR=candle | |
ALPHA=0.005 | |
source ~/.bashrc | |
eval "$(conda shell.bash hook)" | |
rm -rf videos/out/${INPUT_DIR} | |
conda activate CS6475 | |
python main.py ${ALPHA} ${INPUT_DIR} | |
ffmpeg -y -i videos/out/${INPUT_DIR}/frame%04d.png ${INPUT_DIR}_video.gif | |
open -a "Google Chrome" ./${INPUT_DIR}_video.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment