See also Category:Components for a full list of articles related to Components.
Components (or COMPs) are unique compared to other operator families in that they contain their own networks. To make a new network in your project, create a new Component using the OP Create Menu and select from the COMP tab. Then go inside your new component and start building your network. Component networks can contain operators and/or additional sub-networks (additional components). Sub-networks create a hierarchy of networks that can be navigated (using the network path) and forms the overall hierarchical structure of
Object Components (3D objects for rendering)edit
- Ambient Light COMP
- Blend COMP
- Bone COMP
- Camera COMP
- Camera Blend COMP
- Environment Light COMP
- Nvidia Flow Emitter COMP
- Geometry COMP
- Handle COMP
- Light COMP
- Null COMP
- Shared Mem In COMP
- Shared Mem Out COMP
- FBX COMP
- USD COMP
Object components can be parented in a hierarchy by connecting them together vertically (using their connectors on the top and bottom of the nodes).
Panel Components (interactive 2D panels)edit
- Button COMP
- Container COMP
- Field COMP
- List COMP
- OP Viewer COMP
- Parameter COMP
- Select COMP
- Slider COMP
- Table COMP
- Widget COMP
Panel components can be parented in a hierarchy by connecting them together vertically (using their connectors on the top and bottom of the nodes).
- Base COMP - the Base COMP has no panel gadgets and no object gadgets. It is the most basic shell of a component and can be used when a new network is required.
- Engine COMP - the Engine COMP will run a .tox file (component) in a separate process.
- Time COMP - the Time COMP contains a network of operators that can drive a Timeline, drive animations in Animation COMPs, or be used to drive any custom time-based system.
- Animation COMP - the Animation COMP is used to create keyframe animation data. Keyframed channels are stored inside the component and can be edited by scoping the Animation COMP in the Animation Editor.
- Replicator COMP - the Replicator COMP creates a node for every row of a table, adding and deleting nodes ("replicants") as the table changes.
- Window COMP - the Window COMP create a separate floating application window. This can be used for control panels or when outputting to multiple monitors.
Component Inputs and Outputsedit
Components can have operator inputs and outputs on the left/right sides of the node if their network contains In and/or Out operators (of most types: TOP, CHOP, SOP, DAT. e.g. In TOP and Out CHOP).
These allow operator data to flow in and out of the component's network, allowing a Component to share its internal data with other components, operators, and other parts of your project. Adding these OPs inside a Component will add alphanumerically-ordered inputs/outputs on the left/right side of the component that data can flow through. Inputs are on Component’s left side, outputs on the right.
A noise component has been constructed to take a TOP, CHOP, and SOP input, apply noise to each one, then output the results. The component's internal network looks like this:
The image below shows how the inputs and outputs of the Component can be connected into a network.
Components have the 4 common Flags along their left side: the Viewer Flag, the Clone Immune Flag, the Cooking Flag, and the Lock Flag. Object Components also have a Bypass Flag and an additional 3 flags in their lower right corner: the Pickable Flag (orange), the Render Flag (purple), and the Display Flag (blue).
Saving Components to Filesedit
You can save out a Component into a .tox file with a RMB -> Save Component on the node. This is handy for sharing networks with other TouchDesigner users and projects. Any commonly-used tool or network you create in TouchDesigner is good candidate for a Component.
To embed other files, like images, into .tox files, see Virtual File System (VFS).
See Also Category:Components