deform nodes

13 node types in the deform category.

bend#

Bend along an axis into an arc of the given angle (like a simple-deform bend).

Inputs

#namedescription
0geogeometry

Parameters

nametypedefaultrangedescription
axisenum"y"the length axis that gets bent
options: y x z
towardenum"x"direction the end bends toward
options: x y z -x -y -z
anglefloat90total bend angle in degrees

Example

{ "type": "bend", "params": { "axis": "y", "toward": "x", "angle": 90 } }

jitter#

Random offset per point (deterministic by seed).

Inputs

#namedescription
0geogeometry

Parameters

nametypedefaultrangedescription
scalevec3[0.05,0.05,0.05]max offset per axis (single number = uniform)
aliases: amount amplitude
seedfloat0random seed
groupgroup (point)""point group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0"

Example

{ "type": "jitter", "params": { "scale": 0.02, "seed": 5 } }

lattice#

aliases: latticedeform ffd

Free-form deformation: bend geometry by moving the points of a coarse lattice box (trilinear or Bezier).

Embeds the geometry in a lattice and moves it with the lattice. Three inputs: geo, rest lattice, deformed lattice (same point count and order). The rest lattice can be any axis-aligned grid of points (point_grid, box or bound with divisions, any spacing); the interior nodes a box lacks are filled harmonically. Two inputs: input 2 is the DEFORMED lattice; its rest is its "rest" attribute if present, else the bounding box of geo with divisions (box order when the lattice has faces, point_grid order when it is points only), so geo → bound(divisions) → bend → lattice is the simplest graph. Points outside the lattice are extrapolated. Houdini: Lattice SOP; interp = bernstein is the classic Sederberg–Parry FFD (assumes evenly spaced rest nodes).

Inputs

#namedescription
0geogeometry to deform
1latticerest lattice (axis-aligned point_grid / box / bound); with only two inputs: the deformed lattice
2deformeddeformed lattice: the rest lattice with its points moved (same count and order) (optional)

Parameters

nametypedefaultrangedescription
divisionsivec3[2,2,2]1..128two-input form without a "rest" attribute: lattice divisions, matching the box/bound (or point_grid counts - 1) that was deformed; inferred with a warning when they do not match
aliases: divs div
interpenum"trilinear"trilinear = piecewise per lattice cell (local); bernstein = smooth Bezier volume over the whole lattice (global; evenly spaced lattices)
options: trilinear bernstein
aliases: interpolation mode
groupgroup (point)""points to deform ("" = all)

Example

{
  "nodes": {
    "column": {
      "type": "tube",
      "params": {
        "radius": 0.25,
        "height": 3,
        "rows": 30,
        "center": [0, 1.5, 0]
      }
    },
    "cage": {
      "type": "bound",
      "in": ["column"],
      "params": { "divisions": [1, 4, 1] }
    },
    "bent": { "type": "bend", "in": ["cage"], "params": { "angle": 70 } },
    "out": {
      "type": "lattice",
      "in": ["column", "bent"],
      "params": { "divisions": [1, 4, 1] }
    }
  }
}

noise_displace#

aliases: mountain displace noise

Displace points with fractal noise (Houdini Mountain): along normals, a fixed direction, or in 3D.

Inputs

#namedescription
0geogeometry to deform

Parameters

nametypedefaultrangedescription
amplitudefloat0.2displacement strength
aliases: amp height strength
frequencyvec3[1,1,1]noise frequency per axis (single number = uniform)
aliases: freq
offsetvec3[0,0,0]noise space offset
modeenum"normal"normal = along N; direction = along "direction"; 3d = independent noise per axis; curl = divergence-free flow
options: normal direction 3d curl
directionvec3[0,1,0]direction for mode=direction
noiseenum"perlin"base noise
options: perlin simplex value worley
fractalenum"fbm"fractal layering
options: fbm ridged turbulence none
octavesint31..12octaves
roughnessfloat0.5gain per octave
lacunarityfloat2frequency gain per octave
centeredbooltruenoise in [-1,1] (false shifts to [0,1]: only pushes outward)
seedfloat0random seed
mask_attribstring""point float attribute that scales the amplitude per point
storestring""also store the scalar noise value in this point attribute ("" = off)
rest_attribstring"rest"sample the noise at this point vec3 attribute instead of P when it exists, so the pattern sticks to deforming geometry (see the rest node; "" = always P)
groupgroup (point)""point group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0"

