Houdini 22.0 Character KineFX

Spline 2.0

Sets up a spline solver.

Since 21.0

This component sets up a spline solver and adds the controls for a tangent spline. You can also create a custom spline, which allows you to specify the number of controls in the spline. This component can be run in a loop over different segments, or parts, of a character.

By default, the spline component sets up a tangent spline with 4 controls - the root control, root CV (control vertex), tip CV, and tip control:

The root control is the main parent of the spline. By default, the CVs are parented to the closest outer control, so the root CV is parented to the root control, and the tip CV is parented to the tip control:

Spline controls

To stretch the spline, turn on the Add Stretch Control parameter in the Settings tab. This adds an abstract control at the tip control that allows you to adjust the stretch of the spline:

Stretch control

See rigging a character for an example use of this component.

Parameters

Name

The name to add to the nodes created by this component. When using Segments, the segment name is also added to the node names.

Settings

Curve

Type

The type of spline curve to create from the control points.

Curve Order

The number of control points used to construct the curve. By default, Curve Order is set to 4 because we have the following control points for the spline - the root control, root CV, tip CV, and tip control (see the parameters in the Driver tab).

A Bezier curve (the curve type is set in parameter Type) requires that the number of control points is equal to the curve order. Compound curves share a control point between their individual curve segments, so each additional curve segment requires an additional order-1 control points. This requirement can be expressed by the equation <number_of_control_points> % (order-1) == 1. See control spline for more information.

Pin Root

When turned on, constrains the orientation of the root joint to the root control (the root joint is the joint driven by the root control).

Pin Tip

When turned on, constrains the orientation of the tip joint to the tip control (the tip joint is the joint driven by the tip control).

Pin Tip on
Pin Tip off
Stretch

Add Stretch Control

When turned on, adds an abstract control at the tip control that allows you to adjust the stretch of the spline.

Note

If Use Click and Drag in the handle parameters is turned off, you need to select the abstract control first, then drag to see the effects of the stretch. If Use Click and Drag is turned on, you can click and drag the abstract control in one step.

Stretch

Specifies whether to keep the length of the spline. When set to 0, the spline keeps its length. When set to 1, the spline stretches to follow the control point.

Stretch Scale

Controls the amount of stretch. Increasing this value increases the effect of the stretch.

Squash Scale

Controls the amount of squash. Increasing this value increases the effect of the squash.

Keep Tip Scale

When turned on, the scaling at the tip of the spline remains unchanged as you stretch the spline. When turned off, the tip of the spline is scaled as you stretch the spline.

Note

You can only see the effects of the scaling if Stretch Scale or Squash Scale is greater than 1.

Keep Tip Scale on (left), Keep Tip Scale off (right)

Driven

Segments

Segments are tags that separate each spline chain. Tags can be set up on skeleton joints using an Attribute Adjust Array SOP. See preparing skeletons for rigging for more information.

If Segments is empty, the spline logic is run once.

Note

The Segments parameter does not take APEX path patterns, for example, the #<tag> function. Instead, specify the tag names directly in this field.

Driven

The TransformObject nodes to drive, for example, “spine_01 spine_02 spine_03”. This parameter also accepts APEX path patterns, so you can specify tags in this field, for example, #spline.

It’s good practice to also specify the bind tag that is set up by default on the FK transform component’s Tags parameter. The FK transform component is normally the first component used to start building a rig. Including the bind tag helps to ensure that you don’t include other controls that might have inherited, for example, the spline tag. So for this component, you can set Driven to “#bind & #spline”.

Driver

Make sure the control names are unique. To avoid naming conflicts when creating multiple splines, you can specify the spline segment using the string “{segment}”. For example, if your segment is named spline (Segments is set to spline), you can set Root Name to {segment}_root_ctrl. The value of Segments replaces the string “{segment}”, so the root control is named spline_root_ctrl.

Custom

When turned on, creates the number of controls specified in Num Controls.

Num Controls

When Custom is turned on, this is the number of controls to create. See Curve Order for how to choose a valid number of controls.

Root Name

When Custom is turned off, this is the name of the root control.

Root CV Name

When Custom is turned off, this is the name of the root tangent CV.

Tip CV Name

When Custom is turned off, this is the name of the tip tangent CV.

Tip Name

When Custom is turned off, this is the name of the tip control.

Scale Inheritance

The scale inheritance of the spline controls.

Promote T

When turned on, promotes the translate component of the spline controls.

Promote R

When turned on, promotes the rotate component of the spline controls.

Promote S

When turned on, promotes the scale component of the spline controls.

Root CV Offset

The offset to add to the root tangent CV.

Tip CV Offset

The offset to add to the tip tangent CV.

Parent

Root

The parent of the root control. If left empty, the root control is parented to its associated TransformObject node’s parent. For example, if the root control sits at node C_pelvis, and C_pelvis's parent is C_root, then the root control will be parented to C_root. If you are setting up multiple splines, you can leave this field empty.

You can also set parent tags on the skeleton, and use the parent tag plus the Segments tag to get the parent for each segment. For example, if your segment is named spline (Segments is set to spline), and you tag the parent joint with spline_parent, then you can set Root to {segment}_parent. The value of Segments is used to replace the string “{segment}”.

