User guide

15 Wrapping SGG Plug-Ins in a
Custom Node
Scene Graph Generator (SGG) plug-ins allow the arbitrary creation of scene graph locations and attributes. This
flexibility means they can be used for a variety of tasks in a Katana project. One common usage of the SGG is to
import proprietary geometry using the familiar node pattern shown below.
This is achieved by creating two nodes within the Node Graph:
1. ScenegraphGeneratorSetup – creates a location of type scenegraph generator and a number of attributes
at this location which describe the SGG and any configuration options that have been set in the Parameters
tab.
2. ScenegraphGeneratorResolve – scans the scene graph for locations of type scenegraph generator and
then launches the appropriate SGG passing it the arguments which are stored under scenegraphGenerator.args
This approach is beneficial in a number of situations where the location generated in point one is to be resolved at
some point further downstream. However, for input nodes - a node with no input ports and one or more output
ports - resolution usually occurs immediately following the SGG setup. In such cases it is beneficial to wrap the
process within a single node, possibly presenting a simplified UI via the Parameters tab.