Softimage SDK Programmer's Guide > Working with the SDK > Animation >

# Sources and Clips

At the most simple level, any data that can be instantiated as a clip is called a source. This covers a broad range of data, from animation in the Animation Mixer to an image in the FxTree. The word source can refer to the atomic data element that drives a parameter (see Low-Level (Parameter-Based) Animation) or to the action, shape, audio, or image on which a clip is instantiated.

## Clips

In Softimage, there are three categories of clips, as described in this table:

Clip Category | Softimage Object Model | C++ API | Description | Mixer?
--- | --- | --- | --- | ---
Animation/Audio | Clip ShapeClip ClipContainer Mixer | Clip ShapeClip ClipContainer Mixer | Instance of audio or some animation in the Animation Mixer. In the SDK, anything accessible from the Mixer usually uses the Clip interface. Note ShapeClip is a specialization of Clip but does not define any methods or functions of its own. The Animation Mixer also uses the concept of compound clips, which are basically containers that nest related clips, storing their transitions and weights. | yes
Image | ImageClip | ImageClip2 | As a texture (for example, in a texture projection or in the FxTree). Image clips are stored under the scene or their shader/material owner. Note ImageClips can also be manipulated in the Mixer. | yes
Shot | Clip | Clip | The Camera Sequencer introduces a second timeline (Sequencer Time) in Softimage to playback the original scene in another timing while keeping the original animation. Using ShotClips, you can map between the Sequence Time and Scene Time (Global Time). See the Softimage User's Guide for more information about the Camera Sequencer. A ShotClip defines: The mapping between the Sequence Time and Scene Time. An active camera for its duration. | NA

Note

The first two categories in the table above are a generalization of mixer clip types which describe any type of clip that can be manipulated in the Mixer (see the siClipType constant). Any clip returns one of the siClipType values from the SIObject.Type or SIObject::GetType property.

## Sources

There are basically two kinds of sources (apart from a DataSource, which is a piece of data or logic that drives the animated parameter): a reference to a file on disk (a Source) and a container for combining one or more actions (an ActionSource or ActionSource).

Reference-type Source or Source (audio and image sources) can be instantiated in the mixer.

Action-type sources (see ActionSource or ActionSource) are usually manipulated in the context of the mixer. They hold other action sources such as, low-level animation and shape animation. The components of an ActionSource or ActionSource are called AnimationSourceItems or AnimationSourceItems.

Note

One of the most important concepts with action sources is the relative names. Action sources are stored with relatives names so that they are not tied to a specific model. For more information, see the Relative Name topic.

#### Topics in this section

- DataSource
- Relative Name