7
$\begingroup$

What does Vector mean in nodes input and output in Blender?

$\endgroup$
5
  • 1
    $\begingroup$ it is made to send and receive 3D informations (what happens on X, Y and Z) $\endgroup$
    – moonboots
    Nov 9, 2021 at 13:37
  • $\begingroup$ if you don't know what a vector is....maybe you should learn first some basic math....and a node is just a function, which you give a/some values and it returns a/some values. That's all. So basically...i do not understand your question!? $\endgroup$
    – Chris
    Nov 9, 2021 at 13:40
  • 1
    $\begingroup$ blender.stackexchange.com/questions/152485/… this exact question has already been asked $\endgroup$
    – Ribbit12
    Nov 9, 2021 at 13:41
  • $\begingroup$ Related question What is the meaning of the color of the node sockets in the node editor? $\endgroup$
    – Blunder
    Nov 9, 2021 at 21:06
  • $\begingroup$ It's just x, y, and z-coordinates (which may actually represent x, y, and z-coordinates or angles in radians). In some nodes, it represents a single point of an object (like origin), in others it may represent all points of an object (I think this moment is cumbersome). $\endgroup$
    – ENIAC
    Sep 11 at 16:49

1 Answer 1

9
$\begingroup$

enter image description here

Well as the name implies, it's a vector, a 3 dimensional vector with 3 components x, y and z. It's different from, for example, the scalar (grey) socket which is a scalar value or the yellow socket which is a color value (consisting actually of 4 components R, G, B, and A or 3 if we have no Alpha).

You can see the vector socket as 3 grey sockets combined and the color socket as 4 grey sockets combined (3 without Alpha).

You can use the Converter>Combine XYZ, Converter>Combine RGB, Converter>Combine RGBA to convert from scalar value to vector, RGB or RGBA respectively.

enter image description here enter image description here enter image description here

You can also get each individual components of a vector, RGB or RGBA color by using their Converter>Separate counterparts :

enter image description here enter image description here enter image description here

The rule of thumb is that you should (almost) never plug two sockets of different colors to each other unless you know exactly what you are doing.

$\endgroup$
1
  • 1
    $\begingroup$ That's a good point that the yellow node can have 3 (RGB) or 4 (RGBA) components. $\endgroup$
    – Blunder
    Nov 9, 2021 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.