Example

{
  "type": "noise_displace",
  "params": {
    "amplitude": 0.15,
    "frequency": 3,
    "fractal": "ridged",
    "seed": 2
  }
}

Used in the example asset_cleanup.

path_deform#

aliases: pathdeform curve_deform curvedeform

Bend geometry along a curve: the geometry axis (default Z) follows the path with rotation-minimising frames, twist and stretch.

The geometry coordinate along axis becomes arc length on the curve; the other two coordinates become offsets in the curve frame (for axis z: x → side, y → up; the frame starts from up, so a straight curve along +Z from the origin leaves the geometry unchanged). The reference is the straight line along axis through the origin, or the bounding box along axis when stretch is on (then it maps onto length or the whole curve). With a rest curve in input 3, each point binds to its closest point on that curve instead, so geometry modelled along one curve moves to another. Open curves continue straight past their ends; closed curves wrap. Point N, up, v and orient rotate with the frame. Houdini: Path Deform SOP (the rest-curve form is like Wire/Curve deform).

Inputs

#namedescription
0geogeometry laid out along axis
1curvethe path: the first curve (polyline; a closed polygon loops)
2rest_curveoptional curve the geometry was modelled along (points bind to their closest point on it) (optional)

Parameters

nametypedefaultrangedescription
axisenum"z"geometry axis mapped along the curve
options: z x y
offsetfloat0slide along the path, in metres
aliases: shift path_offset
stretchboolfalsescale the geometry along the path so its extent along axis covers length (or the whole curve)
aliases: fit stretch_to_fit
lengthfloat00..stretch: target length along the path (0 = the curve length)
twistfloat0twist in degrees about the path, accumulated linearly over the whole curve length
rollfloat0constant rotation about the path in degrees
upvec3[0,1,0]up hint: the frame Y starts closest to it (rmf) or follows it everywhere (frame = up); a curve point attribute "up" overrides
frameenum"rmf"rmf = rotation-minimising frames (no flips on 3D curves); up = keep Y toward up at every point (roads, rails that stay level)
options: rmf up
groupgroup (point)""points to deform ("" = all)

Example

{
  "nodes": {
    "link": { "type": "box", "params": { "size": [0.12, 0.04, 0.25] } },
    "links": {
      "type": "copy_xform",
      "in": ["link"],
      "params": { "count": 40, "translate": [0, 0, 0.3], "rotate": [0, 0, 90] }
    },
    "path": {
      "type": "spiral",
      "params": { "radius": 1, "height": 2, "turns": 2 }
    },
    "out": {
      "type": "path_deform",
      "in": ["links", "path"],
      "params": { "stretch": true }
    }
  }
}

peak#

aliases: inflate push

Push points along their normals by a distance (inflate / shrink).

Inputs

#namedescription
0geogeometry

Parameters

nametypedefaultrangedescription
distancefloat0.05offset along N
aliases: dist amount
groupgroup (point)""point group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0"

Example

{ "type": "peak", "params": { "distance": 0.02 } }

point_deform#

aliases: pointdeform proxy_deform

Deform geometry by a proxy: points follow their nearest proxy points, including the local rotation (Houdini Point Deform).

Each geometry point is captured by its max_points nearest rest proxy points (within radius when it is > 0), with inverse-distance weights that fade to zero at the next-nearest point, so the capture is smooth. Each proxy point gets a local transform fitted to how its neighbours moved (mode: rigid rotation, affine with stretch, or plain offsets), and the geometry point moves with the weighted blend of those transforms, so bends and twists of a coarse proxy (a point cloud, a simulated low-res mesh, a point lattice) rotate the detail instead of shearing it. Rest and deformed proxy need the same point count and order. Two inputs: input 2 is the deformed proxy and its "rest" attribute is the rest. The capture is cached by content, so re-cooks where only the deformed proxy changes re-use it. Houdini: Point Deform SOP.

Inputs

