2019-11-17 07:42:44 +01:00
|
|
|
sdBox node
|
|
|
|
..........
|
|
|
|
|
|
|
|
The **sdBox** node generates a signed distance image for a rectangle.
|
|
|
|
|
2020-02-15 22:20:26 +01:00
|
|
|
.. image:: images/node_simple_sdf_shapes_sdbox.png
|
2019-11-17 07:42:44 +01:00
|
|
|
:align: center
|
|
|
|
|
|
|
|
Inputs
|
|
|
|
::::::
|
|
|
|
|
|
|
|
The **sdBox** node does not accept any input.
|
|
|
|
|
|
|
|
Outputs
|
|
|
|
:::::::
|
|
|
|
|
|
|
|
The **sdBox** node generates a signed distance function for an axis aligned box.
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
::::::::::
|
|
|
|
|
|
|
|
The **sdBox** node accepts the following parameters:
|
|
|
|
|
|
|
|
* its *width* and *height*
|
|
|
|
* the *X and Y coordinates of opposite of its center*
|
|
|
|
|
|
|
|
Example images
|
|
|
|
::::::::::::::
|
|
|
|
|
|
|
|
.. image:: images/node_sdbox_sample.png
|
|
|
|
:align: center
|