ScriptSpot

Forum topic · General Scripting

Batch rendering different objects in a scene

By wavesurfer · 2011-03-10

Description

Hi all,

I have several scenes, each of the scenes have maybee 100 objetcs that I need to render separately. So I need a script that:
-----
unhides object123
renders it (VRay) with all rendersettings unchanged
saves the image as object123.png
hides the object

unhides object789
renders it (VRay) with all rendersettings unchanged
saves the image as object789.png
hides the object

unhides objectabc
...and so forth
-----

I need to be able to change between png and other formats. All objects that need to be rendered are in one separate layer.

Anybody has an idea? I would be ready to pay someone for making such a script for me.

Thanks!!

Comments (5)

alek3tt · 2011-05-15

thanks for ideas, I've been doing it like that. But the problem is what if you have 100 different objects in the scene. Just to unhide the layer, save scene state, unhide another layer, save another... 100 times like that it is pain :)

Maybe if someone know is it possible to make maxscript like wavesurfer asked:

unhides object1
renders it (VRay) with all render settings unchanged
saves the image as object1.png
hides the object

unhides object2
renders it (VRay) with all render settings unchanged
saves the image as object2.png
hides the object

.
.
.

unhides objectN
renders it (VRay) with all render settings unchanged
saves the image as objectN.png
hides the object

is something like that possible to do in maxscript?

Anubis · 2011-05-13

2 easy ideas in my mind (without scripting):
a) made scene states for each object
b) save separate .max file for each object
...and finally submit this jobs to BB.

alek3tt · 2011-05-13

Hi,

I need this also. Have you found some script for this? Please

br0t · 2011-03-10

hi,
just for curiosity, what kind of animation are you rendering, where you need 100 different layers rendered separately?

wavesurfer · 2011-03-10

It is not an animation, just product visualisation, where I need to render each product as a separate image.