Remesh Instant Meshes (backend)
Field-aligned quad remeshing that actually respects your shape
- trimesh
- remeshed_mesh
- info
When people say "I want a retopology mesh," what they usually mean is Instant Meshes: the field-aligned quad remesher from the famous Wenzel Jakob paper that's been the go-to for quad-dominant retopo since it shipped. This node is the Instant Meshes backend of the GeometryPack Remesh node, exposed directly. Its party trick is aligning quads with the underlying curvature of the model - edges flow along your surface instead of fighting it - which is exactly what you want before sculpting, subdividing, or handing a mesh to someone who'll judge your topology.
Input is a TRIMESH; output is remeshed_mesh plus an info string. The whole thing is a clean three-input node, which is refreshing:
target_vertex_count- the master control. Instant Meshes is vertex-count-driven, so this is how you set the density. 5000 is a gentle default; a game-ready prop might want 20k, a hero sculpt more. Your quads will roughly fill whatever budget you give it.crease_angle- angle threshold for preserving sharp/crease edges, in degrees. 0 means "no crease preservation," which loses hard edges. If your boxy model comes out with rounded corners, set this to something like 30–45 and the sharp edges get locked in.deterministic- set to true for reproducible results. Leave it on unless you specifically want variation run to run.
The info output is worth glancing at on a first run - it tells you what actually happened (vertex counts, timings), which is the fastest way to sanity-check that your target_vertex_count did what you expected.
Install
Same story as every node in this pack - install it once:
cd ComfyUI/custom_nodes
git clone https://github.com/PozzettiAndrea/ComfyUI-GeometryPack.git
cd ComfyUI-GeometryPack
pip install -r requirements.txt --upgrade
python install.py
Or search GeometryPack in ComfyUI Manager. The README's warning applies here as much as anywhere: install goes through the experimental comfy-env/pixi path and can pull down a big environment on first run. Fast-moving repo - if behavior changes between versions, that's the cadence, and the author collects reports in GitHub Discussions.
The trap to avoid
Field-aligned quad remeshing is not magic. On organic, featureless shapes it's lovely; on surfaces with lots of small detail, Instant Meshes can simplify away the details you cared about because it's chasing a target vertex count, not your feature list. The classic beginner move is cranking target_vertex_count way down to get a "fast" mesh and then wondering where the detail went. Remesh to a reasonable count, keep crease_angle honest about your hard edges, and if a shape fights you, remember the same pack has triangle remeshers that don't care about quad alignment at all - sometimes the pragmatic answer is triangles.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| trimesh | TRIMESH | — | |
| target_vertex_count | INT | 5000100–1000000 | Target vertex count. Creates field-aligned quad-dominant mesh. |
| deterministic | COMBO | true | Use deterministic algorithm for reproducible results. |
| crease_angle | FLOAT | 00–180 | Angle threshold for preserving sharp/crease edges. 0 = no crease preservation. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| remeshed_mesh | TRIMESH | — |
| info | STRING | — |