Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    "aux": {
        "diffuse": [
            {
                "paths": [
                    "cornellbox2__perspShape__directDiffuse.0001.exr"
                ],
                "layers": [
                    "directDiffuse_front"
                ]
            },
            {
                "paths": [
                    "cornellbox2__perspShape__directDiffuse1.0001.exr"
                ],
                "layers": [
                    "directDiffuse_top"
                ]
            }
        ],
        "specular": [
            {
                "paths": [
                    "cornellbox2__perspShape__directSpecular.0001.exr"
                ],
                "layers": [
                    "directSpecular_front"
                ]
            },
            {
                "paths": [
                    "cornellbox2__perspShape__directSpecular1.0001.exr"
                ],
                "layers": [
                    "directSpecular_top"
                ]
            }
        ],
        "albedo": [],
        "irradiance": [],
        "alpha": []
    },

In the diffuse section, we have two AOV outputs we would like to denoise. "paths" is the list of paths to the images. "layers" is the channel name(s) that we want to denoise as the diffuse pass. If there are multiple channels of the same type, in the same pass, you can provide a comma-separated list in "layers".

...

The denoise result would be written to the path /prod/shot_0001/images/denoised/aux-color. If you had separated out the diffuse and specular into separate files, then they should go into the "diffuse" and "sepcularspecular" lists, respectively, instead of "color". The denoised result of our example looks something like this:

...