---
id: "isotropic-remeshing"
title: "Isotropic Remeshing"
domain: "geometry"
stage: "geometry"
realtime: "interactive"
platforms: [cpu, blender]
year_introduced: 2004
inputs: [mesh]
outputs: [mesh]
style: "both"
dynamic: "static"
cost: "offline"
authority: "Botsch & Kobbelt, 2004"
url: "https://texelatlas.vercel.app/t/isotropic-remeshing/"
sources_verified_at: "2026-11-29"
---
# Isotropic Remeshing (Botsch & Kobbelt, 2004)

> Iteratively splits long edges, collapses short ones, flips edges toward valence six and relaxes vertices tangentially, driving a triangle mesh to near-equilateral triangles of a target edge length.

## Reach for it when

- marching cubes output has thin sliver triangles
- mesh triangles vary wildly in size
- simulation blows up on badly shaped triangles
- need even triangle size before sculpting or smoothing
- want near-equilateral triangles at a target edge length

## How it works

Pick a target edge length L. Then loop: (1) split every edge longer than 4/3 L at its midpoint; (2) collapse every edge shorter than 4/5 L, unless that makes a longer edge; (3) flip edges when doing so reduces total deviation of vertex valence from six (four on the boundary); (4) move each vertex a step toward the centroid of its neighbours, projected onto the tangent plane; (5) reproject vertices back onto the original surface so the shape does not drift. A few iterations suffice. Feature edges and boundaries are pinned or only moved along their curve. Adaptive variants make L depend on curvature.

## When to use it

Choose it before simulation, smoothing, sculpting or parametrization when you need triangles of even size and shape, for example to fix marching-cubes slivers. Prefer [Quadric Error Metric Simplification](https://texelatlas.vercel.app/t/qem-mesh-simplification.md) when only fewer triangles matter, [Instant Field-Aligned Meshes](https://texelatlas.vercel.app/t/instant-meshes.md) or [QuadriFlow](https://texelatlas.vercel.app/t/quadriflow.md) when you want a quad mesh with aligned edge flow.

## Cost

offline — Several passes over the mesh with a spatial structure for reprojection; seconds for hundreds of thousands of triangles on CPU.
Measured GPU Weight: 19.39× baseline (moderate) — 0.601 ms median / 0.6377 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 15.89× baseline (moderate) — 0.2527 ms median (2.38× faster on L4).
Ampere A100 scaling: 11.47× baseline (moderate) — 0.3304 ms median (1.82× faster on A100).

## Failure modes

- Sharp features blur or get eaten unless feature edges are detected and constrained
- Tangential relaxation can drift thin structures without proper reprojection
- Does not respect existing UVs; seams must be pinned
- A uniform target length wastes triangles on flat areas and under-resolves fine details

## Engine support

- unreal: builtin — `Modeling Mode > Mesh > Remesh (and GeometryScriptRemeshOptions)` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/modeling-tools-in-unreal-engine, checked 2026-12-01)

## Dataflow

- Inputs: mesh
- Outputs: mesh
- Platforms: cpu, blender

## Presets

### Isotropic Remeshing — skinny stretched triangles (left) vs uniform equilateral valence-6 mesh (right) (glsl-fragment; rendered 2026-11-30)

```json
{
  "P_TARGET_EDGE": 11,
  "P_WIRE_VIS": 1,
  "P_ROT_SPEED": 0.7,
  "P_SPLIT": 0.48
}
```

