Script for creating scene states and batch render settings out of layers

Hello,
I'm looking for a script that will do quite specific job for me. I'm working with rendering of many elements that I keep on separate layers (like layer A_01, A_02 etc.) and there is one main layer with camera (there is only one in scene) and lights (for example 'layer 0').

Script should create scene states, where 'layer 0' and only one of many other layers is visible and after that create batch render views for each state with output paths and cameras set.

For example, if I have main layer and 3 layers with objects to render, it should create 3 scene states and batch render views:
1. Layer 0 and layer A_01 visible, batch render view set that will use camera 001, scene state 01 and save file in specified directory
2. Same, but instead layer A_01, layer A_02 is visible
3. Again with A_03 layer...

I hope that I'm clear enough (my english isn't very good). Is it possible to create this kind of script? I couldn't find anything like this anywhere :/

Thanks in advance for help, I'm totally new to using scripts and don;t know how to even start with this. :)

Comments

Comment viewing options

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

have u tried sergo batch

have u tried sergo batch camera render, altho it support scene state, it cant create scene state out of layer by ut self ...u must create the state your self.

Comment viewing options

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