td_trace
Trace image signal loss in TouchDesigner TOP networks to find the node causing black or dim output. Walks input wires, reports where and why the signal fails.
Instructions
Why is this TOP black, or darker than its parameters say? Find the node.
Reach for it when td_render shows black, a washed-out or a dimmed image
and every parameter looks right. Starting at the TOP at path, it walks
up every wired input (breadth first, depth hops, at most 40 nodes),
reads each image's min / mean / max over R, G, B and the alpha mean, and
marks the node where the signal was lost, with the reason when the node's
own settings show it:
dropped here— the image goes black while an input still carried something (opacity 0, a bypassed source, an empty input, an error), or an Add / Compositeaddis fed a negative input and so subtracts itnegative values start here— a float image gone below zero, typically a Level TOP with contrast above 1, inlow above 0 or outlow below 0 and no clamp: invisible on its own tile, it darkens whatever it is added to. A black level above 0 cuts to 0, not below, and is named underdropped herealpha goes to 0 here— colour still there under an alpha of 0, which vanishes once compositedNaN/Inf start here— usually a shader dividing by zero
A ? on a mark means an input could not be read, and the loss may have
come from there. No cook is forced to take a reading, but reading an
image that is out of date makes TouchDesigner cook that node once, as any
read would (measured on a Noise TOP: each read after a seed change added
one cook). On a Feedback TOP that cook is a step of the loop. A node that
never cooked is not read and says so instead of reporting zeros, and so
does a non-TOP input, a node past the time or download budget, and an
image the read failed on.
Wires only: an image a Select TOP or a Render TOP reaches through a
parameter is not followed — trace from that operator next.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |