Tools / Wobl / Wobl / Nodes

Wobl (KineFX)

A soft body that jiggles on a KineFX character, in SOPs.

Access
TumbleTrove+
Node version
1.1
Package
Wobl
Houdini
22.0+
What you can make with it

Overview

Wobl simulates a soft body on a character every frame, as Vellum Solver does for Vellum's pieces. This is Wobl for KineFX setups in SOPs, built on Houdini's own Bone Deform; Wobl (th::apex_wobl) is the same node inside an APEX rig (it needs TumbleRig). Both run the same solver.

Set the piece up as for the rig node: Wobl Configure fills a shape with tets and gives them a material, Wobl Follow Joints (or painting) says where it jiggles. Wire the skin after Bone Deform into the first input, the rest and animated skeletons into the second and third, and Configure's two outputs into the fourth and fifth.

Each frame the piece follows the animated skeleton by Follow Strength, scaled per point by its Pin Scale Attribute, and the skin takes the jiggle by its mask: 0 keeps the skinned shape, 1 takes the sim's. The sim starts at the Start Frame, in that frame's pose.

Parameters

Update Mode

When the sim steps: From Start Frame (every frame from Start Frame, as Houdini's solvers; use it for renders), Forward, Live Tick, Quasi-Static or Off. Use Scene Setting follows the scene's.

Start Frame

From Start Frame: where the sim starts, in that frame's pose. A new node starts at the scene's first frame.

Mask Attribute

A point float on the skin: how much of the sim each point takes. Where the skin has none, Wobl makes it from the piece's follow map (Wobl Follow Joints).

Follow Strength

How hard the piece follows the skeleton (N/m), times the Pin Scale Attribute.

Pin Scale Attribute

A point float on the piece: 1 follows, 0 free.

Simulation

Substeps and iterations (Tolerance stops early once nothing moves), Sleep, how the rest shape follows the pose, gravity, and how much of the character's overall motion the flesh feels (Frame Inertia, Max Felt Acceleration).

Self Collision

The piece against itself: separate pieces against each other, and with Tet Bodies Too a tet body against itself. Thickness, and a Collision Group to make it cheaper.

Colliders

A ground plane, and the bones: Collide With Bones makes the bones from the joints Joints names solid, moved with the animated skeleton. A strand stays its own radius off them (Wobl Configure's Root and Tip Radius). Leave out the joints the piece hangs from: a tail's root sits in the hips. Shape Bone Capsules puts a capsule along each bone, fitted to the skin round it at the start frame (Radius Scale scales it). Body Shape uses the skin itself: per bone the skin at the start frame moved rigidly with the bone, live within Reach times the bone's thickness round it, so a tail meets the leg's real surface. The skin is voxelised once (Grid cells along its longest side); a tail's own mesh (a piece of the skin of its own) is left out of it. A point that starts inside the body (a tail's root in the rump) is left inside it: the thigh does not push it out.

Overrides

Change a group of the piece while it plays: Stiffness, Damping and Follow Strength multiply the group's own, Rest Follows Pose sets it, Active 0 holds the group on the skin. Key the values; the solver applies them every frame. Groups are the piece's point groups (Wobl Configure's Piece Name is one); * is all of it.

Bake

The node bakes the piece once (its skin weights to the rest skeleton, solved on the piece's own tets: the points next to each bone are held to it and the rest is smoothed between them). Cache the Bake keeps that in a file in Cache Folder (beside the scene by default), named by a hash of everything the bake reads, so opening the scene again skips it; any change to the piece, the skeleton, the skin or a bake parameter bakes into a new file. Re-bake deletes this node's file and bakes again. WOBL_BAKE_CACHE=0 turns the cache off everywhere.

Inputs and outputs

Inputs

Skin

The skin, deformed (Bone Deform's output, or anything after it). It takes the jiggle.

Rest Skeleton

The skeleton the piece is captured to.

Animated Skeleton

The skeleton that moves the piece.

Piece

Wobl Configure's first output (after Wobl Follow Joints or painting).

Constraints

Wobl Configure's second output.

Outputs

Skin

The skin with the jiggle (a soft-body piece). A piece of strands only leaves the skin to the joints it drives: it passes through.

Piece

The simulated piece.

Animated Skeleton

The animated skeleton with the joints a strand drives: a Strand from Wobl Configure made from joints (a tail) moves and turns them, so a Bone Deform with this skeleton carries the tail's skin.

Bone Colliders

What Collide With Bones puts on the skeleton this frame, to look at or to feed another Wobl: a polyline per bone with its radius as pscale (Bone Capsules), or per bone the skin packed and moved with the bone, live inside region_a, region_b, region_radius (Body Shape).

Version notes

  • Wobl leaves TumbleRig: it is its own package now (tumblehead/wobl)
  • Wobl: Gravity Compensation's frame per region of the pins (Compensation Frame: Local)
  • Wobl nodes: Update Mode (package 2) on Wobl and Wobl (KineFX)
  • Wobl nodes: new nodes have Gravity on with Gravity Compensation 1 (the user's pick, package 5)
  • Wobl solver: Gravity Compensation (package 5): pinned pieces hold their sculpted shape under gravity and sag as they turn
  • Wobl nodes: Follow Set By (Frequency, the default, or Strength), Follow Frequency 20 Hz, Follow Damping (package 4, the user's pick A)
  • Wobl: Body Shape is Collide With Bones' default Shape (the user's pick)
  • Wobl round 16: Collide With Bones Body Shape (a tail meets the legs' real skin)
  • Wobl round 16: strand collisions (Collide With Bones), a point's own radius
  • Wobl: strands default to 10 iterations (the tail's solve 2.9 -> 1.7 ms)
  • Wobl Drive Joints: the strand joint driver as a verb; Wobl (KineFX) runs it
  • Wobl Configure: Strand mode; Wobl (KineFX): strands drive joints (a tail)