render images from .ifd sequence in command line

   2882   2   0
User Avatar
Member
8 posts
Joined: Sept. 2012
Offline
Hi guys!

I've rendered out .ifd sequence and now want to render them to image files in comand line to save memory.
The way to go is:
mantra (some flags and overrides) < XY/image_001.ifd
How to render 001, 002, 003, etc. all files in .ifd sequence? Some kind of $F variable analogous?

Thanks.
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Hi you will need to create a python script and run it in a shell .

#!/bin/csh -f

set i = 1
while ($i <= 10)
mantra -j 3 -V a -f file.$i.ifd
echo rendering file.$i.ifd
@ i++
end
echo “all done”


Rob
Gone fishing
User Avatar
Member
8 posts
Joined: Sept. 2012
Offline
Thank you, Rob for your answer!

I never was involved in python but I will try it. Will you be so kind to give me an advice if this way is the best in my case.
I just need a simple way for rendering on comps with low memory.

Cheers,
Igor.

PS. I'm on win7 x64
  • Quick Links