Back to Hermes Agent

TouchDesigner Operator Reference

skills/creative/touchdesigner-mcp/references/operators.md

2026.6.514.4 KB
Original Source

TouchDesigner Operator Reference

Operator Families Overview

TouchDesigner has 6 operator families. Each family processes a specific data type and is color-coded in the UI. Operators can only connect to others of the SAME family (with cross-family converters as the bridge).

TOPs — Texture Operators (Purple)

2D image/texture processing on the GPU. The workhorse of visual output.

Generators (create images from nothing)

OperatorType NameKey ParametersUse
Noise TOPnoiseToptype (0-6), monochrome, seed, period, harmonics, exponent, amp, offset, resolutionw/hProcedural noise textures — Perlin, Simplex, Sparse, etc. Foundation of generative art.
Constant TOPconstantTopcolorr/g/b/a, resolutionw/hSolid color. Use as background or blend input.
Text TOPtextToptext, fontsizex, fontfile, alignx/y, colorr/g/bRender text to texture. Supports multi-line, word wrap.
Ramp TOPrampToptype (0=horizontal, 1=vertical, 2=radial, 3=circular), phase, periodGradient textures for masking, color mapping.
Circle TOPcircleTopradiusx/y, centerx/y, widthCircles, rings, ellipses.
Rectangle TOPrectangleTopsizex/y, centerx/y, softnessRectangles with optional softness.
GLSL TOPglslTopdat (points to shader DAT), resolutionw/h, outputformat, custom uniformsCustom fragment shaders. Most powerful TOP for custom visuals.
GLSL Multi TOPglslmultiTopdat, numinputs, numoutputs, numcomputepassesMulti-pass GLSL with compute shaders. Advanced.
Render TOPrenderTopcamera, geometry, lights, resolutionw/hRenders 3D scenes (SOPs + MATs + Camera/Light COMPs).

Filters (modify a single input)

OperatorType NameKey ParametersUse
Level TOPlevelTopopacity, brightness1/2, gamma1/2, contrast, invert, blacklevel/whitelevelBrightness, contrast, gamma, levels. Essential color correction.
Blur TOPblurTopsizex/y, type (0=Gaussian, 1=Box, 2=Bartlett)Gaussian/box blur.
Transform TOPtransformToptx/ty, sx/sy, rz, pivotx/y, extend (0=Hold, 1=Zero, 2=Repeat, 3=Mirror)Translate, scale, rotate textures.
HSV Adjust TOPhsvadjustTophueoffset, saturationmult, valuemultHSV color adjustments.
Lookup TOPlookupTop(input: texture + lookup table)Color remapping via lookup table texture.
Edge TOPedgeToptype (0=Sobel, 1=Frei-Chen)Edge detection.
Displace TOPdisplaceTopscalex/yPixel displacement using a second input as displacement map.
Flip TOPflipTopflipx, flipy, flop (diagonal)Mirror/flip textures.
Crop TOPcropTopcropleft/right/top/bottomCrop region of texture.
Resolution TOPresolutionTopresolutionw/h, outputresolutionResize textures.
Null TOPnullTop(none significant)Pass-through. Use for organization, referencing, feedback delay.
Cache TOPcacheToplength, stepStore N frames of history. Useful for trails, time effects.

Compositors (combine multiple inputs)

OperatorType NameKey ParametersUse
Composite TOPcompositeTopoperand (0-31: Over, Add, Multiply, Screen, etc.)Blend two textures with standard compositing modes.
Over TOPoverTop(simple alpha compositing)Layer with alpha. Simpler than Composite.
Add TOPaddTop(additive blend)Additive blending. Great for glow, light effects.
Multiply TOPmultiplyTop(multiplicative blend)Multiply blend. Good for masking, darkening.
Switch TOPswitchTopindex (0-based)Switch between multiple inputs by index.
Cross TOPcrossTopcross (0.0-1.0)Crossfade between two inputs.

I/O (input/output)

OperatorType NameKey ParametersUse
Movie File In TOPmoviefileinTopfile, speed, trim, indexLoad video files, image sequences.
Movie File Out TOPmoviefileoutTopfile, type (codec), record (toggle)Record/export video files.
NDI In TOPndiinTopsourcenameReceive NDI video streams.
NDI Out TOPndioutTopsourcenameSend NDI video streams.
Syphon Spout In/Out TOPsyphonspoutinTop / syphonspoutoutTopservernameInter-app texture sharing.
Video Device In TOPvideodeviceinTopdeviceWebcam/capture card input.
Feedback TOPfeedbackToptop (path to the TOP to feed back)One-frame delay feedback. Essential for recursive effects.

