mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
960c87e49c
Everything not describing the nodes library, and the "Simple" section of the library should be ready now.
47 lines
1.1 KiB
ReStructuredText
47 lines
1.1 KiB
ReStructuredText
Signed distance function geometry nodes
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
The signed distance function nodes can be used to define complex geometry using simple
|
|
shapes.
|
|
|
|
They are based on a very small set of basic shapes, that can be combined using operators,
|
|
and finally output as a greyscale image using the **sdShow** node.
|
|
|
|
All output samples shown in this sections are images generated through the **sdView** node.
|
|
|
|
All Signed Distance Functions nodes are based on code written by Inigo Quilez that can be found
|
|
`on this page`__.
|
|
|
|
.. _sdf2dpage: https://www.iquilezles.org/www/articles/distfunctions2d/distfunctions2d.htm
|
|
|
|
__ sdf2dpage_
|
|
|
|
Shapes
|
|
++++++
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
node_simple_sdf_shapes_sdcircle
|
|
node_simple_sdf_shapes_sdline
|
|
node_simple_sdf_shapes_sdbox
|
|
node_simple_sdf_shapes_sdrhombus
|
|
|
|
Operators
|
|
+++++++++
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
node_simple_sdf_operators_sdboolean
|
|
node_simple_sdf_operators_sdsmoothboolean
|
|
node_simple_sdf_operators_sdroundedshape
|
|
node_simple_sdf_operators_sdannularshape
|
|
node_simple_sdf_operators_sdshow
|
|
|
|
Example images
|
|
++++++++++++++
|
|
|
|
.. image:: images/node_sdf_samples.png
|
|
:align: center
|