image sequence to RamPlayer

I have a .png image sequence that i want to load into the ram player but i want to do it via maxscript. Is there any simple way of load these sequences into the ram player?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
JokerMartini's picture

Great.

Thanks Brot,
this sure save a ton of time. I was hoping that the ramplayer would have an additional setting for loading a sequence of images, low and behold I was wrong on that one. It just had to be more complicated than expected haha.
Thanks

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

br0t's picture

youre welcome but I see in my

youre welcome
but I see in my code, it doesnt make sense to get all files and then pick out the pngs instead of getting only them in the first place, I will fix that^^

Never get low & slow & out of ideas

br0t's picture

There is the  RAMPlayer  

There is the  RAMPlayer   command, but for a sequence you need to give it an .ifl file. So you have to create one by script, like Anubis shows here http://www.scriptspot.com/3ds-max/scripts/makeifl-0-4-1

I was curious and tried to pick out the important parts:

thePath = "C:\\Users\\Desktop\\myFolder"
theFiles = getFiles (thePath + "\\" + "*.png")
 
theIfl = createFile (thePath + "\\" + "imgList.ifl")
for f in theFiles do format "%\n" (filenameFromPath f) to:theIfl
close theIfl
 
RAMPlayer (thePath + "\\" + "imgList.ifl") ""

 

Cheers

Never get low & slow & out of ideas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.