To unparent the root control, set this parameter to an underscore (“_”).

This parameter accepts APEX path patterns, so you can specify tags in this field, for example, #<tag>.

CV

The parent of the CVs. If left empty, the CVs are parented to the closest outer control. To unparent the CV controls, set this parameter to an underscore (“_”). This parameter accepts APEX path patterns, so you can specify tags in this field.

Tip

The parent of the tip control. If left empty, the tip is parented to the Root. To unparent the tip control, set this parameter to an underscore (“_”). This parameter accepts APEX path patterns, so you can specify tags in this field.

Tags

Component

The tags to add to the spline node created by this component.

Root

The tags to add to the root control TransformObject nodes created by this component.

CV

The tags to add to the CV TransformObject nodes created by this component.

Tip

The tags to add to the tip control TransformObject nodes created by this component.

Shape

The APEX Configure Controls SOP provides more options for changing the look of the controls.

Shape

The shape of the controls. It can be set to any of the built-in APEX control shapes.

Color

The color of the control shapes. To inherit the shape color from the skeleton, set this value to (0, 0, 0).

Translate

The translation of the control shapes.

Rotate

The rotation of the control shapes.

Scale

The scale of the control shapes. To inherit the shape scale from the skeleton, set this value to (0, 0, 0).

See also

KineFX

Overview

Preparing character elements

Rigging with APEX graphs

  • APEX graph basics

    Introduction to the APEX graph evaluation framework.

  • APEX graph debugger

    Inspect the values of an APEX graph’s ports within the APEX network view.

  • APEX Script basics for graph building

    An overview of APEX Script, a code interface for building APEX graphs.

  • Graphs for numerical operations

    Example graphs of numerical operations like adding two values, fetching multiple results, and retrieving information from geometry.

  • Graphs for viewport animation

    Example graphs of animate state functionality like creating controls and constraints, and defining joint hierarchies.

  • Graphs for deforming geometry

    Example of a SOP network and APEX graph for deforming a 3-joint tube geometry.

  • Graph metadata

    Information added to graph nodes and ports.

  • APEX path pattern

    A set of rules that allow you to filter and select elements within graphs, skeletons, geometry, and the character folder structure.

  • APEX graph nodes

    APEX nodes provide operations for building up the functionality of APEX graphs, which are used in KineFX to create character rigs and perform other geometry manipulation.

  • APEX updates for H22

    New and updated APEX graph nodes for Houdini 22.

Building rig graphs with APEX Script

Rigging with rig components

Animating in the viewport

  • Animation workflow

    Example networks of adding characters, props, characters, and animation to a scene.

  • Animating in LOPs

    Rig and animate characters and props in the context of a USD stage.

  • Working in the animate state

    Select and manipulate controls, define transform limits for controls, and add skin controls to a character.

  • Animate state menus and HUDs

    Menus, HUDs, toolbars, and options in the animate state.

  • Animate state hotkeys

    Hotkeys available in the animate state.

  • Posing

    Pose characters in the animation scene by using locators, copying and pasting controls, and mirroring poses.

  • Motion paths

    Visualize the motion of controls as curves in 3D space.

  • Constraints

    Create relationships between controls in the animate state.

  • Dynamic motion

    Add physically-accurate projectile motion to your animation in the animate state.

  • Ragdoll

    Add a ragdoll simulation to your animation in the animate state.

  • Full body IK

    Apply full body inverse kinematics to pose the character using high-level targets rather than manipulating individual joints.

  • Secondary motion

    Add physically-accurate effects like lag/overshoot, jiggle, and spring to your animation in the animate state.

  • Control selection sets

    A tree view of controls, selections, and selection sets for the animate state. Allows management of control selection and visibility.

  • Motion mixer

    Combine and edit the animation clips of multiple characters in a timeline-based view.

  • Character picker

    Create a 2D layout with simple buttons for selecting character controls in an animation scene.

  • Animation catalog

    Save, manage, and apply animations and single-frame poses to an animation scene.

  • Animation layers

    Create multiple layers of animation without affecting the original animation.

  • Animation toolbar

    A customizable toolbar consisting of simple slider tools that quickly apply modifications to animation controls and curves.

  • Animation bookmarks

    Frame markers that help organize and identify the different parts of your animation.

Customizing the animate state

SOP-based animation

  • Physics-based motion

    Add physically-accurate motion to your animation using the Projectile Motion and Pendulum Motion SOPs.

  • Ragdoll simulations

    Add a ragdoll simulation to your animation using the Ragdoll Solver SOP.

Deformation

  • Blend shapes

    Create blend shapes using blend shape SOP nodes.

Animation retargeting

Pre-H20

Panes

  • Motion mixer

    A timeline-based view of the animation clips and motion effects of multiple characters.

  • Character picker

    Create a 2D layout with simple buttons to select character controls in an animation scene.

  • Rig tree view

    A hierarchical view of character components, including packed character folders, KineFX rigs, and Object node rigs.

  • Animation editor

    View and edit animated parameters and their transitions between keyframes.

  • Geometry spreadsheet

    Displays details about the geometry selected in the network editor.

Appendix