-
Notifications
You must be signed in to change notification settings - Fork 18
Examples
Note This page is work in progress(incomplete).
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 using UV sphere as a container.
2D SDF / 2D SDF (L-inf) / 3D SDF / Patterns / SDF Ops / UV Ops / Vector Ops / Tiling / Misc
- sdArc
- sdArrow
- sdBezier
- sdBlobbyCross
- sdBox
- sdBoxOriented
- sdCircle
- sdCosine
- sdCross
- sdCutDisk
- sdEgg
- sdEllipse
- sdEllipseN
- sdFlatJoint
- sdRoundJoint
- sdHeart
- sdHexagon
- sdHexagram
- sdHorseshoe
- sdMoon
- sdOctogon
- sdParabola
- sdParabolaSegment
- sdParallelogram
- sdPentagon
- sdPie
- sdQuad
- sdQuadraticCircle
- sdRhombus
- sdRoundedBox
- sdRoundedX
- sdRoundedCross
- sdSegment
- sdSpiral
- sdSpiralArcs
- sdSpiralARound
- sdSpiralASquare
- sdStar
- sdStar5
- sdSquircle
- sdSquircleCheap
- sdTrapezoid
- sdTrapezoidY
- sdTunnel
- sdVesica
- sdSquareStairs
- sdStairs
- sdUnevenCapsule
- sdUnevenCapsuleY
- sdBezier
- sdBox
- sdBoxFrame
- sdCappedTorus
- sdCutHollowSphere
- sdCutSphere
- sdDeathStar
- sdEllipsoid
- sdHexPrism
- sdLink
- sdOctahedron
- sdRoundedCylinder
- sdRoundCone
- sdRhombus3D
- sdSegment
- sdSphere
- sdSolidAngle
- sdTorus
- sdTriangle
- sdTriPrismBound
- sdVerticalSegment
- sdVerticalCappedCone
⬆️ This is the same as subtracting a constant from the vector length node
⬆️ Adapted from Ellipse - SDF (trigless, 3 iter)
⬆️ Adapted from Ellipse - distance 2D II which uses the newton solver
⬆️ Archimede Spiral with round caps
⬆️ Archimede Spiral with squared caps
⬆️ Adapted from sdUnevenCapsuleY
⬆️ Adapted from sdUnevenCapsule
⬆️ makes a rune in the 0..1 uv space (Adapted from Shadertoy)
⬆️ This is the same as subtracting a constant from a SDF
⬆️ Adapted from cubic_pulse (D6464)
⬆️ Union with gap between SDFs
⬆️ produces a cylindrical pipe that runs along the intersection (see fOpPipe for more info)
⬆️ Union with intersection removed
⬆️ intersection with V-shaped cut out (see fOpEngrave for more info)
⬆️ intersection with groove cut out (see fOpGroove for more info)
⬆️ intersection with tongue cut out (see fOpTongue for more info)
⬆️ Bend position
⬆️ Elongate along axes
⬆️ Hexagon Grid
⬆️ Colorizes a distance field.