#namedescription
0geogeometry to deform (e.g. the high-res mesh)
1restrest proxy points (point cloud or mesh); with only two inputs: the deformed proxy carrying a "rest" attribute
2deformeddeformed proxy: the rest proxy with its points moved (same count and order) (optional)

Parameters

nametypedefaultrangedescription
radiusfloat00..capture radius around each geometry point (0 = unlimited: always the nearest max_points); points with no proxy point in range stay put
max_pointsint41..64proxy points each geometry point is bound to
aliases: maxpts max_pts k
powerfloat20..8inverse-distance weight exponent (higher = each point follows its nearest proxy point more closely)
modeenum"rigid"local transform of each proxy point: rigid = rotation (detail keeps its shape), affine = rotation + stretch/shear, translate = offsets only (no rotation)
options: rigid affine translate
fit_pointsint82..64neighbours used to fit each proxy point's local transform (advanced)
groupgroup (point)""points to deform ("" = all)

Example

{
  "nodes": {
    "geo": {
      "type": "tube",
      "params": { "radius": 0.3, "height": 2, "rows": 20, "center": [0, 1, 0] }
    },
    "rest": {
      "type": "point_grid",
      "params": {
        "counts": [3, 6, 3],
        "size": [0.8, 2, 0.8],
        "center": [0, 1, 0]
      }
    },
    "bent": { "type": "bend", "in": ["rest"], "params": { "angle": 90 } },
    "out": { "type": "point_deform", "in": ["geo", "rest", "bent"] }
  }
}

ray#

aliases: project raycast snap_to_surface

Project points onto a target surface (along a direction, along N, or to the closest point).

Inputs

#namedescription
0geopoints/geometry to move
1targetcollision surface

Parameters

nametypedefaultrangedescription
modeenum"direction"how to find the hit
options: direction normal closest
directionvec3[0,-1,0]ray direction (mode=direction)
bidirectionalbooltruealso try the opposite direction
max_distancefloat1000000000ignore hits further than this
liftfloat0offset from the surface along its normal after projection
orientbooltrueset point N to the surface normal at the hit
delete_missesboolfalsedelete points that do not hit
groupgroup (point)""point group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0"

Writes: point N (orient), hitprim, hitdist

Example

{
  "nodes": {
    "ground": {
      "type": "terrain",
      "params": { "size": [10, 10], "divisions": [40, 40], "height": 1 }
    },
    "pts": {
      "type": "point_grid",
      "params": { "counts": [8, 1, 8], "size": [8, 0, 8], "center": [0, 5, 0] }
    },
    "drop": {
      "type": "ray",
      "in": ["pts", "ground"],
      "params": { "direction": [0, -1, 0] }
    }
  },
  "output": "drop"
}

rest#

aliases: rest_position restpos

Store the current positions in a "rest" point attribute, so noise and textures stay put while the geometry deforms.

Copies P (or P of the second input, which must have the same point count) into a vec3 point attribute. Nodes that sample noise in space (noise_displace, attrib_noise) read "rest" instead of P when it exists, so a noise pattern sticks to the surface through later transforms and deformers. lattice and point_deform also read a "rest" attribute on a deformed cage as its rest shape. Houdini: Rest Position SOP (rest, rnml).

Inputs

#namedescription
0geogeometry
1rest_fromoptional geometry with the same point count whose positions become the rest (optional)

Parameters

nametypedefaultrangedescription
namestring"rest"attribute name
aliases: attrib attribute
normalsboolfalsealso store the point normals as "rnml" (computed from the faces when there is no N)
aliases: rnml rest_normals

Writes: point rest (vec3), rnml (vec3, normals = true)

Example

{
  "nodes": {
    "ball": { "type": "sphere", "params": { "type": "ico", "level": 4 } },
    "rest": { "type": "rest", "in": ["ball"] },
    "moved": {
      "type": "transform",
      "in": ["rest"],
      "params": { "translate": [3, 0, 0] }
    },
    "out": {
      "type": "noise_displace",
      "in": ["moved"],
      "params": { "amplitude": 0.2, "frequency": 2 }
    }
  }
}

smooth#

aliases: relax laplacian

Relax point positions (Laplacian or volume-preserving Taubin smoothing).

Inputs

#namedescription
0geomesh or curves

Parameters

