/chunky-denoiser

A denoising plugin for Chunky.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Denoising Plugin

This is a plugin for Chunky that creates Portable Float Map files (.pfm) for use with denoisers, e.g. Intel Open Image Denoise. The plugin was compiled for and tested with Chunky 1.4.5 as well as Chunky 2.0-beta6.

Installation

Download the latest plugin release for your Chunky version from the releases page. In the Chunky Launcher, click on Manage plugins and then on Add and select the .jar file you just downloaded. Click on Save to store the updated configuration, then start Chunky as usual.

Usage

Just render a scene as usual. It will render three images and save them as Portable Float Maps.

Denoise automatically

The Intel Open Image Denoiser can be downloaded here. After unpacking the archive, you can configure the denoiser executable (denoiser.exe on Windows, denoiser on Linux) in the Denoiser tab inside Chunky.

Invoke the denoiser manually

After the rendering is done, the plugin will save the resulting image as scene-name.pfm in the scene directory and start to render a normal image (saved as scene-name.normal.pfm) and an Albedo image (scene-name.albedo.pfm). These files can be used by Intel Open Image Denoise like this:

./denoise -ldr scene-name.pfm -alb scene-name.albedo.pfm -nrm scene-name.normal.pfm -o output.pfm

To view the resulting image, it needs to be converted back to an actual image file. This can be done by the pfm2png.py Python 3 script included in this repository or using an online converter, e.g. this one.

License

Copyright 2019 Maik Marschner (leMaik)

Permission to modify and redistribute is granted under the terms of the GNU General Public License, Version 3. See the LICENSE file for the full license.