Nicolas Calimet schrieb:
>
> #!/bin/sh
> for file in `ls *.png`; do
i think better would be
for file in *.png ; do
since ls is not guaranteed to only print the file names AFAIK.
> povray scene.pov [options] Declare=imgfile=$file
I think this only works for floats.
Simple solution:
for file in *.png ; do
cp $file temp.png
povray -iscene.pov [options] \
-o`echo "$file" | sed 's?png$?render.png?'`
done
where scene.pov always uses temp.png
-- Christoph
Post a reply to this message
|