nametypedefaultrangedescription
iterationsint100..10000smoothing passes
aliases: iter
strengthfloat0.50..1move fraction per pass
methodenum"taubin"taubin avoids shrinking
options: taubin laplacian
preserve_boundarybooltruepin open-boundary and curve end points
groupgroup (point)""point group pattern to affect ("" = all). e.g. "top", "!top", "0-9", "@P.y>0"

Example

{
  "type": "smooth",
  "params": { "iterations": 20, "strength": 0.5, "method": "taubin" }
}

Used in the examples asset_cleanup, growth.

soft_transform#

aliases: softxform soft_xform edit soft_edit

Move / rotate / scale a point group with a soft falloff around it (Houdini Soft Transform / Edit with a soft radius).

Points in group get the full transform; other points within radius of the group get a partial one, weighted by the falloff curve of their distance (1 at the group, 0 at the radius). The transform is blended by scaling its parameters (translate·w, rotate·w, scale lerped from 1), so rotations sweep along arcs. distance: "surface" measures along mesh edges (Dijkstra) instead of straight lines, so the edit does not jump across gaps (a lip, a finger next to another). Houdini: Soft Transform SOP / Edit SOP with a soft radius; weight_attrib exposes the soft weights.

Inputs

#namedescription
0geogeometry to edit

Parameters

nametypedefaultrangedescription
groupgroup (point)""points that get the full transform ("" = all points: a plain rigid transform)
translatevec3[0,0,0]translation of the group
aliases: t move offset
rotatevec3[0,0,0]rotation in degrees about X, Y, Z (applied in xyz order)
aliases: r rot rotation
scalevec3[1,1,1]scale about the pivot (a single number = uniform)
aliases: s
pivot_modeenum"centroid"centroid = average position of the group; param = the pivot value
options: centroid param
pivotvec3[0,0,0]pivot for rotate/scale when pivot_mode = param
aliases: p
radiusfloat10..soft radius beyond the group; the weight falls to 0 at this distance (0 = only the group moves)
aliases: soft_radius rad falloff_radius
falloffenum"smooth"falloff shape over the normalised distance d: smooth (smoothstep), linear, ease_in ((1-d)^2, peaked), ease_out (1-d^2, dome), sharp ((1-sqrt d)^2, spike), ramp (the ramp param)
options: smooth linear ease_in ease_out sharp ramp
aliases: soft_type kernel
rampramp[[0,1],[1,0]]falloff = ramp: weight over the normalised distance (0 = at the group, 1 = at the radius)
distanceenum"euclidean"euclidean = straight-line distance to the nearest group point; surface = shortest path along edges from the group
options: euclidean surface
aliases: metric distance_metric
weight_attribstring""also write the soft weight (0..1) to this point float attribute ("" = off)
aliases: weight

Writes: point <weight_attrib> (optional)

Example

{
  "nodes": {
    "grid": {
      "type": "grid",
      "params": { "size": [4, 4], "divisions": [40, 40] }
    },
    "out": {
      "type": "soft_transform",
      "in": ["grid"],
      "params": {
        "group": "@P.x>-0.05 ^@P.x>0.05",
        "translate": [0, 1, 0],
        "radius": 1.5
      }
    }
  }
}

taper#

Scale cross-sections along an axis (linear or ramp), e.g. tapering columns or horns.

Inputs

#namedescription
0geogeometry

Parameters

nametypedefaultrangedescription
axisenum"y"taper axis
options: y x z
scale_startfloat1scale at the bbox start
scale_endfloat0.5scale at the bbox end
rampramp[[0,0],[1,1]]interpolation profile from start (0) to end (1)

Example

{
  "type": "taper",
  "params": { "axis": "y", "scale_start": 1, "scale_end": 0.3 }
}

twist#

Twist around an axis: rotation grows linearly along that axis across the bounding box.

Inputs

#namedescription
0geogeometry

Parameters

nametypedefaultrangedescription
axisenum"y"twist axis
options: y x z
anglefloat90total twist in degrees from bbox start to end
centervec3[0,0,0]axis passes through this point (use_bbox_center overrides)
use_bbox_centerbooltruetwist about the bbox center

Example

{ "type": "twist", "params": { "axis": "y", "angle": 180 } }