Batch export individual layers as image sequences - script?

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
AngryMonster
Posts: 95
Joined: Sun Apr 22, 2007 1:42 am
Location: Australia
Contact:

Batch export individual layers as image sequences - script?

Post by AngryMonster »

Hey people!

I often end up exporting individual layers as an image sequence so I can have more control in my compositing software.

With a complicated scene, this can take a while.

Does anyone know of a script that can let be 'batch' export individual layers as image sequences?

Thanks!
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Unfortunately not. I'm also using renderpasses a lot but have to do the separation manually everytime.
There are no way of accessing layer visibility through lua so I can't write a script for it.
ponysmasher
Posts: 370
Joined: Thu Aug 05, 2004 2:23 am
Location: Los Angeles
Contact:

Post by ponysmasher »

What I do is render the sequence in PSD format and then in After Effects import the PSD sequence as a composition.

You get a ready made composition with all layers separate.

Only one tiny problem. If a layers visibility is turned on and off that layer isn't imported in After Effects, but I just put those layers in a group without animated visibility and then they work.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

rylleman wrote:Unfortunately not. I'm also using renderpasses a lot but have to do the separation manually everytime.
There are no way of accessing layer visibility through lua so I can't write a script for it.
What bout those MohoLayer members?

Code: Select all

bool IsRenderOnly()

Return value (bool): 

void SetRenderOnly(b)

Return value: none b (bool): 
I think that they will respond to the "Do not render this layer" property.

-G
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Genete wrote: What bout those MohoLayer members?

Code: Select all

bool IsRenderOnly()

Return value (bool): 

void SetRenderOnly(b)

Return value: none b (bool): 
I think that they will respond to the "Do not render this layer" property.

-G
:D :D :D .
Didn't think of those! My mind was set on hiding layers I didn't want to render. Wow, now I can start putting together the script I've had in the back of my mind for quite some time. Thanks Genete! You're like an walking reference manual.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Thanks Genete!
You're welcome! I'm glad to help! :)
-G
Post Reply