Составляющие узла#

All nodes in Blender are based on a similar construction. This applies to any type of node. These parts include the title, sockets, properties and more.

../../../_images/interface_controls_nodes_parts_overview.png

Заголовок#

Заголовок показывает имя/тип узла; его можно переопределить, изменив Метку узла. Слева от заголовка находится переключатель свёртывания, который можно использовать для сворачивания узла. Это также можно сделать с помощью клавиши H.

../../../_images/interface_controls_nodes_parts_collapsed.png

Внешний вид узла в свёрнутом состоянии.#

Предпросмотр#

Previews are an overlay that shows a small image above the node displaying the node result. Not all nodes support previews, but the ones that do can be toggled using the icon in the top right-hand corner of the node next to the title.

Previews can be disabled for the whole node tree by using Previews overlay toggle.

../../../_images/interface_controls_nodes_parts_previewless.png

Preview toggle button.#

Порты#

Sockets are input and output values for the node. They appear as little colored circles on either side of the node. Unused sockets can be hidden with Ctrl-H.

Каждый порт имеет цветовую маркировку в зависимости от типа данных, которые он обрабатывает.

../../../_images/interface_controls_nodes_parts_sockets.png

Built-in

Шейдер (светло-красный)

Used for shaders in Cycles and EEVEE.

Geometry (turquoise)

Используется в Узлах геометрии.

Data

Логический (розовый)

Используется для передачи истинного или ложного значения.

Цвет (жёлтый)

Indicates that the socket accepts/produces color information. The colors may or may not have an alpha component depending on the node tree type.

Вещественное (серый)

Indicates that the socket accepts/produces floating-point numbers. It can either be a single value or a so-called «value map». (You can think of a value map as a grayscale image where the brightness of a pixel represents its value.) If a single value is used as an input for a «value map» socket, all points of the map are set to this same value.

Целое (зелёный)

Используется для передачи целочисленного значения (числа без дробной части).

Строковой (голубой)

Используется для передачи текстового значения.

Вектор (тёмно-синий)

Указывает информацию о векторе, координатах и нормали.

Блоки данных

Колекция (белый)

Используется для передачи блока данных коллекции.

Объект (оранжевый)

Используется для передачи блока данных объекта.

Material (salmon)

Used to pass a material data-block.

Texture (pink)

Used to pass a texture data-block.

Изображение (абрикосовый)

Используется для передачи блока данных изображения.

Входы#

The inputs are located on the bottom left side of the node, and provide the data the node needs to perform its function. Each input socket, except for the green shader input, when disconnected, has a default value which can be edited via a color, numeric, or vector interface input. In the screenshot of the node above, the second color option is set by a color interface input.

Some nodes have special sockets that can accept multiple inputs. These sockets will have an ellipsis shape rather than a circle to indicate their special behavior.

Выходы#

Выходы расположены в верхней правой части узла и могут быть подключены к входам узлов, расположенных дальше по дереву узлов.

Преобразование#

Some socket types can be converted to others either implicitly or explicitly. Implicit conversion happens automatically without the need of a conversion node. For example, Float sockets and Color sockets can be linked to each other.

Once a socket conversion is made, data may be lost and cannot be retrieved later down the node tree. Implicit socket conversion can sometimes change the data units as well. When plugging a Value input node into an angle socket, it’ll default to use radians regardless of the scene’s Единицы измерений. This happens because the Value node has no unit while the angle input does.

Правильные преобразования:

  • Between color and vector – mapping between color channels and vector components.

  • Between color and float – the color data is converted to its grayscale equivalent.

  • Цвет/вещественные/вектора в шейдер — неявно преобразует в цвет и даёт результат использования узла Emission.

  • Between float and integer – integers simply become floats, floats are truncated.

  • Between float and vector – when a float becomes a vector the value is used for each component. When a vector becomes a float the average of the components is taken.

  • Between float and boolean – values greater than 0 are true, true maps to 1, and false maps to 0.

Explicit conversion requires the use of a conversion node such as the Shader To RGB node or the Узел RGB to BW node. The Узел Math node also contains some functions to convert between degrees and radians.

Свойства#

Многие узлы имеют настройки, которые могут повлиять на то, как они взаимодействуют с входами и выходами. Настройки узла расположены ниже выходов и выше любых входов.

../../../_images/interface_controls_nodes_parts_controls.png

Пример элементов управления узла Chroma Key.#