#!/bin/csh -f

acting Mot/a1.bmot <<ENDCAT >& REN.out

	ostring -s world picture Pic/imgname\\\$F.pic
#
#   the following command is equivalent to the loop below
#
#	mantra -f 1 150 -i 1 -c mantra -w 720 -h 486
#			or
#	mantra -f 1 150 -i 1 -R 720 486 -c mantra

	for i = 1 to 150 step 1
		fcur \$i
		echo Doing frame \$i
		mantra -R 720 486 -c mantra  #or mantra -c mantra -w 720 -h 486
	end

	echo all done

	quit
ENDCAT
