Dev:Ref/Release Notes/2.67/Node Editor

提供: wiki
移動先: 案内検索

The node editor has got a few new features to improve workflow for node groups.

Node Groups

Group Interface

The design of node group interfaces has gotten a complete overhaul. Input/Output sockets of a node group are now part of a regular node (Group Input/Group Output). Long connection lines to/from the sides of a node group are avoided and don't move around each time the layout is changed.

Old node groups: long and wiggly connections to the sides
New node groups: Inputs/Outputs as regular nodes


Blender2.67 node groups interface panel.png

The details of a node group's interface can be changed in the node editor sidebar (N). Sockets can be added or removed, descriptive names can be added and the details of the input data value defined there.

Independent Editing

Blender2.67 node groups multiedit.png

Node groups can be opened in different editors independently. Each editor has its own "history" of edited node groups, instead of forcing each editor to show the same group. This allows editing both the node groups as well as the outer instance of that group at the same time, using multiple node editor windows.

Nesting Groups

Nested node groups are now fully supported. A node group can be inserted or created inside another node group.

Recursion
Recursive node groups are prohibited for all the current node systems: A node group can never contain itself (or another group that contains it). This is to prevent infinite recursion. Future node systems may still be designed to allow this in some form, but general node groups don't support it.


Building up more complex functions from small vector math components (ファイル:Blender2.67 node groups nesting.blend)
Create simplified interfaces by wrapping a generic group with lots of parameters

Pinning

The node editor now allows pinning. When enabled, the editor will retain the material or texture, even when the user selects a different object. A node tree can then be edited independent of the object selection in the 3D view.

Two different materials displayed at the same time using pinning
Pinning can also be used for node groups

Toolbar

Blender2.67 node toolbar.png

As an alternative to adding new nodes with the Add menu (⇧ Shift) there is now a list of panels in the node toolbar (T). Each node has a button which, after creating the actual node, also starts the transform operator, allowing quicker insertion into a node tree.

The underlying system for generating both the Add menu and the toolbar has been rewritten in python to make it easier to tweak and extend.