Вузол «Векторна Математика» – Vector Math Node

Вузол «Векторна Математика» -- Vector Math.

Вузол Vector Math здійснює вибрану математичну операцію над увідними векторами.

Inputs – Уводи

Уводи цього вузла є динамічними. Деякі уводи доступні лише у певних операціях. For instance, the Scale input is only available in the Scale operator.

Vector – Вектор

Input vector A=(AxAyAz).

Vector – Вектор

Input vector B=(BxByBz).

Scale – Масштаб

Input Scale s.

Properties – Властивості

Operation – Операція

Оператор векторної математики, що буде застосований на увідних векторах.

Add – Додання:

The sum of A and B. (Ax+BxAy+ByAz+Bz)

Subtract – Відняття:

The difference between A and B. (AxBxAyByAzBz)

Multiply – Множення:

The entrywise product of A and B. (AxBxAyByAzBz)

Divide – Ділення:

The entrywise division of A by B. Division by zero results in zero. (Ax/BxAy/ByAz/Bz)

Multiply Add – Множення Додання:

The entrywise combination of the multiply and addition operations. AB+C

Векторний Добуток – Cross Product:

The cross product of A and B. (AyBzAzByAzBxAxBzAxByAyBx)

Проектування – Project:

Проекція A на B.

Відображення – Reflect:

Відображення A навколо нормалі B. B не потребує бути нормалізованим.

Refract:

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

Faceforward:

Orients a vector A to point away from a surface B as defined by its normal C. Computes (dot(B,C)<0)?A:A.

Скалярний Добуток – Dot Product:

The dot product of A and B. AxBx+AyBy+AzBz

Distance – Відстань:

Відстань між A та B.

Довжина – Length:

The length of A. Ax2+Ay2+Az2

Scale – Масштаб:

Результат множення A на скалярний увід Scale. (sAxsAysAz)

Normalize – Нормалізування:

The result of normalizing A. The result vector points to the same direction as A and has a length of 1. If A is (0, 0, 0), the result is (0, 0, 0) as well.

Wrap – Обгортка:

The entrywise output of a value between Min and Max based on the absolute difference between the input value and the nearest integer multiple of Max less than the value.

Snap – Підхоп:

Результат округлення A до найбільшого цілочислового значення, кратного B, що менше або дорівнює A.

Floor – Підлога:

Rounds the input value entrywise down to the nearest integer.

Ceil – Стеля:

Rounds the input value entrywise up to the nearest integer.

Modulo – Модуль:

Поелементний модуль A від B.

Fraction – Дріб:

Returns the fractional part of the value entrywise.

Absolute – Абсолютно:

Поелементне абсолютне значення для A.

Minimum – Мінімум:

The entrywise minimum value from A and B.

Maximum – Максимум:

The entrywise maximum value from A and B.

Sine – Синус:

The entrywise Sine of A.

Cosine – Косинус:

The entrywise Cosine of A.

Tangent – Тангенс:

The entrywise Tangent of A.

Outputs – Виводи

The output of the node is dynamic. It is either a vector or a scalar depending on the operator. For instance, the Length operator has a scalar output while the Add operator has a vector output.

Vector – Вектор

Виводиться вектор.

Value – Значення

Виводиться значення.