Let's make a tour of all the different ways you can interact with the nodes in the graph:
Select Elements (pictures to add)
- Left click on an element: select the element.
- Ctrl+ left click : Add element to the selection
- Hold left mouse button + drag : draw a selection zone on the screen
The right mouse button menu
Right-clicking on the graph gives you access to some options:
As you can see, the right menu is divided in 3 main sections:
- The first sections displays options to add elements to the graph
- The second section contains different types of features that we'll detail below
- The third section is active when something is selected on the graph, and offers you some options to select, copy or delete nodes.
View outputs in 3D View
Use this option to preview the result of your graph in the 3D viewport.
Any time you add or delete an output, you need to activate this fonction.
Make sure that your outputs are compatible with the selected material type.
Compute Nodes Thumbnails
Will refresh the different thumbnails of the graph
Clear Nodes Thumbnails
Create a node
You can add nodes in the graph in 4 ways:
- drag&drop a node/resource from the Library
- press the SpaceBar and choose a node
- drag&drop atomic nodes from the nodes toolbar
- Right-click on the graph, then Add Node
Search a node from the library
Create new node over a selected link
Select Parent Nodes/ Create Graph from selection
Nodes Right-Click options
Most of the nodes options are directly accessible by right-clicliking on them:
Let's explore the nodes related options of this menu:
View input in 2D View
(Also accessible by double clicking directly on the node)
This option displays the result of the node in the 2D view.
If you do a simple click on a node, you will have access to its parameters, but it will not affect the 2D view, meaning that you can control the settings of one node while viewing another one.
This is extremely handy to check the impact of a node on another one.
View in 3D view
(Also accessible by right-clicking/hold + drag to the 3D view)
By default, the 3D view displays the results of the graph outputs, but with this option, you can decide to preview the node you want in the 3D viewport.
You will then be prompted which type of usage the map should be used for.
To come back to the default view, just right-click to an empty space of the graph, then "View outputs in 3D View"
Reset and view in 3D view
Will reset the material parameters, before to preview the current node in the 3d view.
Similarly to the nodes, the links offer lots of different ways to manipulate them:
Create a link
The simplest to create a link is to left click on the source node pin, then on the destination node pin.
A link can only be made between an output (located on the right of the nodes) and an input (located on the left).
The connection order is not important: you can link from input to output and conversely
Add Split Points
You can add a split point:
- by right-clicking on the link and select "add pin".
- by holding Alt+Shift, then dragging one of the appearing pin points.
Delete a link
To delete a link, select it and press the delete key.
Move links from a node output to another
Once the links are created, you can still reorganize them:
Move links to another pin
Use shift + click to move multiple links from one output to another
Copy a link from a node input
Use Ctrl + click to copy a link from an input to another input.
Use X to swap two selected links (or right-click/"Swap")
You can switch between curvy or rectangle by clicking on the corresponding button in the graph menu bar: