Skip to content

Examples

MW Lim edited this page May 15, 2022 · 107 revisions

Nodegroup Previews

All of the following examples uses the object coordinates as the input vector (Texture Coordinates > Object) on a plane, with the exception of 3D primitives which were raymarched with the UV sphere.

2D SDF Primitves

SDF Triangle

SDF Polygon

Patterns

3D SDF Primitives

SDF Operators

UV Operators

Vector Operators

Misc

SDF Primitves

sdArc

⬆️

arc

sdArrow

⬆️

arrow

sdBezier

⬆️

bezier

sdBlobbyCross

⬆️

sdblobbycross

sdBox

⬆️

box

sdCircle

⬆️ This is the same as subtracting a constant from the vector length node

circle

sdCosine

⬆️

cosine

sdCross

⬆️

cross

sdCutDisk

⬆️

cutdisk

sdEgg

⬆️

egg

sdEllipse

⬆️ Adapted from Ellipse - SDF (trigless, 3 iter)

ellipse

sdEllipseNewton

⬆️ Adapted from Ellipse - distance 2D II which uses the newton solver

sdFlatJoint

⬆️

flatjoint1 flatjoint2

sdRoundJoint

⬆️

roundjoint1 roundjoint2

sdHeart

⬆️

heart

sdHexagon

⬆️

hexagon

sdHexagram

⬆️

hexagram

sdHorseshoe

⬆️

horseshoe

sdMoon

⬆️

moon

sdOctogon

⬆️

octogon

sdParabola

⬆️

parabola

sdParabolaSegment

⬆️

parabolasegment

sdParallelogram

⬆️

parallelogram

sdPentagon

⬆️

pentagon

sdPie

⬆️

pie

sdQuad

⬆️

quad

sdRhombus

⬆️

rhombus

sdRoundedBox

⬆️

roundedbox

sdRoundedX

⬆️

roundedx

sdRoundedCross

⬆️

roundedxross

sdSegment

⬆️

segment

sdSpiral

⬆️

spiral

sdSpiralArcs

⬆️

arcs

sdSpiralARound

⬆️ Archimede Spiral with round caps

saround

sdSpiralASquare

⬆️ Archimede Spiral with squared caps

sasquare

sdStar

⬆️

star

sdStar5

⬆️

star5

sdTrapezoid

⬆️

trapezoid

sdTrapezoidY

⬆️

trapezoidy

sdTunnel

⬆️

tunnel

sdVesica

⬆️

vesica

sdSquareStairs

⬆️

squarestairs

sdStairs

⬆️

stairs

sdUnevenCapsuleY

⬆️ Adapted from sdUnevenCapsuleY

unevencapsuley

sdUnevenCapsule

⬆️ Adapted from sdUnevenCapsule

unevencapsule

SDF Triangle

sdTriangle

⬆️

triangle

sdTriangleIsoceles

⬆️

triangleisoceles

sdTriangleEquilateral

⬆️

triangleequilateral

SDF Polygon

sdPolygon4

⬆️

polygon4

sdPolygon8

⬆️

polygon8

SDF Patterns

sdRunes

⬆️ makes a rune in the 0..1 uv space (Adapted from Shadertoy)

runes1 runes2 runes3

sdTruchet

⬆️

truchet

3D SDF Primitives

sdSphere

⬆️

sphere

sdBox3D

⬆️

box3d

sdBoxFrame

⬆️

boxframe

sdTorus

⬆️

torus

sdVerticalSegment

⬆️

verticalsegment

sdSegment3D

⬆️

segment3d

sdLink

⬆️

link

sdBezier3D

⬆️

bezier3d

SDF Operators

opOnion

⬆️

onion

opDilate

⬆️ This is the same as subtracting a constant from a SDF

dilate

opHermitePulse

⬆️ Adapted from cubic_pulse (D6464)

hermitepulse

opDivide

⬆️ Union with gap between SDFs

divide

opPipe

⬆️ produces a cylindrical pipe that runs along the intersection (see fOpPipe for more info)

pipe

opExclusionXOR

⬆️ Union with intersection removed

exclusionxor

opEngrave

⬆️ intersection with V-shaped cut out (see fOpEngrave for more info)

engrave

opGroove

⬆️ intersection with groove cut out (see fOpGroove for more info)

groove1 groove2

opTongue

⬆️ intersection with tongue cut out (see fOpTongue for more info)

tongue

opUnion

⬆️

union

UV Operators

opUVGrid

⬆️

uvgrid uvgridcellid

opUVRandomRotate

⬆️

uvrandomrotate

opUVRandomFlip

⬆️

uvrandomflip

Vector Operators

opPolar

⬆️

oppolar1 oppolar2 oppolar3

opBend

⬆️ Bend position

Artboard

Misc

sdViewer

⬆️ Colorizes a distance field.

sdviewer

Clone this wiki locally