Skip to content
07-848 2005

V-Ray for SketchUp, Standalone Tools

V-Ray denoiser tool

Use the V-Ray denoising tool on any platform to denoise still images and animations.

On this page
  1. Overview
  2. Menu path
  3. Installation
  4. Generate the required render elements
  5. Required render elements
  6. Use the graphical interface
  7. Select denoise elements dialog
  8. Use the command line
  9. Denoise still images
  10. Denoise animations
  11. Denoiser options
  12. Advanced options
  13. Offset the denoiser output

Use the V-Ray denoising tool to denoise still images and animations outside V-Ray for SketchUp. The tool is available on all platforms.

Overview

V-Ray includes a standalone denoising tool called vdenoise. You can use it to denoise still images or animations outside V-Ray for SketchUp. For animations, it can assess multiple frames at once to improve the result. The tool reads .vrimg or multichannel OpenEXR files and saves the output in the same format.

Menu path

||Extenssions|| > V-Ray > Tools > External > V-Ray Denoiser

SketchUp Extensions menu with V-Ray > Tools > External > V-Ray Denoiser selected.

Installation

The V-Ray for SketchUp installation includes vdenoise. Open a command prompt in the tool's folder to use the command line, or run the executable to open its graphical interface.

Windows

C:\Program Files\Chaos\V-Ray\V-Ray for SketchUp\extension\vray\bin\vdenoise.exe

Windows

C:\Program Files\Chaos\V-Ray\V-Ray for SketchUp\extension\vray\bin\vdenoise.exe

macOS

/Applications/Chaos/V-Ray/V-Ray for SketchUp/extension/vray/bin/vdenoise.bin

Generate the required render elements

The denoiser uses several render elements for the best results. Add the VRayDenoiser Render Element to your SketchUp scene to generate them.

Required render elements

Add the VRayDenoiser or Denoiser Render Element to your scene to generate the render elements listed below automatically. The standalone denoiser runs even if some or all are missing, but the results may be too blurry.

For single pass RGB denoising:

  • Noise level (named noiseLevel) provides information the denoiser relies on during denoising.
  • Defocus amount (named defocusAmount)
  • World positions (named worldPositions or wpp)
  • World normals with bump mapping (named worldNormals)
  • Diffuse filter (named diffuseFilter or VRayDiffuseFilter)
  • Reflection filter (named reflectionFilter or VRayReflectionFilter)
  • Refraction filter (named refractionFilter or VRayRefractionFilter)

Use the graphical interface

Run vdenoise without parameters, or open it from the Start Menu on Windows, to use the graphical interface. You can denoise still images or animations and save or load denoising configurations.

Input File... sets the .vrimg/multichannel .exr image, .vlplfx, or image sequence to denoise. Use question marks (?) as wildcards for a sequence. For files named anim_0001.exr, anim_0002.exr and so on, replace the digits with question marks, as in anim_????.exr.

Specify Frame Interval lets you choose which frames to process when enabled.

Start sets the start frame.

End sets the end frame.

By sets the frame increment.

Blend Frames sets how many adjacent frames the denoiser uses for animations. This reduces flickering between adjacent frames.

Skip existing frames skips an input image when an output image with the corresponding file name already exists.

Select denoise elements opens the Select denoise elements dialog, where you choose which colour elements to denoise.

Engine sets the denoising engine for the RGB channel and multiple render elements.

Default V-Ray is the default engine. It is slower but more accurate.

NVIDIA AI requires a compatible NVIDIA GPU. It is faster but less accurate.

Intel Open Image Denoise uses V-Ray's integration of Intel Open Image Denoise. It runs on an NVIDIA GPU by default. If no compatible NVIDIA GPU is available, it falls back to the CPU automatically.

Preset sets the denoising strength preset.

Default (Strength=1, Radius=10) applies a medium level of denoising.
Mild (Strength=0.5, Radius=5) applies less denoising than Default.
Strong (Strength=2, Radius=15) applies more denoising than Default.
Custom lets you set the Strength and Radius values.

Strength sets the denoising strength when Preset is set to custom. Higher values remove more noise but may blur the image too much. The default value of 1.0 uses the noise level render element as it is.

Radius sets the denoising radius in pixels when Preset is set to custom. Higher values slow down denoising but may produce smoother results.

Threshold sets the denoising threshold when the noise levels render element is missing. This usually matches the noise threshold for anti-aliasing in V-Ray.

Boost increases the effect of the selected preset.

Wrap Around Border improves denoising quality for a 360 panorama view. It reduces artefacts where the left and right borders join.

Temporal mode is available only with the NVIDIA AI denoiser. It uses information from previous frames to smooth transitions in animations.

