htrace/raytrace.sh

7 lines
124 B
Bash
Executable File

if [ -z $1 ]
then
echo "please specify scene"
else
dist/build/raytrace/raytrace $1 +RTS -s -N8 $2 && eog out.png
fi