Converters

OperatorType NameDirectionUse
CHOP to TOPchoptopTopCHOP -> TOPVisualize channel data as texture (waveform, spectrum display).
TOP to CHOPtopchopChopTOP -> CHOPSample texture pixels as channel data.

CHOPs — Channel Operators (Green)

Time-varying numeric data: audio, animation curves, sensor data, control signals.

Generators

OperatorType NameKey ParametersUse
Constant CHOPconstantChopname0/value0, name1/value1...Static named channels. Control panel for parameters.
LFO CHOPlfoChopfrequency, type (0=Sin, 1=Tri, 2=Square, 3=Ramp, 4=Pulse), amp, offset, phaseLow frequency oscillator. Animation driver.
Noise CHOPnoiseChoptype, roughness, period, amp, seed, channelsSmooth random motion. Organic animation.
Pattern CHOPpatternChoptype (0=Sine, 1=Triangle, ...), length, cyclesGenerate waveform patterns.
Timer CHOPtimerChoplength, play, cue, cyclesCountdown/count-up timer with cue points.
Count CHOPcountChopthreshold, limittype, limitmin/maxEvent counter with wrapping/clamping.

Audio

OperatorType NameKey ParametersUse
Audio File In CHOPaudiofileinChopfile, volume, play, speed, trimPlay audio files.
Audio Device In CHOPaudiodeviceinChopdevice, channelsLive microphone/line input.
Audio Spectrum CHOPaudiospectrumChopsize (FFT size), outputformat (0=Power, 1=Magnitude)FFT frequency analysis.
Audio Band EQ CHOPaudiobandeqChopbands, gaindb per bandFrequency band isolation.
Audio Device Out CHOPaudiodeviceoutChopdeviceAudio playback output.

Math/Logic

OperatorType NameKey ParametersUse
Math CHOPmathChoppreoff, gain, postoff, chanop (0=Off, 1=Add, 2=Subtract, 3=Multiply...)Math operations on channels. The Swiss army knife.
Logic CHOPlogicChoppreop (0=Off, 1=AND, 2=OR, 3=XOR, 4=NAND), convertBoolean logic on channels.
Filter CHOPfilterChoptype (0=Low Pass, 1=Band Pass, 2=High Pass, 3=Notch), cutofffreq, filterwidthSmooth, dampen, filter signals.
Lag CHOPlagChoplag1/2, overshoot1/2Smooth transitions with overshoot.
Limit CHOPlimitChoptype (0=Clamp, 1=Loop, 2=ZigZag), min/maxClamp or wrap channel values.
Speed CHOPspeedChop(none significant)Integrate values (velocity to position, acceleration to velocity).
Trigger CHOPtriggerChopattack, peak, decay, sustain, releaseADSR envelope from trigger events.
Select CHOPselectChopchop (path), channamesReference channels from another CHOP.
Merge CHOPmergeChopalign (0=Extend, 1=Trim to First, 2=Trim to Shortest)Combine channels from multiple CHOPs.
Null CHOPnullChop(none significant)Pass-through for organization and referencing.

Input Devices

OperatorType NameUse
Mouse In CHOPmouseinChopMouse position, buttons, wheel.
Keyboard In CHOPkeyboardinChopKeyboard key states.
MIDI In CHOPmidiinChopMIDI note/CC input.
OSC In CHOPoscinChopOSC message input (network).

SOPs — Surface Operators (Blue)

3D geometry: points, polygons, NURBS, meshes.

Generators

OperatorType NameKey ParametersUse
Grid SOPgridSoprows, cols, sizex/y, type (0=Polygon, 1=Mesh, 2=NURBS)Flat grid mesh. Foundation for displacement, instancing.
Sphere SOPsphereSoptype, rows, cols, radiusSphere geometry.
Box SOPboxSopsizex/y/zBox geometry.
Torus SOPtorusSopradiusx/y, rows, colsDonut shape.
Circle SOPcircleSoptype, radius, divsCircle/ring geometry.
Line SOPlineSopdist, pointsLine segments.
Text SOPtextSoptext, fontsizex, fontfile, extrude3D text geometry.

Modifiers

OperatorType NameKey ParametersUse
Transform SOPtransformSoptx/ty/tz, rx/ry/rz, sx/sy/szTransform geometry (translate, rotate, scale).
Noise SOPnoiseSoptype, amp, period, roughnessDeform geometry with noise.
Sort SOPsortSopptsort, primsortReorder points/primitives.
Facet SOPfacetSopunique, consolidate, computenormalsNormals, consolidation, unique points.
Merge SOPmergeSop(none significant)Combine multiple geometry inputs.
Null SOPnullSop(none significant)Pass-through.

