Difference between revisions of "Flag"

From TouchDesigner Documentation
Jump to: navigation, search
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 16:33, 28 August 2019

The term "flag" in TouchDesigner refers to the indicator of states of an Operator (the Bypass, Display, Lock flags etc).

Operator Flags[edit]

Operator flags are located around a node in a network pane and/or in a network's "table" view (press "t" in the network to toggle).

When you press "t" in a network pane, it shows nodes in a table format, where the complete set of flags is visible on the columns.

Flags are not parameters and therefore changing a flag does not in itself cause a node to cook. You cannot export to a flag.

All flags are displayed and set using the opset command.

Flag states are retrieved with the opflag() expression.

Flags on all Nodes[edit]

Flags on 3D Object components[edit]

  • Render - if off, the object will not be seen in any render of the Render TOP or Render Pass TOP.
  • Display - if off, the object will not be seen in any camera viewer.
  • Pickable - if off, the object will not be selectable in 3D Geometry Viewers or the SOP Editor.

Flags on CHOPs[edit]

  • Export - if off, nothing is exported from that CHOP.

Flags on SOPs[edit]

  • Compare - displays the SOP's input geometry as a green wireframe for comparisons.
  • Template - displays the SOP as templated geometry in 3D viewers. The grey wireframe template is not selectable or editable.

An operator whose Bypass flag is set does nothing: All data from its first input flows through to its output unaffected.

(1) Indicator of certain states of an operator (bypass, display, lock), or (2) option of a Tscript command.

The component types that are used to render 3D scenes: Geometry Component contain the 3D shapes to render, plus Camera, Light, Ambient Light, Null, Bone, Handle and other component types.

An Operator Family that creates, composites and modifies images, and reads/writes images and movies to/from files and the network. TOPs run on the graphics card's GPU.

An Operator Family which operate on Channels (a series of numbers) which are used for animation, audio, mathematics, simulation, logic, UI construction, and many other applications.

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.