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
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
axis | enum | "y" | the length axis that gets bent options: y x z | |
toward | enum | "x" | direction the end bends toward options: x y z -x -y -z | |
angle | float | 90 | total bend angle in degrees |
Example
{ "type": "bend", "params": { "axis": "y", "toward": "x", "angle": 90 } }
jitter#
Random offset per point (deterministic by seed).
Inputs
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
scale | vec3 | [0.05,0.05,0.05] | max offset per axis (single number = uniform) aliases: amount amplitude | |
seed | float | 0 | random seed | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry to deform |
| 1 | lattice | rest lattice (axis-aligned point_grid / box / bound); with only two inputs: the deformed lattice |
| 2 | deformed | deformed lattice: the rest lattice with its points moved (same count and order) (optional) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
divisions | ivec3 | [2,2,2] | 1..128 | two-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 |
interp | enum | "trilinear" | trilinear = piecewise per lattice cell (local); bernstein = smooth Bezier volume over the whole lattice (global; evenly spaced lattices) options: trilinear bernsteinaliases: interpolation mode | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry to deform |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
amplitude | float | 0.2 | displacement strength aliases: amp height strength | |
frequency | vec3 | [1,1,1] | noise frequency per axis (single number = uniform) aliases: freq | |
offset | vec3 | [0,0,0] | noise space offset | |
mode | enum | "normal" | normal = along N; direction = along "direction"; 3d = independent noise per axis; curl = divergence-free flow options: normal direction 3d curl | |
direction | vec3 | [0,1,0] | direction for mode=direction | |
noise | enum | "perlin" | base noise options: perlin simplex value worley | |
fractal | enum | "fbm" | fractal layering options: fbm ridged turbulence none | |
octaves | int | 3 | 1..12 | octaves |
roughness | float | 0.5 | gain per octave | |
lacunarity | float | 2 | frequency gain per octave | |
centered | bool | true | noise in [-1,1] (false shifts to [0,1]: only pushes outward) | |
seed | float | 0 | random seed | |
mask_attrib | string | "" | point float attribute that scales the amplitude per point | |
store | string | "" | also store the scalar noise value in this point attribute ("" = off) | |
rest_attrib | string | "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) | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry laid out along axis |
| 1 | curve | the path: the first curve (polyline; a closed polygon loops) |
| 2 | rest_curve | optional curve the geometry was modelled along (points bind to their closest point on it) (optional) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
axis | enum | "z" | geometry axis mapped along the curve options: z x y | |
offset | float | 0 | slide along the path, in metres aliases: shift path_offset | |
stretch | bool | false | scale the geometry along the path so its extent along axis covers length (or the whole curve)aliases: fit stretch_to_fit | |
length | float | 0 | 0.. | stretch: target length along the path (0 = the curve length) |
twist | float | 0 | twist in degrees about the path, accumulated linearly over the whole curve length | |
roll | float | 0 | constant rotation about the path in degrees | |
up | vec3 | [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 | |
frame | enum | "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 | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
distance | float | 0.05 | offset along N aliases: dist amount | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry to deform (e.g. the high-res mesh) |
| 1 | rest | rest proxy points (point cloud or mesh); with only two inputs: the deformed proxy carrying a "rest" attribute |
| 2 | deformed | deformed proxy: the rest proxy with its points moved (same count and order) (optional) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
radius | float | 0 | 0.. | capture radius around each geometry point (0 = unlimited: always the nearest max_points); points with no proxy point in range stay put |
max_points | int | 4 | 1..64 | proxy points each geometry point is bound to aliases: maxpts max_pts k |
power | float | 2 | 0..8 | inverse-distance weight exponent (higher = each point follows its nearest proxy point more closely) |
mode | enum | "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_points | int | 8 | 2..64 | neighbours used to fit each proxy point's local transform (advanced) |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | points/geometry to move |
| 1 | target | collision surface |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
mode | enum | "direction" | how to find the hit options: direction normal closest | |
direction | vec3 | [0,-1,0] | ray direction (mode=direction) | |
bidirectional | bool | true | also try the opposite direction | |
max_distance | float | 1000000000 | ignore hits further than this | |
lift | float | 0 | offset from the surface along its normal after projection | |
orient | bool | true | set point N to the surface normal at the hit | |
delete_misses | bool | false | delete points that do not hit | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
| 1 | rest_from | optional geometry with the same point count whose positions become the rest (optional) |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
name | string | "rest" | attribute name aliases: attrib attribute | |
normals | bool | false | also 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
| # | name | description |
|---|---|---|
| 0 | geo | mesh or curves |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
iterations | int | 10 | 0..10000 | smoothing passes aliases: iter |
strength | float | 0.5 | 0..1 | move fraction per pass |
method | enum | "taubin" | taubin avoids shrinking options: taubin laplacian | |
preserve_boundary | bool | true | pin open-boundary and curve end points | |
group | group (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
| # | name | description |
|---|---|---|
| 0 | geo | geometry to edit |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
group | group (point) | "" | points that get the full transform ("" = all points: a plain rigid transform) | |
translate | vec3 | [0,0,0] | translation of the group aliases: t move offset | |
rotate | vec3 | [0,0,0] | rotation in degrees about X, Y, Z (applied in xyz order) aliases: r rot rotation | |
scale | vec3 | [1,1,1] | scale about the pivot (a single number = uniform) aliases: s | |
pivot_mode | enum | "centroid" | centroid = average position of the group; param = the pivot valueoptions: centroid param | |
pivot | vec3 | [0,0,0] | pivot for rotate/scale when pivot_mode = param aliases: p | |
radius | float | 1 | 0.. | soft radius beyond the group; the weight falls to 0 at this distance (0 = only the group moves) aliases: soft_radius rad falloff_radius |
falloff | enum | "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 rampaliases: soft_type kernel | |
ramp | ramp | [[0,1],[1,0]] | falloff = ramp: weight over the normalised distance (0 = at the group, 1 = at the radius) | |
distance | enum | "euclidean" | euclidean = straight-line distance to the nearest group point; surface = shortest path along edges from the group options: euclidean surfacealiases: metric distance_metric | |
weight_attrib | string | "" | 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
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
axis | enum | "y" | taper axis options: y x z | |
scale_start | float | 1 | scale at the bbox start | |
scale_end | float | 0.5 | scale at the bbox end | |
ramp | ramp | [[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
| # | name | description |
|---|---|---|
| 0 | geo | geometry |
Parameters
| name | type | default | range | description |
|---|---|---|---|---|
axis | enum | "y" | twist axis options: y x z | |
angle | float | 90 | total twist in degrees from bbox start to end | |
center | vec3 | [0,0,0] | axis passes through this point (use_bbox_center overrides) | |
use_bbox_center | bool | true | twist about the bbox center |
Example
{ "type": "twist", "params": { "axis": "y", "angle": 180 } }