Your Ad Here

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 type (wireframe, textured, shaded, etc.). For example, you may want to set the display type 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).

 

• To 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.

 

 

You 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.

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 opens and plays back the images when the capturing is done (see Previewing Animation in a Flipbook).

 

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

To launch your computers 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_version number file (in the XSI home directory).

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.

 

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.

 

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



SOFTIMAGE|XSI v.6.01     

Return to Softimage XSI Index


Your Ad Here