DATs — Data Operators (White)

Text, tables, scripts, network data.

Core

OperatorType NameKey ParametersUse
Table DATtableDat(edit content directly)Spreadsheet-like data tables.
Text DATtextDat(edit content directly)Arbitrary text content. Shader code, configs, scripts.
Script DATscriptDatlanguage (0=Python, 1=C++)Custom callbacks and DAT processing.
CHOP Execute DATchopexecDatchop (path to watch), callbacksTrigger Python on CHOP value changes.
DAT Execute DATdatexecDatdat (path to watch)Trigger Python on DAT content changes.
Panel Execute DATpanelexecDatpanelTrigger Python on UI panel events.

I/O

OperatorType NameKey ParametersUse
Web DATwebDaturl, fetchmethod (0=GET, 1=POST)HTTP requests. API integration.
TCP/IP DATtcpipDataddress, port, modeTCP networking.
OSC In DAToscinDatportReceive OSC as text messages.
Serial DATserialDatport, baudrateSerial port communication (Arduino, etc.).
File In DATfileinDatfileRead text files.
File Out DATfileoutDatfile, writeWrite text files.

Conversions

OperatorType NameDirectionUse
DAT to CHOPdattochopChopDAT -> CHOPConvert table data to channels.
CHOP to DATchoptodatDatCHOP -> DATConvert channel data to table rows.
SOP to DATsoptodatDatSOP -> DATExtract geometry data as table.

MATs — Material Operators (Yellow)

Materials for 3D rendering in Render TOP / Geometry COMP.

OperatorType NameKey ParametersUse
Phong MATphongMatdiff_colorr/g/b, spec_colorr/g/b, shininess, colormap, normalmapClassic Phong shading. Simple, fast.
PBR MATpbrMatbasecolorr/g/b, metallic, roughness, normalmap, emitcolorr/g/bPhysically-based rendering. Realistic materials.
GLSL MATglslMatdat (shader DAT), custom uniformsCustom vertex + fragment shaders for 3D.
Constant MATconstMatcolorr/g/b, colormapFlat unlit color/texture. No shading.
Point Sprite MATpointspriteMatcolormap, scaleRender points as camera-facing sprites. Great for particles.
Wireframe MATwireframeMatcolorr/g/b, widthWireframe rendering.
Depth MATdepthMatnear, farRender depth buffer as grayscale.

COMPs — Component Operators (Gray)

Containers, 3D scene elements, UI components.

3D Scene

OperatorType NameKey ParametersUse
Geometry COMPgeometryCompmaterial (path), instancechop (path), instancing (toggle)Renders geometry with material. Instancing host.
Camera COMPcameraComptx/ty/tz, rx/ry/rz, fov, near/farCamera for Render TOP.
Light COMPlightComplighttype (0=Point, 1=Directional, 2=Spot, 3=Cone), dimmer, colorr/g/bLighting for 3D scenes.
Ambient Light COMPambientlightCompdimmer, colorr/g/bAmbient lighting.
Environment Light COMPenvlightCompenvmapImage-based lighting (IBL).

Containers

OperatorType NameKey ParametersUse
Container COMPcontainerCompw, h, bgcolor1/2/3UI container. Holds other COMPs for panel layouts.
Base COMPbaseComp(none significant)Generic container. Networks-inside-networks.
Replicator COMPreplicatorComptemplate, operatorsdatClone a template operator N times from a table.

Utilities

OperatorType NameKey ParametersUse
Window COMPwindowCompwinw/h, winoffsetx/y, monitor, bordersOutput window for display/projection.
Select COMPselectComprowcol, panelSelect and display content from elsewhere.
Engine COMPengineComptox, externaltoxLoad external .tox components. Sub-process isolation.

Cross-Family Converter Summary

FromToOperatorType Name
CHOPTOPCHOP to TOPchoptopTop
TOPCHOPTOP to CHOPtopchopChop
DATCHOPDAT to CHOPdattochopChop
CHOPDATCHOP to DATchoptodatDat
SOPCHOPSOP to CHOPsoptochopChop
CHOPSOPCHOP to SOPchoptosopSop
SOPDATSOP to DATsoptodatDat
DATSOPDAT to SOPdattosopSop
SOPTOP(use Render TOP + Geometry COMP)
TOPSOPTOP to SOPtoptosopSop