A few little tips and tricks for Denoising stuff in Renderman…
Most of this comes from here… https://renderman.pixar.com/resources/current/RenderMan/risDenoise.html, you’ll need to make sure your environment variables are set correct to do this in the shell.
Note: This is using Windows, a lot of it is similar to Linux/Mac, there might be some syntax differences.
For all examples, we have a directory which contains the following image sequences…
RIS_denoised_variance.####.exr (the main render pass) RIS_denoised_variance_directdiffuse1.####.exr (key light diffuse) RIS_denoised_variance_directdiffuse2.####.exr (environment light diffuse) RIS_denoised_variance_directspecular1.####.exr (key light specular) RIS_denoised_variance_directspecular2.####.exr (environment light specular)
To denoise several frames (0001-0007) of the beauty render using single-frame denoising. Include the { } brackets around the frame numbers, wildcards * don’t seem to work for me in Windows.
denoise RIS_denoised_variance.{0001,0002,0003,0004,0005,0006,0007}.exr
To denoise the same seven frames (0001-0003) using cross-frame denoising.
denoise --crossframe -v variance RIS_denoised_variance.{0001,0002,0003,0004,0005,0006,0007}.exr
To denoise the AOVs as well, only on three frames this time…
denoise --override filterLayersIndependently true -- RIS_denoised_variance.{0001,0002,0003}.exr RIS_denoised_variance_directdiffuse1.{0001,0002,0003}.exr RIS_denoised_variance_directdiffuse2.{0001,0002,0003}.exr RIS_denoised_variance_directspecular1.{0001,0002,0003}.exr RIS_denoised_variance_directspecular2.{0001,0002,0003}.exr