#!/bin/bash # This script expects two arguments: # 1) source file root name - "sample" for "sample.pov" # 2) clock value - some numerical value # Example call "clockpov sample 05" calls the infile "sample.pov" with # a clock value of 05, and then generates "sample05.ppm" as the output # x-povray -I$1.pov -V +D1 +P +X100 +A +FP16 +O$1$2.ppm +K$2