Skip to content

Surface T3D

Summary

The Surface T3D renders a volume as a solid object: the surface where the volume reaches Threshold, shaded like a Constant, PBR or Phong material and lit by your scene's lights. Use it for signed distance shapes from SDF, Metaball or GEO To, or to give any density a hard skin.

Set Render TOP to the Render TOP it appears in. A second input colours the surface, Use Maps adds volumes that vary the material across it, and Refraction Steps makes it glass-like, showing an environment or a backdrop image through it. Extra colour buffers can hold positions and normals for compositing.

Parameters - Surface Page

Threshold Threshold - Where the surface is: the value the volume crosses. Lower values give a bigger shape. Float · default 0.5

Channel Channel ⊞ - Which value of the volume is used. Menu · default Red

Normal Smoothing Normalsmoothing - Smooths the shading of a blocky surface. Float · default 1 · min 0.05

Panel COMP Refpanel - Part of the operator's built-in viewer. Leave it as it is. PanelCOMP · default ./cameraViewport/renderView

Render TOP Refrender - The Render TOP the surface appears in. TOP · default ./cameraViewport/renderView/render1

T3D Transform Reference Transformreference - The T3D operator the volume came from, to render it where its source was. COMP

Parameters - Material Page

Type Type ⊞ - The material, as TouchDesigner's Constant, PBR and Phong MATs. Menu · default Phong

  • Constant Constant
  • PBR PBR
  • Phong Phong

Constant Constant - Settings of the Constant material. Header

Color Colorr Colorg Colorb ⊞ - The colour, unlit. RGBA × 3 · default 1

PBR Pbr - Settings of the PBR material. Header

Base Color Basecolorr Basecolorg Basecolorb ⊞ - The base colour. RGBA × 3 · default 1

Specular Level Specularlevel - How shiny non-metals are. Float · default 1 · min 0

Metallic Metallic - Metal (1) or not (0). Float · default 1 · min 0

Roughness Roughness - Rough (1) or mirror-like (0). Float · default 1 · min 0

Ambient Occlusion Ambientocclusion - Darkens the ambient light. Float · default 1 · min 0

Phong Phong - Settings of the Phong material. Header

Ambient uses Diffuse Ambdiff - Uses the Diffuse colour for ambient light too. Toggle · default On

Diffuse Diffr Diffg Diffb ⊞ - The diffuse colour. RGBA × 3 · default 0.7

Ambient Ambr Ambg Ambb ⊞ - The ambient colour. RGBA × 3 · default 0.7

Specular Specr Specg Specb ⊞ - The highlight colour. RGBA × 3 · default 0.3

Emit Emitr Emitg Emitb ⊞ - A glow, independent of lighting. RGBA × 3 · default 0

Constant Constant2r Constant2g Constant2b ⊞ - A colour added on top. RGBA × 3 · default 0

Shininess Shininess - How tight the highlights are. Float · default 100 · min 1

Parameters - Refraction Page

Refraction Steps Refractionsteps - Makes the surface glass-like: how many times light passes through it. 0 is solid. Int · default 0

Translucency Translucency - How much of what is behind shows through. Float · default 0.25

Refraction Index Refractionindex - How strongly light bends: 1 not at all, 1.33 water, 1.5 glass. Float · default 1 · min 0.001

Fresnel Fresnel - Reflects more at glancing angles, as real glass does. Toggle · default On

Occlusion Strength Occlusionstrength - Tints light inside the shape, like coloured glass. Float · default 0

Use Color Map Usecolormap - Uses the Color input for that tint. Toggle · default Off

Occlusion Color Occlusioncolorr Occlusioncolorg Occlusioncolorb ⊞ - The tint inside the shape. RGBA × 3 · default 0

Background Background - What is seen through the surface. Header

Mode Bgmode ⊞ - An environment image all around, or a backdrop image behind the shape. Menu · default Environmental Map

  • Environmental Map EnvironmentalMap
  • Backdrop Backdrop

Environment Map Environmentmap - The environment image. TOP

Environment Map Rotate Envlightmaprotatex Envlightmaprotatey Envlightmaprotatez ⊞ - Rotates the environment. Float × 3 · default 0

Backdrop Backdrop - The backdrop image. TOP

Backdrop Distance Backdropdistance - How far behind the shape the backdrop is. Float · default 5

Backdrop Prefit Backdropprefit ⊞ - How the backdrop image is fitted. Menu · default Fill

  • Fill fill
  • Fit Horizontal fithorz
  • Fit Vertical fitvert
  • Fit Best fitbest
  • Fit Outside fitoutside
  • Native Resolution nativeres

Backdrop Pre-Shrink Preshrink - Blurs the backdrop, faster. Int · default 1 · min 1

Backdrop Filter Size Size - How much the backdrop is blurred. Int · default 7 · min 1

Backdrop Extend Backdropextend ⊞ - What shows beyond the backdrop's edges. Menu · default Repeat

  • Hold hold
  • Zero zero
  • Repeat repeat
  • Mirror mirror

Render Background Renderbackground - Draws the environment or backdrop behind the shape too. Toggle · default Off

Parameters - Maps Page

Use Maps Usemaps - Adds inputs for volumes that vary the material across the surface. Toggle · default Off

Mode Mode ⊞ - Whether the maps multiply the material settings or replace them. Menu · default Multiply

  • Multiply Multiply
  • Set Set

Parameters - Buffers Page

Color Buffer Colorbuffer - Extra outputs of the Render TOP (set its number of colour buffers to match). Sequence · default 0

RGB Colorbuffer0rgb ⊞ - What this buffer holds: the shading, a position, or a normal. Menu · default Full Shading

  • Full Shading Full
  • World Space Position World
  • T3D UVW UVW
  • Camera Space Position CameraPos
  • World Space Normal Normal
  • T3D Normal T3DNormal
  • Camera Space Normal CameraNormal

Version Version - The T3D version of this operator. Mention it when reporting a problem. Str

Help Help - Opens this operator's page in the T3D documentation. Pulse

Operator Inputs

  • Input 0: Density density - The volume whose surface is rendered.
  • Input 1: Color color - Optional. A volume that colours the surface.