NVidia AI upscale is available only with the NVIDIA AI denoiser. When enabled, it uses NVIDIA's AI upscaling to increase the saved image to 2x its original resolution. This machine learning method produces more detailed results than standard image interpolation.

Hardware acceleration attempts to use all suitable OpenCL (GPU) devices. If it cannot use them, the denoiser falls back to the CPU.

GPU Memory Limit (MB) sets the maximum GPU memory use when Hardware acceleration is enabled. The default value of 0 uses all available memory.

Verbosity sets the type of information printed during denoising.

Display Progress shows the denoising result in a preview window when enabled.

Auto-Close closes the preview window automatically when denoising finishes.

Save config saves the current denoising configuration to an .xml file.

Load config loads a saved .xml denoiser configuration.

Denoise denoises the selected frames.

VDenoise dialog with the Default V-Ray engine, custom preset and Denoise button.

Default V-Ray denoiser

VDenoise dialog with the NVIDIA AI engine selected and Temporal Mode and Upscale Mode unticked.

NVIDIA AI denoiser

VDenoise dialog with the Intel Open Image engine selected and custom denoising settings.

Intel Open Image denoiser

Select denoise elements dialog

Select denoise elements dialog with the 'all' preset selected and RGB color set as the main element.

Choose preset sets which colour elements to denoise:

all denoises all colour elements using RGB colour as the main element.
marked denoises all colour elements marked for denoising in the host application before rendering. It uses RGB colour as the main element.
custom lets you select the colour elements manually.

Main element sets the element used as the basis for denoising all elements.

To denoise Render Elements in the Denoiser Tool's graphical interface:

  1. Load the multichannel .exr file into the latest VDenoiser.
  2. Select the Render Elements to denoise in the Select denoise elements dialog.
  3. VDenoise saves the denoised Render Elements in a new file.
  4. Load the denoised Render Elements into your compositing software.

Use the command line

You can run the denoiser from the command line without the graphical interface. Use the commands below to denoise an image or image sequence. The Denoiser Options tables list the settings you can change through the command line.

Denoise still images

To denoise a single .vrimg or .exr image, use this command format:

vdenoise -inputFile="path\ o\image.exr"

Replace path\ o\image.ext with the path and file name of the .vrimg or .exr file to denoise.

For a file named render.exr in the c:\ enderoutput folder, the full command is:

vdenoise -inputFile="c:\ enderoutput\ ender.exr"

Denoise animations

Render all frames before denoising an image sequence. The denoiser needs to assess several frames at once. Use this command format:

vdenoise -inputFile="path\ o\sequence_????.exr"

Each question mark (?) replaces a digit in the sequence's file names.

For files named anim_0001.exr, anim_0002.exr and so on in the c:\ enderoutput folder, the full command is:

vdenoise -inputFile="c:\ enderoutput\anim_????.exr"

Denoiser options

Use optional command-line switches to control the denoiser. To list the available options in the command prompt, run vdenoise without arguments or use the -help switch:

vdenoise -help

The table below lists the optional switches also shown by vdenoise -help. Start each switch with a hyphen (-), then add an equals sign (=) and the parameter shown in the table.

Switch

Description

Switch

Description

-configFile="ConfigFile.xml"

Sets all denoising parameters from the specified configuration file. The denoiser ignores any other options you specify.

-inputFile="<fileName.exr>"

Sets the input .vrimg or .exr file. You can include paths and wildcards, such as a question mark (?) for a digit in a file name. Examples:

vdenoise -inputFile="c:\ enderoutput\ ender.exr" denoises a single image named render.exr in the c:\ enderoutput folder.
vdenoise -inputFile="c:\ enderoutput\anim_????.exr" denoises a sequence named anim_0001.exr, anim_0002.exr and so on in the c:\ enderoutput folder.

Render all frames before denoising an image sequence. The denoiser needs to assess several frames at once.

-lensEffectsParams="filename.vrscene"

Loads all lens effects parameters from the specified configuration file. Use this option to apply Lens Effects to the denoised image with settings from the .vrscene file.

-lensEffectsParams="filename.vlplfx"

The New VFB exports lens effects in .vlplfx format.

vdenoise -inputfile=C:\Users\UserName\Desktop\LENS.exr -lensEffectsParams=C:\Users\UserName\Desktop\LENS.vlplfx denoises the image, then applies the lens effects configuration file.

-mode=strong | default | mild

Sets one of three presets for the radius, threshold and noise level multiplier.

-boost=0|1|2

Increases the effect of the selected preset.
0 applies no boost (default).
1 applies a moderate boost.
2 applies a large boost.

-skipExisting=0|1

Sets what happens when a corresponding output image already exists.
0 processes the input image and overwrites the existing output image (default).
1 skips the input image and leaves the existing output image unchanged.

-frames= N-Na; Nb | N-Na, Nc

