Skip to content

Getting started

Requirements

  • TouchDesigner 2025.33230 or later. This release is tested on TouchDesigner 2025.33230.
  • On Windows, a GPU with hardware ray tracing: an NVIDIA RTX card. AMD Radeon RX 6000 and newer also have hardware ray tracing and should work, but are not tested.
  • On macOS, any Mac that runs TouchDesigner. See On macOS.
  • For the DLSS denoiser: Windows, an NVIDIA RTX GPU with a current driver, and the DLSS plugin DlssTOP.dll that comes with the Pathtracer. Without them, use the Accumulate method.

On macOS

Macs have no hardware ray tracing, so there the Pathtracer traces in software, by itself. The image is the same; it takes longer to come clean. Lower Samples per Frame if TouchDesigner turns sluggish. DLSS needs Windows, so on a Mac the Pathtracer sets Method to Accumulate by itself.

The files

The download, Pathtracer.zip, holds:

File What it is
PT_FAM.tox The Pathtracer, PT GEO, PT MAT, PT LIGHT and PT T3D as an operator family, created from the OP Create Dialog.
DlssTOP.dll The DLSS plugin, needed only for the DLSS method.
install_DLSS.bat Installs DlssTOP.dll on Windows.

The operator family

Drag PT_FAM.tox into your project. It adds the PT family to the OP Create Dialog, so you create the Pathtracer, PT GEO, PT MAT, PT LIGHT and PT T3D with Tab like TouchDesigner's own operators. Keep it in the project: it adds the family again each time the project opens.

The DLSS plugin

Run install_DLSS.bat in the unzipped folder. It moves DlssTOP.dll into a folder named Pathtracing beside the palette folder, Documents\Derivative\Pathtracing\DlssTOP.dll, where the Pathtracer's DLSS Plugin parameter points by default. To install it by hand, move the file there: beside the palette folder, not inside it. To keep the plugin elsewhere, type its path into DLSS Plugin.

A first scene

This builds a sphere on a floor under a rectangular light.

  1. The sphere. Create a Sphere POP with a radius of 0.5 and wire it into a PT GEO. Create a PT MAT, drag it onto the PT GEO's Material parameter and give it a Base Color. Set the PT GEO's Translate Y to 0.5 so the sphere sits on the floor.
  2. The floor. Create a Grid POP with a size of 6 × 6 and wire it into a second PT GEO. Set that PT GEO's Rotate X to −90 so the grid lies flat, and give it its own PT MAT.
  3. The light. Add a PT LIGHT. Its Type is Rectangle. Set its Translate to 0, 3, 0 and its Rotate X to −90, so it hangs above the sphere and shines down.
  4. The camera. Add a Camera COMP, set its Translate to 0, 1.5, 5 and its Rotate X to −12. The Pathtracer renders from cam1 by default, the name TouchDesigner gives the first camera.
  5. The renderer. Add the Pathtracer in the same network. It finds the PT GEOs, the PT LIGHT and the camera beside it on its own.
  6. The image. Connect a Null TOP to the Pathtracer's output.

When the Pathtracer is created it prepares its shaders, and TouchDesigner pauses for about ten seconds; the status bar says so. That happens once for each Pathtracer (a copy or a renamed one counts as new): afterwards TouchDesigner has them cached, also after a restart. Press Optimize once the scene is set up for the fastest render, which pauses about as long once more.

By default the image has the size of the project's main panel. To choose a size, turn off Panel Resolution and set Resolution. If the image is too dark or too bright, change Exposure, or the light's Strength.

The image is encoded for the screen (sRGB on the Output page); turn sRGB off when it goes on to compositing that expects linear light.

With the default Method, DLSS, the image is clean at once and stays clean while things move. For a still image, switch Method to Accumulate and let it run: the image gets cleaner with every frame for as long as nothing changes.

If the image shows a message instead, such as Nothing to render or No light, it says what is missing. See Troubleshooting.

Next