Vector Math (ベクトル演算)ノード

Vector Math ノード。

Vector Math (ベクトル演算)ノードは、指定の数式演算を入力ベクトルに行います。

入力

ノードの入力は動的です。一部の入力は、特定の操作で使用します。たとえば、 Scale 入力は Scale オペレーターでのみ使用できます。

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. A×B+C

Cross Product (外積):

The cross product of A and B. (AyBzAzByAzBxAxBzAxByAyBx)

Project (プロジェクト):

AのBへのプロジェクション。

Reflect (反射):

法線Bの周りのAの反射。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(スケール):

The result of multiplying A by the scalar input 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を、A以下のBの最大整数倍数に丸めた結果。

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.

出力

ノードの出力は動的です。演算子に応じて、ベクトルまたはスカラー値になります。たとえば、 Length 演算子はスカラー出力に、 Add 演算子はベクトル出力になります。

Vector(ベクトル)

出力ベクトル。

Value(値)

出力値。