Since we use PSDManager to gather elements for our renderings, we’d like to avoid the global REs output that generates a bunch of useless files for us. Is there a way to prevent REs output in separated files ? we just want them to be generated in the VFB, written in the PSD file generated by PSDManager, but nothing more … any idea, please ?
Thanks for the link, but I can’t see anything useful about REs … apart saveAllElements with a string - does that mean that providing an empty string will do the trick ?
However, saving to .CXR will be fine for us I guess, thank you for the reminder
What I meant was the following maxscript command, that can be run at render end:
dumpVfb - Saves the current VFB contents to given file so it can be resumed later using loadAndResume
It’s basically the same thing as “save cxr” button.
The full command would be coronaRenderer.CoronaFp.dumpVfb cxrFilename
I’m sorry to insist, but I’ve just tried using .CXR as output file, and REs are still generated in addition to the main rendering … what a mess with 10 cameras
What I meant was actually clicking the “save cxr” button, or using the script, without having any output path specified. Nothing else will work. (right now)
Can’t you use the .xxx file format for the render elements output? It is part of psd-manager since forever. It is designed exactly to avoid output of extra files that are not needed, e.g. if everything is already stored in a PSD/PSB file.
Daniel,
I’ve just tested, it works like a charm, thanks A LOT for the reminder !
A little prerender script to set all the REs’ output to .xxx and here we go still waiting for a proper solution out-of-the-box for a future Corona release, but that does the job perfectly for now.
Hi Maru,
I still haven’t figured out how to save the crx without saving each element as a crx too - is this still the latest or am I doing something wrong? Thanks!
@NicolasC: "Daniel,
I’ve just tested, it works like a charm, thanks A LOT for the reminder !
A little prerender script to set all the REs’ output to .xxx and here we go still waiting for a proper solution out-of-the-box for a future Corona release, but that does the job perfectly for now."
Can you please tell me what to do, step by step, so I can achieve the same? I’m going manic, I have to click all the seperate RE each time I want to send a camera out to RebusFarm, it’s driving me mental. Houres and houres of wasted time…
sorry i didnt have time atm, it was urgent in the previous project, I ended up staying awake through the night managing the render elements, 20 RE for 10 CAMS, was so much fun…
i’ll check this asap, right now i really dont have the time - grts
You can even use the psd-manager trial for this purpose. The xxx format plugin is free to use.
NicolasC your loop actually runs too far, it should stop at (re.NumRenderElements() - 1).
If you have just 1 render element you will call re.SetRenderElementFilename 2 times for example. No harm done here since SetRenderElementFilename seems to check the bounds, but if someone modifies/reuses the code then it could cause problems. This would be the fixed version:
re = maxOps.GetCurRenderElementMgr()
for i = 0 to re.NumRenderElements()-1 do re.SetRenderElementFilename i “.xxx”