Manuscript Offprint

arXiv:2611.09693

Real-Time Self-Penetration Repair for Skinned Characters with Soft Contact Budgets

Yifei Zhu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Motion that is plausible on one body can penetrate another after a change in shape, and motion models can produce self-penetration on their native characters. We present a training-free post-process that reduces these artifacts through pose correction followed by bounded skin compression. The module attaches to any motion model whose native character and output character have compatible character packs, without access to model internals. Each pack is built offline from the rig and skin without training. A vertex-level pose layer solves a local quadratic program in plain C on one CPU core, and a stateless contact deformer acts on the host's final skinned mesh. A part-dependent soft-tissue budget allocates correction between pose and skin through a static convention. Source penetration contributes no extra allowance; optional cloth thickness and compliance modify the pose layer's collision surface. Operation is causal or uses a short buffered lookahead, with frame-exact pass-through at the native interface for clean, inactive frames in the zero state. Across 320 unseen clips and 3 body shapes, the fraction of frames with hand-torso depth above 20 mm falls from 15.53% for copied motion to 0.00%, with final maximum depth 9.3 mm over every frame. Mean pose and skin costs are 1.11 and 1.18 ms, respectively, and their sum of 2.29 ms is a sub-frame processing cost. The median joint-velocity high-frequency ratio relative to copied target motion is 1.008.

1 Introduction

A motion model specifies how a character moves; the rendered skin determines whether that motion makes geometric sense. Changing torso width, limb thickness, or body proportions can turn a valid gesture into a hand inside the chest or an arm crossing the abdomen. Copying joint rotations preserves their values but changes the spatial relationships between surfaces. Geometry-aware retargeting addresses this mismatch [1, 2, 3]. A second source of artifacts remains even without a shape change: the model's native motion can already contain self-penetration. Recent mesh-aware refinement and post-hoc collision correction explicitly address such inputs [4, 5, 6]. A reusable repair module should handle both sources of penetration while preserving the motion supplied by its host.

The difficulty is to reconcile surface geometry, contact, and temporal continuity within a streaming budget. Skeletons alone do not describe the clearance available to a hand beside a thick torso. Conversely, treating every intersection as a rigid violation can displace a sustained contact that should instead compress the skin. Contact-aware retargeting has long recognized that slight intersections can be acceptable in some anatomical regions [7]. Correction must also release smoothly after an interaction and recover the exact input when no correction state remains. A deployment interface should let the host retain its motion representation, generator, and rendering pipeline.

We introduce a training-free post-process for any motion model whose native character and output character have compatible character packs. It treats the model as a black box and operates after generation or retargeting. An offline builder derives each pack from its rest mesh, skin weights, skeleton, and semantic joint mapping. At runtime the host supplies synchronized native and target poses. The native pack remains necessary even when source penetration has no allowance, because source observations also identify sustained contacts. No model weights, gradients, or per-character learning are required.

The module combines two geometric correction scales. Layer 1 updates the 21 non-root body-joint rotations as Rt,jout=Rt,jinexp⁡(δt,j^)R_{t,j}^{\text{out}} = R_{t,j}^{\text{in}} \exp(\widehat{\delta_{t,j}}) using a per-frame, vertex-level QP. Sampled skinned vertices generate local collision rows; pose tracking and residual temporal costs retain the incoming motion. Layer 2 then applies bounded, stateless contact displacements to the host's final skinned mesh. Time-independent skin contact deformation is established work [8]; the contribution here is its integration with pose repair through a static soft-budget convention.

The pose layer discounts a part-dependent soft thickness before charging penetration. Its default fraction is ρ=0.5\rho = 0.5, with ρh=0.1\rho_h = 0.1 for hand queries and ρf=0.1\rho_f = 0.1 for forearm-torso queries. The source-depth multiplier is σsrc=0\sigma_{\text{src}} = 0, so a penetrating source does not authorize additional target penetration. Fixed pair allowances remain separate. The skin layer re-detects contact and uses the global ρ\rho to cap compression; it receives no remaining-slack message. A depth-triggered urgency schedule adjusts smoothing and residual-motion limits for deeper hand/forearm-torso conflicts. Cloth offsets and a compliance parameter κ\kappa modify selected pose collision tests. These mechanisms operate causally or with short endpoint lookahead; buffering adds L/FL/F seconds independently of processing time.

Our contributions are:

  • A model-independent pose-and-skin repair system, with offline, training-free native and target character packs, that addresses both shape-induced and source-existing penetration.

  • A static soft-budget convention joining sampled vertex-level pose correction to final-mesh contact compression, together with a depth-triggered urgency schedule and cloth thickness/compliance.

  • A single-core implementation with sub-frame processing and frame-exact pass-through for clean, inactive zero-state frames at the native interface. Existing correction history returns through release; geometric clearance alone does not imply an immediate copy.

On 320 unseen clips across 3 body shapes, hand-torso depth exceeds 20 mm in 15.53% of copied frames and 0.00% of final frames. The final maximum depth over every frame is 9.3 mm. Mean pose and skin costs are 1.11 and 1.18 ms, which sum to 2.29 ms. The median joint-velocity high-frequency ratio relative to copied target motion is 1.008.

References (21)