-
Notifications
You must be signed in to change notification settings - Fork 5
Home
NukeCGDenoiser is a plugin for Foundry's Nuke written in C++. It allows denoising CG renders using Intel's OpenImageDenoise library.
This plugin requires OpenImageDenoise library installed in your system in order to run.
- Download the latest version of the library from the Releases page.
- Extract the binaries from the downloaded
oidn-<VERSION>.x64.windows.zipinto some location (i.e.C:\oidn-<VERSION>-x64-windows) - Go to Start, Edit environment variables for your account.
- Create (or edit existing one) a new variable called Path. Set the value to the location where you extracted the library, i.e.
C:\oidn-<VERSION>-x64-windows\bin
$PATH environment variable on Windows needs to specifically point to the
bindirectory, where theOpenImageDenoise.dlllibrary resides.
- Download the latest version of the OIDN library from the releases page.
- Extract the binaries into some location.
- Edit your
.bashrcor.zshrc, add the path to the library to the$PATH:
export PATH="/path/to/oidn/bin:$PATH"On MacOS, the easiest way to install OIDN is by using Homebrew.
Use the following command to download the precompiled binaries to your machine:
brew install open-image-denoise- Go to the Releases page of the plugin's repository.
- Download the binary package for your system (i.e. Linux)
- Extract content of the package into ~/.nuke/nuke-denoiser folder.
- Open
~/.nuke/init.pyin a text editor (create the file, if it doesn't exist). Place the following line at the end:
nuke.pluginAddPath('nuke-denoiser')- Save the file, launch Nuke.
- You should be able to create the node by hitting Tab key and typing Denoiser or using the dedicated menu.
Denoiser node has three inputs for each of the AOVs that can be processed by the filter:
- beauty (default)
- albedo (optional)
- normals (optional)
Albedo and normals input are not required, but the denoised image should improve in quality if you decide to use all three AOVs.
Denoiser node has the following knobs available to tweak:
- Device Type - allows to select which device the denoising filter will be executed on. You can toggle between Auto, CPU, SYCL, CUDA and HIP. Not all platforms support every device type, it depends on your operating system and GPU drivers.
- HDR - use if the beauty input image is high-dynamic range
- Enable thread affinity - enables thread affinitization
- Memory limit (MB) - approximate maximum scratch memory to use in megabytes
- Number of runs - number of times the denoise filter is executed on the image