Skip to content

(fix) Smooth warp shoulders and preserve finer remesh detail - #37

Merged
nimerix merged 13 commits into
mainfrom
fix/warp-base-and-remesh-detail
Nov 19, 2026
Merged

nimerix merged 13 commits into
mainfrom
fix/warp-base-and-remesh-detail

Conversation

@nimerix

@nimerix nimerix commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Keep point warps smooth across grid nodes and local surface patches, including long pulls on near-flat scans.
  • Carry written warp detail through snapshots, undo, seam closing, and surface sampling so handles continue to match the displayed surface.
  • Increase manual voxel remesh resolution from 128 to 256, default to 128, and cap occupied-voxel storage with a clear limit error.

Testing

  • npm test - 1,278 passed, 6 skipped.
  • Browser tests - 51 passed.
  • npm run build - passed.

Grid paths over a fixed stretch overstated the distance by up to 18% at
some nodes, so a handle's profile landed unevenly from node to node and
its bend came out lumpy. Marching a flat front across each triangle
follows the surface within a few percent, and a 5% slack over the
straight line keeps a flat area round.
Skinning interpolated a handle's falloff profile between grid nodes, so a
long pull left teeth a node apart around its root and dipped the surface
past its radius. Each vertex now takes the profile at its own distance in
place of what skinning made of the nodes' guided displacement. The solve
aims constraints short of that detail so points still land, pins and new
points are where the surface is written, and the shown detail is carried
to a new grid. It fades out where something else holds the surface or the
profile is cut off at the paint.
A handle made on a bent surface took a baseline without the detail it was
shown with, so laying a new region moved that baseline by up to 1.9 mm.
Each settled snapshot now records the detail it was written with, and
carrying it to another grid or a rebuilt one takes the detail along. A
snapshot of the untouched surface is carried as rest exactly, so a
density change writes a pull as a fresh pull at that density does.

Close gap finds facing nodes by the written normals, detail included,
and judges held and automatic points by where they are written now and
in each trial. Taking over an automatic point with a radius edit pins it
where it is written.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kitbasher bfc1ab2 Commit Preview URL

Branch Preview URL
Nov 19 2026, 04:38 PM

@nimerix
nimerix merged commit 42cc04e into main Nov 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant