Capturing Animation in a Viewport (Flipbook)

 
 
 

You can cache each frame of an animation in an image file and create a flipbook. A flipbook is any sequence of cached images saved to disk.

Anything that is shown in the viewport you choose is captured — render region, rotoscoped scene with background, or any display mode (wireframe, textured, shaded, etc.). For example, you may want to set the display mode to Hidden Line Removal for a "pencil test" effect.

If there is a render region in the viewport, whatever is shown in that area is what is cached, not the whole viewport.

If you have any audio files in your scene, you can also capture sound along with the images (see Capturing Animation with Sound).

TipTo display the frame number in the viewport, press Shift+S. On the Stats page in the Camera Visibility property editor, select Show Current Time. This uses the settings defined in the Output Format Preferences property editor.

These cached images can be loaded and quickly played back in real time. An image file is created for each frame cached and stored in your project's Render Pictures folder by default.

You can load the cached images as a flipbook in the standalone flipbook, the native media player, or the image clip viewer — see Previewing Animation in a Flipbook for more information.

Creating a Flipbook

  1. In the viewport whose images you want to capture, set the display options as you like (such as hidden line, wireframe, draw a render region, and so on).

  2. Click the camera icon in that viewport and choose Start Capture.

  3. In the Capture Viewport Dialog Box, set the options for the flipbook's file name, image size, format, codec, sequence, padding, frame rate, and so on.

    • If you're recording audio with the animation, make sure to select the Record Audio Track option.

    • To launch the flipbook automatically and/or with your native media player, select the Launch Flipbook When Done and Play Videos with Native Players options (see Launching a Player after Capturing).

      TipYou can also enter the CaptureViewport command in the script editor to start a capture automatically without opening the Capture Viewport dialog box. See the online help in the script editor for the syntax and options for this command.
  4. When you click OK, the images in the viewport are cached frame by frame. While Softimage is capturing the images, the frame rate is slow; however, subsequent replays will be in real time.

    Click the Stop button in the caching window if you want to end the caching.

  5. View the flipbook in the standalone flipbook or in the native media player on your computer - see Loading Animation in the Flipbook.

Launching a Player after Capturing

To play back the flipbook immediately, select one or both of these options in the Capture Viewport Dialog Box:

To launch the standalone flipbook

  • If you select Launch Flipbook When Done, the standalone flipbook automatically opens and plays back the images when the capturing is done.

    NoteIf you start the flipbook immediately after capturing the images, the frame rate set in the Playback Options property editor is used.

To launch your computer's native player

  • If you also select Play Videos with Native Players, the appropriate media player immediately opens and plays back the images when the capturing is done. The media player launched depends on your computer's settings.

    For example, if you select AVI as the file format and the Windows Media Player is the default player for AVI files on your computer, then this player automatically opens when the capture is finished.

    If you're working on Linux, the default native player is mplayer. To change this default to another player, you have to set the XSI_PLAYER environment variable. If you want to set permanently, add it to your .xsi_2013 file.

    Native players are recommended for playing video files because they take less memory and usually take advantage of hardware (such as DirectDraw on Windows) and other options.

To load the cached images later

  • If you didn't choose to play the images immediately after capturing, you can load the cached images as a flipbook in either the standalone flipbook (as described in Previewing Animation in a Flipbook) or the image clip viewer (choose Image Clip Viewer from a viewport's Views menu).

Capturing Animation with Sound

If you want to have sound along with animation, you can do so while you capture in a viewport.

  1. Enable the audio by clicking the Play/Mute Audio button on the Playback panel. Audio is enabled when the button doesn't appear to be highlighted.

    Audio is on

    Audio is muted (off).

  2. Capture the animation in the viewport by choosing Start Capture under the Camera icon.

  3. In the Capture Viewport property editor, select Record Audio Track.

    TipYou can also export a flipbook with the audio file attached — see Exporting a Flipbook for more information.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License