Network editor
The network editor module allows users to edit the agent node network.
Attributes | Type | Overridable | Description |
---|---|---|---|
json | string | no | A json string containing a list of changes to be applied to the node network. |
The Network editor GUI
Behaviour modules can create nodes in the agent network or edit metadatas, as already explained in the Behaviour Modules section.
The node network module lets you edit the node graph at its position in the module list.
In the case of the following picture, a gridLayout and a clipReader were added before the network editor module. By changing the position of the network editor in the module list the network shown might change too.
In the network editor you can manipulate the graph by adding new nodes and editing connections. A quick help is available in the menu: Other > Help.
Nodes belonging to the same category share the same bar color. Port of the same type share the same color too.
Nodes created by previous modules cannot be deleted and are marked with the "lock" icon. You can still disconnect/connect their ports with other ports, although this might lead to unpredictable results.
New "Expose" nodes in the network editor GUI will expose new attributes in Maya and Houdini, so that you can connect them or set their values. To see all the data types that can be exposed, press tab and type "Expose".
All actions in the graph are undoable and visible in the command list.
The inspector shows all the ports values of the first selected node. Connected ports are hidden. If you edit a port value in the inspector, it will turn red in the network editor.
Once you create an Expose node, please rewind your simulation to see it appearing as an attribute/parameter on your agent group .
Build pose nodes
Each graph has a build pose node, a pre build pose node and a post build node. These three nodes are fake nodes and don't actually exist in the agent node network. They are created just for having a visual representation of what's happening under the hood.
The build pose node has only one pose port. That port value represents the final pose of the agent at each iteration.
The pre and post build nodes can have a variable number of inputs. All nodes connected to those are evaluated sequentially. Nodes connected to the pre build pose node are evaluated before the node network connected to the build pose node, while all nodes connected to the post build node will be evaluated afterward.
Copyright © 2017, Toolchefs LTD.