Attribute Vector Math

Modify an attribute with a math operation.

../../../_images/modeling_geometry-nodes_attribute_attribute-vector-math_node.png

The Attribute Vector Math Node.

Vstupy

Geometria

Štandardný vstup geometrie.

A, B, C

The inputs to the math operations. Depending on the operation one, two, or all three of the inputs will be used. The attribute types are all vectors of three values, except for the Scale operation, where the second input uses a float type.

Výsledok

The name of the attribute where the computed result it stored. A new attribute with that name is added if it does not exist yet. If it does exist, the values of the existing attribute are overridden.

Vlastnosti

Operácia

The math function to perform.

Pridať (pripočítať)

The sum of A and B.

Odpočítať

The difference between A and B.

Vynásobiť

The entrywise product of A and B. \((A.x * B.x, A.y * B.y, A.z * B.z)\)

Vydeliť

The entrywise division of A by B. Division by zero results in zero. \((A.x / B.x, A.y / B.y, A.z / B.z)\)

Krížový súčin

The cross product of A and B.

Premietnuť

Premietanie A na B.

Odraziť

Odraz A okolo normály B. B nemusí byť normalizované.

Lom

For a given incident vector A, surface normal B and ratio of indices of refraction (IOR) refract outputs the refraction vector R.

Predná plôška

Orientuje vektor A tak, aby smeroval preč od povrchu B definovanej jej normálom C. Vypočíta \((dot(B, C) < 0) ? A : -A\).

Bodový súčin

The dot product of A and B.

Vzdialenosť

Vzdialenosť medzi bodmi A a B.

Dĺžka

The length of A.

Mierka

The result of multiplying A by the scalar input Scale.

Normalizovať

The result of normalizing A.

Pokryť

Wrap.

Prichytiť

Výsledok zaokrúhlenia A na najväčší celočíselný násobok B menší alebo rovný A.

Podlaha (Nadol)

The entrywise floor of A.

Strop (Nahor)

The entrywise ceiling of A.

Zvyšok

Vstupný zvyšok A podľa B.

Zlomok

The fractional part of A.

Absolútne

Vstupná absolútna hodnota A.

Minimum

The entrywise minimum from A and B.

Maximum

The entrywise maximum from A and B.

Sínus

Vstupný Sínus A.

Kosínus

Vstupný Kosínus A.

Dotyčnica (Tangens)

Vstupný Tangens A.

Poznámka

Attributes are converted implicitly to the input data type.

A, B, C
Atribút

A text field to input an attribute name.

Vektor

The input is a vector of three float numbers.

Výstup

Geometria

Štandardný výstup geometrie.

Napríklad

Here are nodes to move points along the normals of a mesh or points from the Point Distribute node. First the normal attribute is moved to the Point domain. Then it is normalized, the length is changed, and it is added to the position. The Factor input could instead be an attribute to vary the displacement per point.

../../../_images/modeling_geometry-nodes_attribute_attribute-vector-math_example.png