mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
960c87e49c
Everything not describing the nodes library, and the "Simple" section of the library should be ready now.
33 lines
641 B
ReStructuredText
33 lines
641 B
ReStructuredText
sdLine node
|
|
.............
|
|
|
|
The **sdLine** node generates a signed distance image for a line segment. It can
|
|
easily be turned into a capsule shape using an **sdRoundedShape** node (the result
|
|
is shown in the example image below).
|
|
|
|
.. image:: images/node_sdline.png
|
|
:align: center
|
|
|
|
Inputs
|
|
::::::
|
|
|
|
The **sdLine** node does not accept any input.
|
|
|
|
Outputs
|
|
:::::::
|
|
|
|
The **sdLine** node generates a signed distance function for a line.
|
|
|
|
Parameters
|
|
::::::::::
|
|
|
|
The **sdLine** node accepts the *X and Y coordinates of both ends of the
|
|
segment* as parameters.
|
|
|
|
|
|
Example images
|
|
::::::::::::::
|
|
|
|
.. image:: images/node_sdline_sample.png
|
|
:align: center
|