Simple_animation
Houdini Digital Asset (simple_animation) for animating a figure made of separate pieces, such as the letters of a text, without keyframes. In the loop mode every piece swings, stretches or shifts on its own, with a time shift between neighbouring pieces so the motion runs across the figure. In the proxy mode the drones follow the deformation of a proxy geometry.
Inputs:
- Drone points with the attribute that splits them into pieces (for text from Smart_scatter, the glyph index).
- Proxy geometry for the proxy mode: an animated surface with normals and a
restattribute holding its undeformed position.
HDA: houdinitools/hda/simple_animation.hda
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
attribute_id | String | — | Point or primitive attribute that splits the drones into pieces, such as the glyph index of a text. Each piece moves as a whole around its own pivot. |
type_animation | Menu | loop_animation | loop_animation: repeat rotation, squeeze and shift of every piece. proxy_animation: drones follow the deformation of the proxy geometry (input 2), keeping their distance from its surface. |
animation_setting
Hidden when type_animation != 0
| Parameter | Type | Default | Description |
|---|---|---|---|
Rotation | Toggle | Off | Swing every piece back and forth around Rotation Axis. |
Squeeze | Toggle | Off | Stretch every piece up and down from its pivot. |
Ofset By Axis Ofset_by_axis | Toggle | Off | Move every piece back and forth along Ofset Axis. |
animation_setting / Rotation_parm
Hidden when type_animation != 0 or Rotation == 0
| Parameter | Type | Default | Description |
|---|---|---|---|
Rotation Axis rotation_axis | Menu | Y | Axis the pieces swing around. |
Rotation Ofset rotation_ofset | Integer | 0 | Time shift between neighbouring pieces, in seconds, so they swing one after another instead of together. |
Rotation Amplitude rotation_amplitude | Integer | 10 | Largest swing angle, in degrees. |
Rotation Speed rotation_speed | Float | 1 | Speed of the swing: one full swing takes 6.28 / speed seconds. |
animation_setting / Squeeze_parm
Hidden when type_animation != 0 or Squeeze == 0
| Parameter | Type | Default | Description |
|---|---|---|---|
Squeeze Ofset squeeze_ofset | Integer | 50 | Time shift between neighbouring pieces, in seconds, so they stretch one after another. |
Squeeze Amplitude squeeze_amplitude | Float | 1.2 | Largest vertical scale of a piece: it stretches between 1 and this value. |
Squeeze Speed squeeze_speed | Float | 5 | Speed of the stretch: one full cycle takes 6.28 / speed seconds. |
animation_setting / Ofset_parm
Hidden when type_animation != 0 or Ofset_by_axis == 0
| Parameter | Type | Default | Description |
|---|---|---|---|
Ofset Axis ofset_axis | Menu | Z | Axis the pieces move along. |
Ofset By Axis ofset_by_axis | Float | 100 | Time shift between neighbouring pieces, in seconds, so they move one after another. Rounded to whole seconds. |
Ofset Amplitude ofset_amplitude | Float | 10 | Largest shift of a piece, in meters: it moves between 0 and this value. |
Ofset Speed ofset_speed | Float | 2 | Speed of the shift: one full cycle takes 6.28 / speed seconds. |
Other
| Parameter | Type | Default | Description |
|---|---|---|---|
streched_pos | Toggle | Off | Not used: shown only for animation type 2, which the Type menu does not offer. Hidden when type_animation != 2 |
enable_animation | Toggle | Off | Not used: shown only for animation type 2, which the Type menu does not offer. Hidden when type_animation != 2 |
offset offset_curve_pos | Float | 0 | Not used: shown only for animation type 2, which the Type menu does not offer. Hidden when type_animation != 2 |
animation_speed | Float | 0.05 | Not used: shown only for animation type 2, which the Type menu does not offer. Hidden when enable_animation != 1 or type_animation != 2 |
Pivot selection
| Parameter | Type | Default | Description |
|---|---|---|---|
Pivot matrix pivot_matrix | Menu | 8 | Point of each piece's bounding box that the swing and the stretch go around, on a 3 × 3 grid: 1–3 top row, 4–6 middle, 7–9 bottom, each left to right. The default 8 is bottom center. |