Added tile2x2 to the librray and updated docs

This commit is contained in:
RodZill4 2020-02-16 10:04:49 +01:00
parent 8b1fcc0b22
commit 70f308e4ed
7 changed files with 82 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -0,0 +1,42 @@
Splatter node
~~~~~~~~~~~~~
The **Splatter** node splats several instances of its input with optional scale and rotation variations.
instances are mixed with each other using a *lighten* filter.
The **Splatter** also has a color version whose input is in RGBA format.
.. image:: images/node_transform_splatter.png
:align: center
Inputs
++++++
The **Splatter** node accepts two inputs:
* The *Source* inputs is the image to be splat into the output.
* The *Mask* input is a greyscale image that is used as a mask and affects each instance's value.
Outputs
+++++++
The **Splatter** node outputs the splat image.
Parameters
++++++++++
The **Splatter** node has two parameters:
* *Count*, the number of instances of the source image in the result, including those canceled by the mask.
* *Inputs* is the number of alternate shapes in the input (1, 4 or 16). Images containing several
shapes can easily be created using the **Tile2x2** node.
* *Rotate* is the maximum angle of the random rotation applied to each instance.
* *Scale* is the amount of scaling applied to each instance.
Example images
++++++++++++++
.. image:: images/node_transform_splatter_samples.png
:align: center

View File

@ -0,0 +1,28 @@
Tile2x2 node
~~~~~~~~~~~~
The **Tile2x2** node combines 4 input images into a single output by tiling them.
.. image:: images/node_transform_tile2x2.png
:align: center
Inputs
++++++
The **Tile2x2** node accepts 4 RGBA inputs.
Outputs
+++++++
The **Tile2x2** node outputs the tiled RGBA image.
Parameters
++++++++++
The **Tile2x2** does not have any parameter.
Example images
++++++++++++++
.. image:: images/node_transform_tile2x2_sample.png
:align: center

View File

@ -11,3 +11,5 @@ The transform nodes are nodes that affect the geometry of their input.
node_transform_mirror node_transform_mirror
node_transform_warp node_transform_warp
node_transform_customuv node_transform_customuv
node_transform_tile2x2
node_transform_splatter

View File

@ -2603,6 +2603,16 @@
"tree_item": "Transform/CustomUV", "tree_item": "Transform/CustomUV",
"type": "custom_uv" "type": "custom_uv"
}, },
{
"collapsed": true,
"icon": "transform_tile2x2",
"name": "tile2x2",
"parameters": {
},
"tree_item": "Transform/Tile2x2",
"type": "tile2x2"
},
{ {
"collapsed": true, "collapsed": true,
"icon": "transform_splatter", "icon": "transform_splatter",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B