> tools

Path Tracer

tools/path-tracer·v1.3.0
IN:1  OUT:1

Path Tracer is a GPU-accelerated physically-based renderer using the new ray query extension from TouchDesigner to compute ray-geometry intersections. This operator implements Monte Carlo path tracing with the Disney principled BRDF material model, enabling realistic lighting and material simulation. Path Tracer is currently available on Windows only.

Path Tracer supports both Realtime and Offline rendering modes. Realtime mode includes motion blur and a choice of Custom SVGF or NVIDIA OptiX denoising. Offline mode supports progressive sample refinement for clean convergence. Camera effects include depth of field with focal length and aperture controls, and tone mapping for HDR output. Materials are assigned by connecting a POPX Material operator before the Path Tracer. All lighting, environment maps, and direct lights are controlled via the POPX Light operator.

PAGEPath Tracer
Refine SamplesRefinesamplesEnables progressive sample refinement in offline mode.
Max Refine SamplesMaxrefinesamplesMaximum number of refinement samples to accumulate in offline mode.
DoneDoneRead-only indicator showing refinement completion status.
Render TOPRendertopReference to Render TOP providing camera and viewport settings that the path tracer will render to.
ResetResetPulse to reset progressive accumulation and restart rendering.
Lock InputLockinputFreeze input geometry to prevent updates during progressive rendering.
Rays per PixelRaysperpixelNumber of rays cast per pixel per frame.
Max BouncesMaxbouncesMaximum ray bounce depth for global illumination.
Render EmissivesRenderemissivesEnables rendering of emissive materials as light sources.
Enable Microfacet RefractionMicrofacetrefractionEnables microfacet-based refraction model for rough transmissive materials.
Enable Firefly ClampEnablefireflyclampClamps extremely bright samples to reduce firefly artifacts.
Firefly ClampFireflyclampMaximum brightness value for firefly clamping.
Focal LengthFocallengthDistance from camera where objects are in sharp focus.
ApertureApertureCamera aperture size for depth of field.
Show Focal PlaneShowfocalplaneDisplays the focal plane in the viewport for visualization.
Focal Plane SizeFocalplanesizeSize of the focal plane visualization.
Enable Motion BlurEnablemotionblurEnables motion blur effect in realtime mode.
StrengthBlurstrengthMotion blur intensity.
SamplesBlursamplesNumber of samples for motion blur quality.
Enable Tone MapEnabletonemapApply tone mapping to convert HDR output to display range.
ExposureExposureExposure multiplier for tone mapping.
GammaGammaGamma correction value for tone mapping output.
PAGEDenoiser
Use Motion VectorsUsemotionvectorsUses motion vectors for temporal reprojection accuracy.
Normal RejectNormalrejectThreshold for rejecting temporal samples based on surface normal differences.
Depth RejectDepthrejectThreshold for rejecting temporal samples based on depth differences.
Albedo RejectAlbedorejectThreshold for rejecting temporal samples based on albedo differences.
Diffuse History BlendDiffusehistoryblendTemporal blend factor for diffuse lobe history accumulation.
Diffuse Variance BlendDiffusevarianceblendTemporal blend factor for diffuse variance estimation.
Specular History BlendSpecularhistoryblendTemporal blend factor for specular lobe history accumulation.
Specular Variance BlendSpecularvarianceblendTemporal blend factor for specular variance estimation.
Diffuse Atrous PassesDiffpassesNumber of a-trous wavelet filter passes for diffuse spatial denoising.
Diffuse Color SensitivityDiffcolorSensitivity to color differences in diffuse spatial filtering.
Diffuse Normal SensitivityDiffnormalSensitivity to surface normal differences in diffuse spatial filtering.
Diffuse Depth SensitivityDiffdepthSensitivity to depth differences in diffuse spatial filtering.
Specular Blur PassesSpecpassesNumber of a-trous wavelet filter passes for specular spatial denoising.
Specular Color SensitivitySpeccolorSensitivity to color differences in specular spatial filtering.
Specular Normal SensitivitySpecnormalSensitivity to surface normal differences in specular spatial filtering.
Specular Depth SensitivitySpecdepthSensitivity to depth differences in specular spatial filtering.
Smooth ReflectionsSmoothreflectionsAmount of specular reflection smoothing based on roughness.
Plugin PathOptixpluginFile path to the NVIDIA OptiX denoiser plugin.
Re-InitOptixreinitpulseRe-initializes the OptiX denoiser.
History BlendOptixhistoryblendTemporal history blend factor for OptiX denoiser.
Normal RejectOptixnormalrejectThreshold for rejecting temporal samples based on surface normal differences for OptiX denoiser.
Depth RejectOptixdepthrejectThreshold for rejecting temporal samples based on depth differences for OptiX denoiser.
Albedo RejectOptixalbedorejectThreshold for rejecting temporal samples based on albedo differences for OptiX denoiser.
Plugin PathDlsspluginFile path to the NVIDIA DLSS denoiser plugin.
Re-InitDlssreinitpulseRe-initializes the DLSS denoiser.
PAGEDenoiser
PAGECommon
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Input 0 POP Geometry
Output 0 POP POPX_out1