Batch imf_copy OS X / .map sequence

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  02 February 2005
Batch imf_copy OS X / .map sequence

I am trying to convert an image sequence to MR's .map format, and before I ask how to do it, can anyone tell me whethere or not this is a good idea? I haven't seen anything around on the boards about .map image sequences, so i'm a little curious.

Aside from that, how would I go about converting an image sequence to .map without typing every frame number into the command line? I'm running OS X, so I'm trying to figure out how to create a mini app or something so that I can drag a whole group of images onto it and have them all convert. Or another method, maybe telling imf_copy to convert the contents of a folder to .map.

Ideas?
 
  02 February 2005
I found the answer if anyone else wants to know. I thinks its pretty useful myself. Anyway, make a plain text file that reads like:


#!/bin/bash
for each in `ls` ;
do
fname=($(echo $each | cut -d. -f1 ))
/Applications/Alias/maya6.5/Maya.app/Contents/bin/imf_copy -p -v $each ${fname}.map
done

Then chmod 777 that text file, put it in the directory with your images, and execute it from Terminal. I didn't write it so i'm not totally sure how it works, though i get most of it, but it does work for me and i definitely like it!
 
  02 February 2005
yes it's interrset me, thx
__________________
Grand Space Opera End
Souvenir d'Egypte
 
  02 February 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:05 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.