Tools / TumbleRig / Utilities / Nodes

Apex Mocap to Controls (Beta)

Put a mocap clip or any animated biped skeleton onto a character's controls, as keys you can edit.

Access
Free
Node version
1.1
Package
TumbleRig
Houdini
22.0+
What you can make with it

Overview

NOTE

Beta: tested on bipeds with the joint chains TumbleRig writes, on SideFX's Mocap Biped clips. FBX / BVH files and the Mixamo and Unreal presets have had less testing. Tell us what breaks.

Put it below a Scene Add Character or a Scene Animate. It retargets the source's motion onto the character's own skeleton and keys the character's controls to match, on a new Animate layer by default. The character's joints are found from its joint chains, so a TumbleRig character needs no setup; for the source, pick the naming it uses (Mixamo, Unreal Mannequin, CMU ...).

Inside it runs SideFX's Biped Setup, Biped Retarget and APEX Animation from Skeleton, then thins the keys (Animation from Skeleton keys every frame) and keys each arm's and leg's FK/IK switch.

TIP

To try it with no mocap of your own, set Source to Library and pick a clip: CMU takes that ship with TumbleRig (walks, runs, deep squats, arms over the head, twists, a range of motion) or one of SideFX's Mocap Biped 3 clips. The joint names and rest pose are set for you.

TIP

Wire the node's second output into a Null and display it to compare the retargeted skeleton with the source.

Parameters

Character

Which character gets the animation. Empty takes the first in the stream.

Source

Second Input reads the animated skeleton wired into the second input. File reads an FBX or BVH file. Library plays a clip from the list under Clip, with its joint names and rest pose already set.

Clip

The library clip. CMU clips ship with TumbleRig (from the CMU Graphics Lab Motion Capture Database, mocap.cs.cmu.edu): stress poses for skinning and deformers plus a walk and a run. SideFX clips play from Houdini's Mocap Biped 3. From Source writes the clip once; the SideFX clips are short cycles, so use Playback Range to write more of them.

Source Names

How the source names its joints, so the retarget knows which is the pelvis, the arms and the legs. Auto guesses. Custom shows the twelve fields under Source Joints.

Source Rest

The source's rest pose. Source Rest Pose uses its rest_transform attribute (FBX imports have one) or the third input; Rest Frame takes the pose at that frame of the clip.

Character Joints

The character's twelve joints. Empty fields are found from the joint chains (arm_l, leg_r, spine, neck and their limb roles); fill one to use another joint.

Frame Range

From Source writes the clip's frames (moved by Offset). Playback Range and Custom write the frames you set.

Offset

Frames to move the clip by: 1000 starts a clip that begins at frame 1 at frame 1001.

Arms, Legs

FK or IK: the FK/IK switch each limb gets. Both are keyed to match, so the pose is the same; this picks which controls the animator works with.

Reduce Keys, Reduce Rotate Keys

Drops keys while the curve stays within this distance of the full one: units for translate and scale, degrees for rotations. 0 keeps a key on every frame.

Write To

New Layer puts the keys on an override layer, so the character's own keys stay and muting the layer shows them. Base Animation writes the character's own keys.

Layer Name

The new layer's name in Animate's Animation Layers pane.

Inputs and outputs

Inputs

Scene Stream

The output of a Scene Add Character or Scene Animate.

Source Skeleton

An animated skeleton: a Scene Character Import's animated output, an FBX Animation Import, a Mocap Import. Not needed when Source is File.

Source Rest Pose

Optional. The source's rest pose, when it has no rest_transform attribute and no frame of the clip is a good rest (a T-pose or A-pose).

Outputs

Scene Stream

The stream with the keys.

Retargeted Skeleton

The source's motion on the character's skeleton, before the controls are solved.

Recipes

Version notes

  • TumbleRig: Mocap to Controls 1.1 library recipes; clips play from their own frame 1 in a shot
  • TumbleRig: Mocap to Controls 1.1, Source: Library: pick a clip, no setup
  • TumbleRig: Mocap to Controls 1.0 is beta: label (Beta), help note, catalogue 'Beta:'
  • TumbleRig: Mocap to Controls 1.0, a mocap clip or animated biped onto a character's controls as keys on a layer