Skip to content

Turn any video into a Mixamo-rig animation - GVHMR estimator, spec-driven retarget, FK apply in Blender via MCP. Works with any Mixamo character; built to be operated end-to-end by an AI agent.

docs: why the body is not pinned to a foot nobody saw down

Sachada5e7cc48557
diff --git a/docs/PIPELINE.md b/docs/PIPELINE.md
index d01ca0c..acad029 100644
--- a/docs/PIPELINE.md
+++ b/docs/PIPELINE.md
@@ -118,15 +118,15 @@ What the stage does, in order:
tracks, sole within 12 cm of the floor — the estimate can leave a
planted foot 6–9 cm up; the camera is static, so still in the image is
still in the world), and **single support**: when one foot is more than
- 15 cm above the other and the lower one is within 10 cm of the floor,
+ 15 cm above the other and the lower one is within 14 cm of the floor,
the lower one carries the body — through the spin plate's kicks GVHMR
- slides it at up to 2 m/s while the video shows it fixed. And where
- nothing else plants a foot (no network flag, nothing still on screen)
- and the body is not in the air, the **lower foot** does, with 2 cm of
- hysteresis between the feet — the legacy lift's rule through the spin
- plate's turning footwork, where this retarget's feet otherwise floated
- 3 cm. Runs of the same foot separated by a confidence dip, with the
- foot unmoved, are joined.
+ slides it at up to 2 m/s while the video shows it fixed, and it holds
+ the jump's take-off foot 10–13 cm up. Only observed contacts (network,
+ image, floor) set the floor's height: an inferred support locks its
+ foot, and its leg reaches down, but grounding on it would lower the
+ whole body — and the jump after it — below where the camera sees it.
+ Runs of the same foot separated by a confidence dip, with the foot
+ unmoved, are joined.
4. **Planted feet stay put**: where a foot is flagged (network, image, or
single support), the body's horizontal translation absorbs the foot's
motion (GVHMR's own rule, re-applied on the refined pose, anchored on
@@ -166,7 +166,10 @@ What the stage does, in order:
lock a leg cannot reach lowers the hips, at most 5 cm. A free foot the
estimate carries more than 1 cm under the floor is lifted by its own
leg (`sink_tolerance`: a toe grazing the floor is left alone — lifting
- it bends the knee away from the video).
+ it bends the knee away from the video); one hovering less than 6 cm
+ above it while the body stands is set down by its leg, height only
+ (`floor_snap`: the estimate lifts a foot the video shows down through
+ turning footwork).
10. **Fingers** from `hands2d.npz`: per finger joint, the angle between
consecutive bones of MediaPipe's metric landmarks (view-independent),
median-filtered over confident frames and smoothed; each Mixamo
@@ -184,8 +187,8 @@ What the stage does, in order:
`contact_slide_speed` 0.12 m/s, `contact_max_drift` 0.04 m,
`contact_heel_max_s` 0.5 s, `contact_still_height` 0.12 m,
`contact_swing_height` 0.15 m, `contact_support_height` 0.10 m,
-`contact_max_turn_deg` 20, `contact_lower_foot` true, `contact_switch_height`
-0.02 m, `pin_smooth` 1, `sink_tolerance` 0.01 m, `foot_tilt_fix` true,
+`contact_max_turn_deg` 20, `contact_support_height` 0.14 m, `floor_snap` true,
+`floor_snap_height` 0.06 m, `pin_smooth` 1, `sink_tolerance` 0.01 m, `foot_tilt_fix` true,
`contact_image_anchor` false (with `contact_anchor_max` 0.12 m,
`contact_anchor_drop` 0.015 m), `contact_ramp` 4, `max_hips_drop` 0.05 m,
`ground_sigma` 3, `hand_relaxed` 0.3, `hand_detect` true, `pin_static_feet` true,
diff --git a/docs/PITFALLS.md b/docs/PITFALLS.md
index 305abb8..a842bcf 100644
--- a/docs/PITFALLS.md
+++ b/docs/PITFALLS.md
@@ -401,14 +401,14 @@ touching a clip a human has partially signed off.
performer's in the overlay — and a rig with wider hips than the
performer then angles its legs away from the video's (better on two
plates, worse on three). Opt-in: `contact_image_anchor`.
-67. **A floating foot reads worse than a sliding one.** Through the spin
- plate's turning footwork nothing says which foot is down (the network
- stays under 0.3, the feet pivot on screen), and the retarget's feet
- followed the estimate 3 cm above the floor. The legacy lift, which
- simply put its lower foot on the floor, looked better to the owner
- though it slid 5-10 times more. Where no evidence plants a foot and the
- body is not in the air, plant the lower one — only there: everywhere,
- it cost 0.5 deg of leg accuracy on plates whose feet other evidence
- already plants. Smooth the pin correction a frame, or the body jolts
- as the support changes feet (spin hips jerk x2).
+67. **Do not pin the body to a foot nobody saw down.** Through the spin
+ plate's turning footwork nothing says which foot is down, and the feet
+ floated 3 cm. Planting the lower foot there — the legacy lift's rule —
+ and pinning the body to it threw the overlay 106 px off the performer
+ at frame 158 (the estimate lowers the wrong foot as the performer
+ steps into the jump), and grounding the body on it every frame put the
+ jump 10 px low. What works: set the hovering foot down with its own
+ leg (height only), and let only OBSERVED contacts set the floor's
+ height. A support the retarget infers (one foot well above the other)
+ locks its foot; it does not move the body.