Automated script for saving all render channels

Is it possible to make a certain button that would save all the render channels from a VRay frame buffer? It’s something that repeats all the time and it’s sooooo annoying to always go through all the channels everytime and save them manually…
Is there such a possibility already in Vray or at least exposed to Maxscript so I could make a maxscript myself?

Thanks!

EDIT: Save separate render channels in VRay Frame Buffer rollout is not good as it needs to be set before the render…

uuuhuhhu I second that. :slight_smile:

best regards
themaxxer

Save it as an EXR and then choose it in comp. only work with certain types of comp software though i.e. Nuke or Fusion

The only problem with that K is that if you haven’t chosen to write out the file before, you’ve got no option to save the render elements after. If you use the save function, if only saves the render element you’re currently viewing and not the lot of them in one go!

I believe the required Maxscript access will be in the next service pack of Vray. So this script will be possible then.

Is it planned also for Vray 1.5 or only 2.0?

I second that 2! :slight_smile:
What you could do is render a little region and thick “save render elements” But this won’t work if you load an image from history and if you change something in the elements.

you can use vray history to save a vrimg file. This will contain all your elements. Go to where ever you have set the vray history to save the file

Then use a few scripts posted here by Shimakaze
http://www.chaosgroup.com/forums/vbulletin/showthread.php?41740-Shimakaze-s-Tools-(SP2-update)&highlight=photoshop

Set it up quiet a long time back but its all explained in the thread. There is a registry fix so that if you double click on a .vrimg file it auto opens vrayimgtoexr and will auto extract all the elements

Newer versions of V-Ray have a “Save all” button to write all render elements; in the meantime for V-Ray 2.0 you can use the VRayVFBMaxScript plugin from this page: Chaos: Industry-leading design and visualization software

It has MaxScript functions for accesssing the contents of the VFB.

Best regards,
Vlado