-
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 / 2D L-inf / 3D / Patterns / SDF Ops / UV Ops / Vector Ops / Tiling / Misc
- sdArc
- sdArrow
- sdBezier
- sdBlobbyCross
- sdBox
- sdBoxOriented
- sdCircle
- sdCosine
- sdCross
- sdCutDisk
- sdCircleWave
- sdDogBone
- sdEgg
- sdEllipse
- sdEllipseN
- sdFlatJoint
- sdRoundJoint
- sdHeart
- sdHexagon
- sdHexagram
- sdHorseshoe
- sdHyperbolicCross
- sdMoon
- sdNgon
- sdOctogon
- sdOneOverX
- sdParabola
- sdParabolaSegment
- sdParallelogram
- sdPentagon
- sdPie
- sdQuad
- sdQuadraticCircle
- sdRhombus
- sdRoundedBox
- sdRoundedX
- sdRoundedCross
- sdRing
- sdSegment
- sdSpiral
- sdSpiralArcs
- sdSpiralARound
- sdSpiralASquare
- sdStar
- sdStar5
- sdSquircle
- sdSquircleCheap
- sdTrapezoid
- sdTrapezoidY
- sdTunnel
- sdVesica
- sdVesicaSegment
- sdSquareStairs
- sdStairs
- sdUnevenCapsule
- sdUnevenCapsuleY
- sdBezier
- sdBox
- sdBoxFrame
- sdCone
- sdCappedTorus
- sdCappedCone
- sdCutHollowSphere
- sdCutSphere
- sdDeathStar
- sdEllipsoid
- sdHexPrism
- sdLink
- sdOctahedron
- sdRoundedCylinder
- sdRoundCone
- sdRhombus3D
- sdSegment
- sdSphere
- sdSolidAngle
- sdTorus
- sdTriangle
- sdTriPrismBound
- sdTriPrism
- sdVerticalSegment
- sdVerticalCappedCone
- sdVerticalRoundCone
- opOnion
- opDilate
- opHermitePulse
- opDivide
- opPipe
- opExclusionXOR
- opEngrave
- opGroove
- opTongue
- opUnion
- opXor
⬆️ 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.