2018-08-23 10:39:27 +02:00
|
|
|
Pattern node
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
|
|
|
The Pattern node outputs a pattern texture generated from common waveform shapes.
|
|
|
|
|
|
|
|
.. image:: images/node_pattern.png
|
|
|
|
|
|
|
|
Inputs
|
|
|
|
++++++
|
|
|
|
|
|
|
|
The Pattern node does not accept any input.
|
|
|
|
|
|
|
|
Outputs
|
|
|
|
+++++++
|
|
|
|
|
2018-09-01 11:06:58 +02:00
|
|
|
The Pattern node provides a greyscale texture obtained by mixing a horizontal and a vertical pattern.
|
2018-08-23 10:39:27 +02:00
|
|
|
|
|
|
|
Many different patterns can be created using this node, do not hesitate to experiment.
|
|
|
|
|
|
|
|
.. image:: images/pattern.png
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
++++++++++
|
|
|
|
|
|
|
|
The Pattern node accepts the following parameters:
|
|
|
|
|
|
|
|
* the *X* and *Y* parameters define the pattern and their number of repetitions
|
|
|
|
that will be propagated along the X axis and Y.
|
|
|
|
The following patterns are available:
|
2019-11-10 01:19:52 +01:00
|
|
|
|
2018-08-23 10:39:27 +02:00
|
|
|
* Sine: the value follows a sinus waveform
|
2019-11-10 01:19:52 +01:00
|
|
|
|
2018-08-23 10:39:27 +02:00
|
|
|
* Triangle: the value follows a triangle waveform (changes linearly from 0 to 1 and from 1 to 0)
|
2019-11-10 01:19:52 +01:00
|
|
|
|
2018-08-23 10:39:27 +02:00
|
|
|
* Square: the value follows a square waveform (stays constant at 0, then 1)
|
|
|
|
|
2018-09-01 11:06:58 +02:00
|
|
|
* Sawtooth: the value follows a sawtooth waveform (changes linearly from 0 to 1, then jumps back to 0)
|
2018-08-23 10:39:27 +02:00
|
|
|
|
|
|
|
* constant: the value is 1
|
|
|
|
|
|
|
|
* the *Combiner* parameter is the function used to combine the *X* and *Y* patterns. The available
|
|
|
|
functions are *multiply*, *add*, *max*, *min*, *xor* and *pow*
|