The Realflare Nuke plugin adds a Realflare gizmo that renders lens flares with
the flare CLI and loads the result back into Nuke.
Install Realflare as described in README.md, then add the plugins/nuke directory to
Nuke's plug-in path using either option below.
See Defining the Nuke Plug-in Path for details.
Add the directory to Nuke's plug-in path (Linux: ~/.nuke/init.py, Windows: %USERPROFILE%\.nuke\init.py):
import nuke
nuke.pluginAddPath('/path/to/realflare/plugins/nuke')Append the absolute path to the NUKE_PATH environment variable, for example /path/to/realflare/plugins/nuke.
The plugin looks for the flare binary in the following order:
- The
REALFLARE_BINenvironment variable, if set. - A
venvor.venvenvironment in the repository root (default installation). - The
PATHenvironment variable.
Once installed, a Realflare gizmo and menu are added to Nuke.