Docs Parameters

SetSmoothness

Set Input/Viewer Smoothness on selected TOPs, or on every TOP in the network.

◎ Parameters Toolbar button

Why use it

Pixel art, LED maps and anything on a low-resolution grid need nearest-neighbour filtering, and TouchDesigner defaults to linear. Switching a dozen TOPs by hand means opening each one's Common page and changing two menus, again for every TOP you add.

SetSmoothness puts both settings behind one toolbar menu and writes them to the TOPs you have selected, or to every TOP in the network.

Features

How to use it

  1. Select the TOPs you want to change.
  2. Click the SetSmoothness button on the toolbar and pick a filtering mode. It is written to both Input Smoothness and Viewer Smoothness on the Common page of every selected TOP.
  3. To change every TOP in the network you are in, hold Alt while you pick. The button's own tooltip says so: "Press ALT to set all in a Comp."

All the changes from one pick are a single undo step.

The two settings do different jobs. Input Smoothness is how a texture is sampled as it comes into an operator; Viewer Smoothness is how it is filtered when drawn on screen. The toolbar menu sets both to the same mode. To give them different values, set Input Smoothness and Viewer Smoothness on the SetSmoothness component, then pulse Selected or All.

Both actions are also quick-launch commands, Smoothness -> selected and Smoothness -> all, so they can be fired from CommandKit with no toolbar button at all. They use the two values set on the component.

Components that carry their own Input Smoothness or Viewer Smoothness parameters, such as RealRamp and ComplexMix, are set along with the TOPs.

Get it

Tick it on the install page and it installs with the rest of your setup and stays up to date.

Download FNS_SetSmoothness.tox Version 3.2.10, the tool on its own. It works in any project, and this copy never updates itself.

Where it appears

Parameters

Its Registry page comes from FNS_ConfigRegistry and FNS_ToolbarRegistry.

Custom

ControlType / defaultWhat it does
Input SmoothnessInputfiltertype menuInterpolate Pixels The Input Smoothness value written to the TOPs you apply to: how the texture is sampled coming in. 'Use Input' leaves each TOP's existing setting alone.
Options: Nearest Pixel, Interpolate Pixels, Mipmap Pixels
Viewer SmoothnessFiltertype menuMipmap Pixels The Viewer Smoothness value written to the TOPs you apply to: how the texture is filtered when displayed. 'Use Input' leaves each TOP's existing setting alone.
Options: Nearest Pixel, Interpolate Pixels, Mipmap Pixels
SelectedSelected button Apply the two smoothness settings above to the currently selected TOPs.
AllAll button Apply the two smoothness settings above to every TOP in the current network.
Modifier KeyKeys textempty Modifier held while scrolling to set input smoothness on the hovered operator.