will this work properly with image AOVs, such as indirect specular, sss, etc, or is this more for light AOVs as implied in the Noice docs?
I'm using -aov
bin/noice -patchradius 3 -searchradius 9 -variance 0.5 -aov L_fill -aov L_hdr -aov L_key -aov L_rim -i <in_file> <out_file>
How do you solve rendering with the additional variance AOVs needed for each AOV that you want to denoise? I only have been able to do that by exporting to ass and then editing/parsing the file to add the AOVs. In maya I've been able to create AOVs with the correct data using Light Path Expressions or adding outputs to an AOV with a different filters, but neither of those are recognized later by noice.
Suppose you had a light AOV named "mylight".
Then do this:
- In Maya, add a custom AOV named RGBA_mylight_variance
- Set the data to RGB and the filter to variance
- Render an EXR
- Add the missing metadata (that identifies the varianceAOV for RGBA_mylight)
oiiotool.exe -i test.exr -sattrib arnold/aovs/RGBA_mylight_variance/source "RGBA_mylight" -o updated_test.exr
- Noice the updated exr file
I've solved the problem myself, It didn't work using RGBA per group light using the Light Group List parameter in the AOV Attribute Editor. But it works if you generate de AOVs with the "auto-magic" method of create a Custom AOV using the naming convection.
For example if you have two lightgroups one named "red "and another named "blue", you have to create two custom AOVs with names "RGBA_red" and "RGBA_blue" and add additional outputs to each of them with a variance filter.