Create iPhone depth source
create_iphone_depth_sourceCreate a TouchDesigner scaffold for iPhone depth senders: adds video/OSC receivers, color/depth previews, sensor input, and setup hints. Validates sender-specific depth decoding live.
Instructions
Create a deterministic TouchDesigner scaffold for iPhone depth senders such as TDLidar, Record3D, or a generic NDI/OSC source. Builds live/video receiver TOPs, color_out, depth_preview, OSC sensor input, sensors_out, setup hints, and an optional point-cloud placeholder. This is a scaffold and returns warnings where sender-specific metric depth decoding must be validated live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the generated base COMP. | iphone_depth_source |
| active | No | Start the live/video receiver immediately where the operator supports it. | |
| source | No | iPhone depth sender profile to document in setup hints. | tdlidar |
| osc_port | No | UDP port for OSC sensor data from the iPhone app. | |
| movie_file | No | Movie file path used when video_mode is movie_file. | |
| video_mode | No | Transport for the color/depth video stream. | ndi |
| parent_path | No | Parent COMP to create the scaffold in. | /project1 |
| sensor_prefix | No | OSC address prefix used to select phone sensor channels. | /iphone |
| video_source_name | No | NDI source name or Syphon/Spout sender name when using a live video transport. | |
| create_pointcloud_stub | No | Create a textDAT placeholder for app-specific point-cloud reconstruction notes. |