mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
32 lines
551 B
ReStructuredText
32 lines
551 B
ReStructuredText
|
sdBox node
|
||
|
..........
|
||
|
|
||
|
The **sdBox** node generates a signed distance image for a rectangle.
|
||
|
|
||
|
.. image:: images/node_sdbox.png
|
||
|
: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
|