Sets the frames or frame intervals to process.
N is the start frame.
Na is the end frame.
Nb is a single frame.
Nc is the frame increment. If you do not specify this switch, the denoiser processes all frames in the sequence.

Example:

"-frames= 1-100; 160-180; 200;201" processes frames 1 to 100, 160 to 180, 200 and 201 from the animation.

"-frames= 1-200, 2" processes every second frame from 1 to 200.

-denoiseElements="elementName{;elementName}"

-denoiseElements=all

With <elementName>, sets which render elements to denoise. Element names can include wildcards and are not case sensitive.

If you do not specify this switch, the denoiser processes RGB Color, Alpha and all colour elements marked for denoising in the input file.

The first matching render element becomes the main element used as the basis for denoising all elements.

For example, "rgb colour;vrayreflection;*lightselect*" denoises RGB Color, VRayReflection and all light select elements, using RGB Color as the main element.

With "all", denoises all colour elements in the input file using RGB Color as the main element.

-display= 0 | 1

Sets whether to show the denoising result in a preview window.
0 hides the preview window.
1 shows the preview window (default).

-autoClose=0 | 1

Sets whether the preview window closes automatically after denoising.
0 waits for you to close the preview window (default).
1 closes the preview window automatically.

-useCpu=1

Forces the denoiser to use the CPU even when OpenCL support is available.

-useGpu=0 | 1 | 2

Sets whether denoising uses the GPU (OpenCL) or CPU.
0 uses the CPU (default).
1 attempts to use the best available OpenCL device and falls back to the CPU if unsuccessful (experimental).
2 attempts to use all suitable OpenCL devices and falls back to the CPU if unsuccessful.

-verboseLevel=0 | 1 | 2 | 3 | 4

Sets the level of information printed to standard output.
0 prints no information.
1 prints only errors.
2 prints only errors and warnings.
3 prints only errors, warnings and informational messages (default).
4 prints all output.

-outputDirectory="string"

Sets the full or relative path to the output directory for denoised files. The denoiser creates the directory if it does not exist. If you do not specify a directory, it saves the output in the input files' directory.

Advanced options

Switch

Description

Switch

Description

-abortOnOpenCLError=0 | 1

Sets what happens if an error occurs while the denoiser attempts to use OpenCL.
0 falls back to the CPU if an error occurs (default).
1 cancels denoising if any OpenCL error occurs.

-strength=N

Sets the denoising strength based on noise in the noiseLevel Render Element. Higher values remove more noise but may blur the image too much. The default value of 1.0 uses the noise in the noiseLevel Render Element as it is, without increasing the strength.

-radius=N

Sets the denoising radius in pixels. Higher values slow down denoising but may produce smoother results. The default is 10 pixels, which matches the Default preset.

-frameBlend=N

Sets how many adjacent frames the denoiser uses for animations. Higher values help reduce flickering between adjacent frames. The default is 1, which uses one frame before and one frame after the current frame.

-oclquery="<string>"

Sets which OpenCL devices to use for denoising. Examples:
-oclquery="nvidia" uses only NVIDIA OpenCL devices.
-oclquery="fiji" uses only Fiji-based AMD OpenCL devices.

-strips=N

Splits the image into N strips for processing. The default is -1 (negative 1), which uses an algorithm to choose the optimum number of strips automatically.

-autoRadius=0 | 1

Sets whether the denoiser adjusts its radius automatically based on noise in the noiseLevel Render Element.
0 uses a fixed radius for the whole image, set by -radius or the default value of 10 (default).
1 adjusts the denoising radius automatically. This may slow down denoising considerably for very noisy images.

-threshold=N

Sets the denoising threshold when the noiseLevel Render Element is missing. This usually matches the noise threshold for antialiasing in V-Ray. If you do not set this switch, the denoiser relies on the noiseLevel Render Element and uses a threshold of 0.001.

-memLimit=N

Limits GPU memory use to N gigabytes. The default value of 0 uses all available memory.

-outputOffset=N

Offsets the output file's frame number, if present. Example:

-frames=0-20 -outputOffset=10 produces output frame numbers 0010,0011,0012,...,0030

Using -frames=0-20 -outputOffset=-4 produces -004,-003,-002,...,0016
The default is 0, which applies no offset.

Offset the denoiser output

To offset the output file's frame number, use this flag:

-outputOffset=n

Set n to an integer to offset the denoised animation's output frame numbers. The default value of 0 leaves the frame numbers unchanged.

For example, use these flags to produce output frame numbers 0010, 0011, 0012, ..., 0030:

-frames=0-20 -outputOffset=10

You can also use negative integers. These flags produce output frame numbers -004, -003, -002, ..., 0016:

-frames=0-20 -outputOffset=-4

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your V-Ray licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with V-Ray are handled by Chaos support.