For this instalment in our ground-up series about integrating Gaffer into a pipeline, we cover how to change node defaults.
All Gaffer nodes have plugs, whether they are visible in the Graph Editor for easy connection, or in the Node Editor as settings. These plugs have default values defined by the node’s programming. It may be the case however, that these defaults aren’t the most useful values for your use. To help with this, Gaffer allows you to provide your own, “user” defaults.
Another major release, so soon? You bet. This time we have fewer changes, but they’re quite far-reaching. Included are major updates to the main application’s editor UI, new scene manipulator features, and the new CopyPrimitiveVariables and NameSwitch nodes. Let’s take a tour.
Gaffer 0.55.0.0 introduces the NameSwitch node; like a Switch node, but using names instead of indices for switching between the inputs. This post shows an example of the NameSwitch in use, and describes how you might customise its UI to better suit your pipeline.
When creating Switch, Group, or Parent nodes in the Graph Editor, Gaffer will automatically connect your current selection to the new node. Sometimes, though, you will end up with an array of connections that are all out-of-order and crossed-up. Fortunately, there is a simple trick you can use to guarantee the correct order.
When constructing networks that use the Loop node, you’ll often find yourself adding Dot nodes to connect the previous plug to the returning next plug, in order to give the connection proper visibility.
You will sometimes find yourself having to add several new nodes of the same type to the graph. You could create a node and copy-paste it, but there’s an even faster way: after creating a node, just hit Tab, then Enter, and you will instantly create another new node of the same type.