Vector Nodes
Vector mathematics including dot product, cross product, normalization, and component operations.
Vector Nodes
Vector mathematics including dot product, cross product, normalization, and component operations.
This category contains 12 nodes.
Nodes
Absolute Vector
Absolute value of each vector component
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with absolute values of each component.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Angle Between Vectors
Angle between two vectors
Inputs: Two 3D vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector A | Vector | vec | [0, 0, 0] |
| Vector B | Vector | vec | [0, 0, 0] |
Outputs: Angle in radians [0, π].
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Combine Vector
Constructs a vector from individual components
Inputs: x, y, z values.
| Name | Type | Range | Default |
|---|---|---|---|
| X | Number | any | 0 |
| Y | Number | any | 0 |
| Z | Number | any | 0 |
Outputs: 3D vector (x, y, z).
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Cross Product
Cross product of two vectors
Inputs: Two 3D vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector A | Vector | vec | [0, 0, 0] |
| Vector B | Vector | vec | [0, 0, 0] |
Outputs: 3D vector perpendicular to both inputs.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Distance Between Vectors
Distance between two points
Inputs: Two 3D vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector A | Vector | vec | [0, 0, 0] |
| Vector B | Vector | vec | [0, 0, 0] |
Outputs: Euclidean distance.
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Dot Product
Dot product of two vectors
Inputs: Two 3D vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector 1 | Vector | vec | [1, 0, 0] |
| Vector 2 | Vector | vec | [0, 1, 0] |
Outputs: Scalar (A·B = AxBx + AyBy + Az*Bz).
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Length
Calculates vector length
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [1, 0, 0] |
Outputs: Euclidean length (√(x²+y²+z²)).
| Name | Type | Range |
|---|---|---|
| Number | Number | ≥0 |
Magnitude
Calculates vector magnitude
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Euclidean magnitude (√(x²+y²+z²)).
| Name | Type | Range |
|---|---|---|
| Number | Number | ≥0 |
Reflect
Reflects a vector across a surface
Inputs: Incident vector, surface normal.
| Name | Type | Range | Default |
|---|---|---|---|
| Incident | Vector | vec | [1, 0, 0] |
| Normal | Vector | vec | [0, 1, 0] |
Outputs: Reflected vector.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Refract
Refracts a vector through a surface
Inputs: Incident vector, normal, refractive index ratio.
| Name | Type | Range | Default |
|---|---|---|---|
| Incident | Vector | vec | [1, 0, 0] |
| Normal | Vector | vec | [0, 1, 0] |
| Eta | Number | any | 1.5 |
Outputs: Refracted vector.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Smooth Step Vector
Smooth Hermite interpolation for each component
Inputs: Edge0, edge1, value vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Low | Vector | vec | [0, 0, 0] |
| High | Vector | vec | [1, 1, 1] |
| X | Vector | vec | [0.5, 0.5, 0.5] |
Outputs: Smoothly interpolated vector.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Split Vector
Splits a vector into individual components
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0.5, 0.5, 0.5] |
Outputs: Three separate x, y, z values.
| Name | Type | Range |
|---|---|---|
| X | Number | any |
| Y | Number | any |
| Z | Number | any |