This tutorial covers the essential elements for setting up a basic render network in TouchDesigner. Real-time rendering is a core part of TouchDesigner workflows, and understanding these foundational concepts is crucial for creating visual projects.
Core Components of a Render Network
Render networks in TouchDesigner are made up of operators across multiple families. The essential components are:
1. Camera Component
The camera defines the viewpoint from which your scene is rendered. You can adjust its position and rotation to frame your geometry.
2. Geometry Component
Geometry components contain the 3D objects that will be rendered. These can be linked to Surface Operators (SOPs) like boxes, spheres, or custom shapes.
3. Light Component
Lights illuminate your scene. You can have multiple lights with different positions and colors to create various lighting effects.
4. Render TOP
The Render TOP is where everything comes together. It takes references to your camera, geometry, and lights to produce the final rendered image.
Setting Up the Network
Step 1: Add Components
- Open the OP Create dialog
- From the Component family, add a Camera, Geometry, and Light (hold Ctrl to add multiple)
- From the TOP family, add a Render TOP
Step 2: Configure the Render TOP The Render TOP uses path-based references to find your components:
- Camera path: specifies which camera to use
- Geometry path: uses asterisk (*) by default to include all geometry in the network
- Lights path: specifies which lights to use
Step 3: Add Geometry
- From the SOP family, add a Box SOP (or other geometry)
- Right-click on the SOP output and select Components
> Geometry to create a linked geometry component
Using the Geometry Viewer
To better understand your scene layout:
- Go to the pane layout section of the interface
- Split your view into two panes
- Change one pane to “Geometry Viewer” using the dropdown
The Geometry Viewer shows all geometry in your network, including cameras and lights, allowing you to see how objects are positioned relative to each other.
Understanding Render and Display Flags
Each geometry component has two important flags at the bottom:
Render Flag
- Controls whether the geometry appears in the Render TOP output
- Turn off to hide geometry from the final render
- Essential for controlling what gets rendered
Display Flag
- Controls whether the geometry appears in the Geometry Viewer
- Useful for decluttering your view while working
- Does not affect the final render output
Important: These flags exist both on Geometry Components and on the SOPs inside them. Both levels affect visibility.
Working with Lights
You can add multiple lights to your scene:
- Copy and paste existing lights or add new ones
- Adjust position using translate parameters (X, Y, Z)
- Change light color on the Light page to affect the scene’s mood
Example Setup:
- One light behind the camera (default position at -10)
- One light above the scene (position at Y=10)
- Different colors for each light to create depth
Camera Adjustments
To frame your scene properly:
- Translate: Move the camera position (e.g., move up 2 units in Y)
- Rotate: Use middle mouse button to pan the view
- Adjust until all desired geometry is visible in the render
Key Takeaways
- Render networks require Camera, Geometry, Light components, and a Render TOP
- The Render TOP uses path-based references (asterisk * means all geometry)
- Use the Geometry Viewer to understand spatial relationships in your scene
- Render and Display flags control visibility in output and viewer respectively
- Multiple lights with different positions and colors create richer scenes
- Both component-level and SOP-level flags affect final rendering
本教程介绍在TouchDesigner中设置基础渲染网络的核心要素。实时渲染是TouchDesigner工作流程的核心部分,理解这些基础概念对于创建视觉项目至关重要。
渲染网络的核心组件
TouchDesigner中的渲染网络由多个家族的操作符组成。核心组件包括:
1. 相机组件(Camera)
相机定义了场景渲染的视角。你可以调整其位置和旋转来构图。
2. 几何体组件(Geometry)
几何体组件包含将被渲染的3D对象。这些可以链接到表面操作符(SOP),如盒子、球体或自定义形状。
3. 灯光组件(Light)
灯光照亮你的场景。你可以使用多个不同位置和颜色的灯光来创建各种照明效果。
4. 渲染TOP(Render TOP)
渲染TOP是所有元素汇聚的地方。它引用你的相机、几何体和灯光来生成最终渲染图像。
设置网络
步骤1:添加组件
- 打开OP创建对话框
- 从组件家族中添加相机、几何体和灯光(按住Ctrl可添加多个)
- 从TOP家族中添加渲染TOP
步骤2:配置渲染TOP 渲染TOP使用基于路径的引用来查找组件:
- 相机路径:指定使用哪个相机
- 几何体路径:默认使用星号(*)包含网络中所有几何体
- 灯光路径:指定使用哪些灯光
步骤3:添加几何体
- 从SOP家族中添加Box SOP(或其他几何体)
- 右键点击SOP输出,选择组件 > 几何体来创建链接的几何体组件
使用几何体查看器
为了更好地理解场景布局:
- 进入界面的面板布局部分
- 将视图分割成两个面板
- 使用下拉菜单将一个面板改为”几何体查看器”
几何体查看器显示网络中的所有几何体,包括相机和灯光,让你能看到对象之间的相对位置关系。
理解渲染和显示标志
每个几何体组件底部有两个重要标志:
渲染标志(Render Flag)
- 控制几何体是否出现在渲染TOP输出中
- 关闭可从最终渲染中隐藏几何体
- 对控制渲染内容至关重要
显示标志(Display Flag)
- 控制几何体是否出现在几何体查看器中
- 用于在工作时简化视图
- 不影响最终渲染输出
重要提示: 这些标志同时存在于几何体组件和其内部的SOP上。两个层级都会影响可见性。
使用灯光
你可以在场景中添加多个灯光:
- 复制粘贴现有灯光或添加新灯光
- 使用平移参数调整位置(X、Y、Z)
- 在灯光页面更改灯光颜色以影响场景氛围
示例设置:
- 一个灯光在相机后方(默认位置在-10)
- 一个灯光在场景上方(Y位置=10)
- 每个灯光使用不同颜色以创造深度
相机调整
为了正确构图:
- 平移:移动相机位置(例如,在Y轴上移2个单位)
- 旋转:使用鼠标中键平移视图
- 调整直到所有需要的几何体在渲染中可见
关键要点
- 渲染网络需要相机、几何体、灯光组件和渲染TOP
- 渲染TOP使用基于路径的引用(星号*表示所有几何体)
- 使用几何体查看器理解场景中的空间关系
- 渲染和显示标志分别控制输出和查看器中的可见性
- 多个不同位置和颜色的灯光创造更丰富的场景
- 组件级和SOP级的标志都会影响最终渲染