Houdini 20.5 Nodes APEX nodes

dynamicpath::LoadFromGraphChannels

Constructs dynamic paths by building a parameter dictionary for a graph from a channel collection, and evaluating Matrix4 outputs of the graph over time.

On this page
Since 20.0

This node takes a graph, a list of channels that represent the parameters of the graph, and a set of timing parameters, and performs the following evaluations:

  1. The collection of channels is evaluated across a range of times based on starttime, life, and samplerate. The starttime and life determines the start and end of the time range in seconds (where the end is starttime + life ). The samplerate is the frame rate at which to sample the range. For example, if starttime = 0, life = 1, and samplerate = 5, the channels are evaluated at times 0, 0.2, 0.4, 0.6, 0.8, and 1.

    A dictionary of (channel name, channel value) entries is created from the channel evaluation. If the graph has a Vector3 input like pelvis_t, a Vector3 dictionary entry is created with the same name (pelvis_t), and the values of this entry will come from the evaluation of the component channels pelvis_tx, pelvis_ty, and pelvis_tz.

    These dictionary entries are used as the set of parameter value inputs to the graph.

  2. The graph is evaluated using the parameter dictionary values as inputs, at the same set of times that the channels were evaluated.

    The graph has a time input port, and a set of Matrix4 graph outputs. dynamicpath::LoadFromGraphChannels extracts the translations from the Matrix4 graph outputs over time to construct a dynamic path for each graph output.

The names of the output subports on the paths variadic port of this node determine the Matrix4 graph outputs to evaluate to create the dynamic paths.

Inputs

graph: ApexGraphHandle

A graph that is evaluated over time. This graph has a time input port.

channels: ApexChannelCollection

A channel collection that is evaluated to construct the parameter dictionary for the graph.

starttime: Float

The time at which to start evaluating the graph.

life: Float

The period, in seconds, following starttime during which to evaluate the graph.

samplerate: Float

The frequency at which to evaluate the graph.

Outputs

paths: VariadicArg<ApexDynamicPath>

A variadic output of dynamic paths that are constructed from the outputs of graph.

See also

APEX nodes