Working on an addon for myself (which i’ll make public once done).
With a “click of the button” it will make all necessary nodes in the compositor for saving/exporting .exr files for each layer pass (and cryptomattes). Trying to get away from MultiLayer .exr files (killing me in Davinci Resolve, really bogs it down). Right now i have the light/glossy/transmission/etc nodes set up how i use them for color grading in Davinci, but looking for other peoples opinions.
Example: for light/glossy/transmission/volume/etc, if both direct and indirect passes are selected, it will create a mix/add node first, then that goes to a denoise node and then finaly to the outputFile node for saving the exr’s. Im not using any or the color passes because they dont make sence (to me, at this point).
For Depth and Mist, they hit a normalizer node first, then denoise and then outputFile.
Right now just about everything hits a normalizer node before reaching the outputFile node, makes a difference, but is there a better way for this ?
Being a hobbyist of Blender and really never diving too deep into the compositor, wanted to ask peoples opinions.
Screenshots of how it sits now, the folders are created apon rendering automatically based on the outputFile settings the addon sets.
Also working on a Davinci Resolve addon too. Right click on the MediaOut node, select script, a select folder window pops up, you select the main Blender render folder which holds all the MainImages, pass and crypto_ sub folders and it will create the following node structure. For now the main image(s) hit the OCIOColorspace node to fix the color, then the rest hit a curve first, then color corrector which is all i really need right now.
An addon that saves cryptomatte masks as individual images will be incredible - it’s badly needed functionality I’ve been hoping for for a long time. Looking forward to seeing your work
I wouldn’t do any of this at render time. Just render to a multilayer-exr and then explode the file afterwards if you need to. I have some CLI tools for denoising, but I think Reactor has an OIDN node. Personally I would never use anything but multilayer exr.
A few notes though:
Don’t denoise the Cryptomatte data because that’s absurd. It’s not a clown/id pass, it’s data. To use the data you need to be using the Cryptomatte plugin from Reactor.
Don’t normalize or denoise Z pass. Z is data, and denoising will destroy it. Consider what happens when you combine a camera move with normalization. Z should be manually remapped per shot when compositing, assuming it needs to be remapped at all.
Don’t normalize or denoise Mist pass. Same reasons as above.
Im sure you seen the links Okidok and NewVisitor posted, at the speed i get things done, one of them might be a better option. But i will post a reply in this thread once i get a fully working Addon public.
.
Thanks for all the info, init_pixel, thats what i was looking for. Was using the Cryptomatte plugin from Reactor, but the file size and speed was not to my liking. Tested out my current idea posted here and its much faster and smoother. With the OCIO node, you can select Blenders color space file (…\blender\datafiles\colormanagement\config.ocio) and Davinci follows that, simplest and most accurate way ive found so far when working with Blenders exr files in Davinci.
[EDIT] just did a test on a 30 frame animation, file size for all multilayer-exr’s = 506mb (grant it has all the cryptomatte info) and for what i posted here saved as none-multilayer exr’s = 70mb (all the same passes, but only two selected cryptomatts)
.
This is just a test which i posted here, i would’nt do this for a real project.
Ohh… i know that… the question was more a direct reply to J…
Anyway… for your own use case oriented version…
(This forum software has a reply and a new comment function… the later one is also named reply… sometimes (elsewehere) one of them is called follow-up…)
Check this CG Compositing Series. Contains several information about using render passes. Connect Denoise Normal and Denoise Albedo in all Denoise nodes for optimal results in color passes. Tech data like depth, motion, crypto, doesn’t need it. And to save space store RGB passes to an 16-bit EXR MultiLayer and tech in 32-bit EXR MultiLayer.