When running the evaluation graph in parallel mode, there are certain node types that will stop it in its tracks, and push it back into serial mode. These nodes include:
However, if all the outputs of an expression are directly related to the inputs, they can be set to "globally serial".
For example, this is bad, since it's using
Expressions
Avoid them, they are horrible for the EG. Try to re-write as nodal networks. They are flagged as "untrusted".However, if all the outputs of an expression are directly related to the inputs, they can be set to "globally serial".
For example, this is bad, since it's using
getAttr
: Never use getAttr
in an expression this way, if you want it to work in the EG. Plus I'm not sure if sin
is ok either...float $val = `getAttr foo.tx` * sin(6); spam.ty = $val;However, this would work:
spam.ty = foo.tx*6;Since the output is directly related to the input, with no external calls.