Noise Displace¶
This noise node displaces a list of Vectors. The seed value permits you to apply a different noise calculation to identical inputs.
Inputs & Parameters¶
Parameters |
Description |
---|---|
Mode |
Pick between Scalar along Normal and Vector output |
Noise Type |
Pick between several noise types Mathutils noise:
See mathutils.noise docs ( Noise ) Custom noises:
(see examples) |
Smooth |
Smooth curvature (Only for custom noises) |
Interpolate |
Gradient interpolation (Hard noise when un-checked) (For custom noises) |
Seed |
Accepts float values, they are hashed into Integers internally. Seed values of 0 will internally be replaced with a randomly picked constant to allow all seed input to generate repeatable output. (Seed=0 would otherwise generate random values based on system time) |
Scale Out |
Vector to multiply the added vector |
Noise Matrix |
Matrix input to determinate noise origin, scale and rotation |
Advanced Parameters¶
In the N-Panel (and on the right-click menu) you can find:
List Match: Define how list with different lengths should be matched.
Output NumPy: Get NumPy arrays in stead of regular lists (makes the node faster with Custom noises slower with Mathutils noises).
Examples¶
Basic examples
Generator-> IcoSphere
Matrix-> Matrix In
Viz-> Viewer Draw
The node offers three ways of matching the list lengths “Repeat Last”, “Cycle” and “Match Short” in this example “Cycle” is used to alternate the noise matrix.
Generator-> Line
Generator-> Plane
Matrix-> Matrix In
Viz-> Viewer Draw
In this example the scale output is used to blend with another oscillation texture.
Generator-> Plane
Sine Oscillator: Number-> Oscillator
LEN: Vector-> Vector Math
Matrix-> Matrix In
Viz-> Viewer Draw
The “Vector” Mode does not use vertex normals so it can be used just with vertices.
Generator-> Line
Matrix-> Matrix In
Viz-> Viewer Draw
The “Scale out” input can be used to mask the affected vertices.
Generator-> IcoSphere
Analyzers-> Select Mesh Elements
Analyzers-> Proportional Edit Falloff
Vector-> Vector In
A*SCALAR: Vector-> Vector Math
Matrix-> Matrix In
Viz-> Viewer Draw
You can create many different outputs from one set of vertices if you input multiple seeds.
Generator-> Box
Generator-> Plane
Number-> Number Range
List->List Struct-> List Split
Viz-> Viewer Draw
For the Mathutils Noises:
Seed and scale per vertex can be passed, in this example the seed is chosen by determining the closest point of another mesh and the scale is based on the distance to that point.
Generator-> Plane
Analyzers-> KDT Closest Verts
Vector-> Vector In
Matrix-> Matrix In
List->List Main-> List Join
Viz-> Viewer Draw
One matrix per point can be passed if the matrix list is wrapped, note that the “Flat Output” checkbox of the matrix in is un-checked.
Generator-> Plane
Number-> A Number
MUL X: Number-> Scalar Math
Vector-> Vector In
LEN: Vector-> Vector Math
Vector-> Vector Lerp
Matrix-> Matrix In
Normalize: List-> List Modifier
Viz-> Viewer Draw
For the custom noises:
The custom noises will only allow one seed and matrix per object but they offer two different interpolations per noise to change the noise look.
Generator-> Plane
Matrix-> Matrix In
Viz-> Viewer Draw
Scale will be passed per vertex allowing different effects.
Generator-> Plane
Square Oscillator: Number-> Oscillator
LEN: Vector-> Vector Math
Vector-> Vector In
Viz-> Viewer Draw
When interpolate is off there will be seams in the texture. As the seems are placed every unit with the use of the matrix can be used to produce hard edges.
Generator-> Plane
Matrix-> Matrix In
Viz-> Mesh Viewer