Tools / hModel / hModel / Nodes

Quad Remesh

Rebuilds a surface as quads that follow its shape and its feature lines.

Access
Free
Node version
1.0
Package
hModel
Houdini
22.0+

Overview

Quad Remesh turns a scan, a sculpt or any triangle soup into a clean, mostly-quad mesh.

The remeshing algorithm is **AutoRemesher by Jeremy Hu** (huxingyi), used under the MIT licence: AutoRemesher. hModel brings it into Houdini and adds guide curves, feature edges, density and symmetry on top. Full credits are at the end of this page.

The input's closed polygons are triangulated first; points, curves and open primitives are ignored. Separate pieces are remeshed separately and in parallel.

Press Esc while it cooks to stop it.

Parameters

Target Quads

About how many quads to make.

Match Target

Runs the remesher again (up to twice more) with a corrected target when the count lands more than 5% off. Off: one run, faster, usually fewer quads.

Edge Scaling

Scales the quad size on top of Target Quads: above 1, fewer and larger quads.

Adaptivity

0: even quads everywhere. 1: smaller quads where the surface bends more. Default 0.5.

Anisotropy

0: square quads. 1: quads long along the flatter direction.

Sharp Edge Angle

Edges sharper than this are kept as feature lines; the quads run along them.

Smooth Normal Angle

0 treats the input as faceted. Higher values follow its smooth normals.

Guide Curves (second input)

Curves on or near the surface. The quads' edge loops follow them within Guide Radius, pulled as hard as Guide Strength.

Guide Strength

How hard the guide curves pull the quad flow. 0: ignored.

Guide Radius

How far a guide curve's pull reaches (scene units); it fades out to there. 0 turns the guides off.

Feature Edges

An edge group on the input the quads always run along, whatever the angle: creases, seams, borders between parts. A group picked across a grid works: the line's direction is taken over a few edges.

Use Density

Scales the quad size by a point float on the input: 2 makes quads half the size there, 0.5 twice the size. With Match Target on the total stays about the same, so density moves quads from one place to another.

Symmetry

Remeshes one side of the plane and mirrors it, so the topology matches left to right. The side the axis points to is kept. The seam is one row of points on the plane with whole quads on both sides. Where the shape across the plane is thinner than a quad (a chin, between the legs at a low count) the seam may step to the next row in a few places.

Relax Seam

Evens out the quads near the seam so their edge loops meet the plane square, instead of making a "V" with their mirror image. 0: off, 0.5 by default. It settles quickly: above about 0.25 it changes little more. Where the seam steps to the next row (thin shapes) the V stays.

Relax Width

How many rows of quads either side of the seam Relax Seam reaches. Wider spreads the evening out over more rows.

Transfer Attributes

Copies these point attributes from the input onto the new points (nearest surface).

Add Normals

Adds point normals to the result.

Credits

The quad remesher is AutoRemesher by Jeremy Hu (huxingyi), MIT licence. hModel ships a modified copy: console output silenced, and a guidance hook added for guide curves, feature edges and density. Thank you, Jeremy.

It also contains isotropicremesher by Jeremy Hu (MIT), meshoptimizer by Arseny Kapoulkine (MIT) and Eigen (MPL 2.0). The licence texts ship in the package's licenses folder ($HMODEL/licenses).

Version notes

  • Remove Quad Remesh: moved to the hModel package
  • Quad Remesh ships with TumbleRig: th::quad_remesh::1.0 HDA + th::quad_remesh_core::1.0 verb
  • Quad Remesh symmetry: no seam triangles at any scale (seam per piece, band seam retried until clean)
  • Quad Remesh: Guide Radius 0 no longer hangs Houdini (0 = guides off)
  • Quad Remesh: Relax Seam (evens out the quads near the symmetry seam, no V lines across it)
  • Quad Remesh: notes on the band seam's offset (a nearer anchor drifts less but breaks the seam steps)
  • Quad Remesh Symmetry: audit fixes (quad budget from the front side, half inputs, local tolerance, hole corners, no symmetry cooks with it off)
  • Quad Remesh: exact symmetry seam (clip at the plane, the core pins the boundary on it), band seam as the fallback
  • Quad Remesh: the symmetry seam is whole quads (quads run along the plane, one row of points on it, no more triangles)
  • Quad Remesh: the symmetry seam closes (no more hole down the middle)
  • Quad Remesh: Adaptivity defaults to 0.5 (was 1)
  • Quad Remesh: credit AutoRemesher by Jeremy Hu in the node (label, link button, help, comment) and the README