```glsl
const float P_TARGET_EDGE = 11.0; // P Target Edge Inv [6.0, 20.0, 1.0]
const float P_WIRE_VIS = 1.0; // P Wire Contrast [0.2, 1.5, 0.05]
const float P_ROT_SPEED = 0.70; // P Spin Speed [0.0, 2.2, 0.05]
const float P_SPLIT = 0.48; // P Skinny / Isotropic [0.0, 1.0, 0.02]

mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }

float sdTorus(vec3 p, vec2 t) {
  vec2 q = vec2(length(p.xz) - t.x, p.y);
  return length(q) - t.y;
}

// Sculpted saddle torus-peanut manifold where naive UV triangulation creates extreme aspect-ratio slivers
float mapManifold(vec3 p, float spin) {
  vec3 q = p;
  q.xz = rot2(spin * 0.55) * q.xz;
  q.xy = rot2(0.52) * q.xy;
  float dTor = sdTorus(q, vec2(0.54, 0.25 + 0.04 * sin(atan(q.z, q.x) * 3.0)));
  return dTor * 0.85;
}

vec3 calcNormal(vec3 p, float spin) {
  vec2 e = vec2(0.0020, 0.0);
  return normalize(vec3(
    mapManifold(p + e.xyy, spin) - mapManifold(p - e.xyy, spin),
    mapManifold(p + e.yxy, spin) - mapManifold(p - e.yxy, spin),
    mapManifold(p + e.yyx, spin) - mapManifold(p - e.yyx, spin)
  ));
}

// Equilateral triangular lattice wireframe in 2D tangent space (valence-6 uniform triangles!)
float equilateralWire(vec2 p) {
  // Skew into 60-degree simplex lattice
  vec2 q = vec2(p.x - p.y * 0.57735027, p.y * 1.15470054);
  vec2 f = fract(q);
  float d1 = min(f.x, 1.0 - f.x);
  float d2 = min(f.y, 1.0 - f.y);
  float d3 = abs(f.x + f.y - 1.0) * 0.7071;
  return smoothstep(0.055, 0.012, min(min(d1, d2), d3));
}

vec3 aces(vec3 x) {
  x = max(x, 0.0);
  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}

void mainImage(out vec4 fragColor, in vec2 fragCoord) {
  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
  float screenX = fragCoord.x / max(iResolution.x, 1.0);
  float split = clamp(P_SPLIT, 0.0, 1.0);
  bool isIso = screenX >= split;
  float freq = clamp(floor(P_TARGET_EDGE + 0.5), 6.0, 22.0);
  float wireVis = clamp(P_WIRE_VIS, 0.1, 1.5);
  float spin = iTime * max(P_ROT_SPEED, 0.0);

  vec3 ro = vec3(0.0, 0.04, 2.38);
  vec3 rd = normalize(vec3(uv, -1.55));

  vec3 col = mix(vec3(0.025, 0.035, 0.058), vec3(0.072, 0.092, 0.140), smoothstep(-0.55, 0.55, uv.y));

  float t = 0.0;
  bool hit = false;
  for (int i = 0; i < 64; i++) {
    float d = mapManifold(ro + rd * t, spin);
    if (d < 0.002) { hit = true; break; }
    t += d;
    if (t > 7.5) break;
  }

  if (hit) {
    vec3 p = ro + rd * t;
    vec3 n = calcNormal(p, spin);

    vec3 objP = p;
    objP.xz = rot2(spin * 0.55) * objP.xz;
    objP.xy = rot2(0.52) * objP.xy;

    // Toroidal angles (u around major circle, v around minor tube)
    float uAng = atan(objP.z, objP.x);
    float rMaj = length(objP.xz) - 0.54;
    float vAng = atan(objP.y, rMaj);

    vec3 l1 = normalize(vec3(0.58, 0.82, 0.54));
    vec3 l2 = normalize(vec3(-0.72, -0.22, 0.50));
    float diff = max(dot(n, l1), 0.0) * 0.85 + max(dot(n, l2), 0.0) * 0.25;
    float spec = pow(max(dot(n, normalize(l1 - rd)), 0.0), 48.0);

    if (!isIso) {
      // Left: Raw non-uniform mesh with skinny stretched sliver triangles (aspect ratio > 4:1)
      vec2 stretched = vec2(uAng * 0.85 * freq / 3.1415926 + sin(vAng * 2.0) * 0.45, vAng * 3.8 * freq / 6.2831853);
      // Irregular vertex jitter creating pinched high-valence hubs & thin slivers
      stretched.x += 0.35 * sin(vAng * 5.0 + uAng * 2.0);
      float wireBad = equilateralWire(stretched);
      float badQuality = clamp(0.45 + 0.55 * abs(sin(uAng * 2.0 + vAng * 3.0)), 0.0, 1.0);
      vec3 qualityCol = mix(vec3(0.92, 0.58, 0.18), vec3(0.94, 0.24, 0.20), badQuality);
      col = qualityCol * (0.28 + 0.82 * diff) + vec3(0.95) * spec * 0.40;
      col = mix(col, vec3(0.14, 0.04, 0.04), wireBad * 0.78 * min(wireVis, 1.2));
    } else {
      // Right: Isotropic remeshing (arc-length scaled equal-edge equilateral triangles, valence-6!)
      // Arc-length around major circle ~ 2*pi*0.54, around tube ~ 2*pi*0.25 => exact 2.16:1 ratio!
      vec2 isoCoord = vec2(uAng * (freq * 2.16) / 6.2831853, vAng * freq / 6.2831853);
      float wireIso = equilateralWire(isoCoord);
      vec3 goodCol = vec3(0.16, 0.78, 0.68);
      col = goodCol * (0.28 + 0.82 * diff) + vec3(0.95) * spec * 0.50;
      col = mix(col, vec3(0.03, 0.12, 0.14), wireIso * 0.72 * min(wireVis, 1.2));
    }
  }

  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
  col = mix(col, vec3(0.95, 0.97, 1.0), sep);

  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}
```

Attribution: MIT — written for this index.

## Combines with

- [three-mesh-bvh](https://texelatlas.vercel.app/t/three-mesh-bvh.md): A BVH accelerates the closest-point reprojection back onto the source surface.

## Combination ideas

- [Watertight scan-to-simulation pipeline via Poisson reconstruction and isotropic remeshing](https://texelatlas.vercel.app/ideas/poisson-reconstructed-isotropic-remesh/)

## Sources

1. [primary] Mario Botsch, Leif Kobbelt (2004) A remeshing approach to multiresolution modeling. Proceedings of the 2004 Eurographics/ACM SIGGRAPH symposium on Geometry processing. https://doi.org/10.1145/1057432.1057457 (verified via crossref on 2026-11-29)
2. [implementation] pmp-library (2017) pmp-library/pmp-library. https://github.com/pmp-library/pmp-library License: MIT. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Isotropic Remeshing." https://texelatlas.vercel.app/t/isotropic-remeshing/ (accessed 2026-12-01).
