Viz Artist User Guide

Version 5.0 | Published December 20, 2022 ©

Create an Advanced Animation

Once you have mastered Create a Basic Animation, where the position of a cube is moved, you can move on to more advanced tasks. This section provides some additional procedures, so that a cube can continue its journey rightward, rotate while moving, and gain a nicer appearance by adding color to it.

This section contains the following procedures:

To Edit the First Key Frame

  1. Enable the Key Frame Editors.

  2. Select the Key Frame at the far left in the Dopesheet Editor.

    images/download/thumbnails/85909029/image2021-12-1_15-45-41.png
  3. In the Key Frame Editors, set the Position to X = -100.

To Edit the Second Key Frame

  1. Select the Key Frame at the right in the Dopesheet Editor.

  2. In the Key Frame Editors, set the Position to X = 0.

    Tip: Set the position either by typing in the input box, using the up/down buttons, or clicking the R (reset/default setting) button.

    When playing the animation now, the cube still slides rightward, but from a point at the left part of the Scene Editor to the center.

  3. Click the Play button in the Time-line Editor.

To Create an Additional Key Frame

  1. In the Time-line Editor, set the time-line field to 100.

  2. In the Scene Editor, drag the cube to the right, so that it shifts to a different position.

  3. Set an additional Key Frame.

  4. Click the Play button in the Time-line Editor. When playing the animation now, the cube slides rightward from a point at the left part of the Scene Editor, through the center, and all the way to the right part.

To Add a Stop Point

  1. Select the required Director.

  2. In the Time-line Editor, set the time-line field to 50.

  3. Create a stop event.

  4. Click the Play button in the Time-line Editor. When playing the animation now, the cube slides rightward until it reaches the center of the Scene Editor, and then come to a halt.

To Create Key Frames for Rotation

  1. Right-click the Cube actor in the Stage Tree.

    images/download/thumbnails/85909029/image2021-12-1_15-46-16.png
  2. In the menu that shows, click Transformation > Rotation.
    A rotation channel and two Key Frames are added.

    images/download/attachments/85909029/image2021-12-1_15-46-47.png

To Modify the Rotation Settings

  1. Select the Key Frame at the right in the Dopesheet Editor.

  2. In the Key Frame Editors, set the Rotation to X = 360.

  3. Click the Play button in the Time-line Editor. When playing the animation now, the cube slides rightward until it reaches the center of the Scene Editor, while rotating all the while before coming to a halt.

To Run the Animations Independently

  1. Create a Director at the root level of the Stage Tree.

  2. Rename the new Director to Rotation.

  3. Drag the rotation channel to the new Director.
    The Stage Tree and should now look like this:
    images/download/thumbnails/85909029/image2021-12-1_15-47-34.png images/download/thumbnails/85909029/image2021-12-1_15-47-54.png

    When playing the animations now, the output depends on which Director is selected. If the Default Director is selected, only the position animation is played. If the Rotation Director is selected, only the rotation animation is played. Selecting both/all Directors plays both the position and rotation animations.

To Add and Animate a Material

  1. Right Click on the Container and choose Add material...

  2. In the Scene Tree, click the Material in the Container. The Material Editor is shown.

    images/download/attachments/85909029/image2021-12-1_15-49-5.png
  3. In the Time-line Editor, set the time when you want the Key Frame to be created.

  4. In the Time-line Editor, click the Set Key button.

  5. Change the material’s color.

  6. To create the next Key Frame, in the Time-line Editor, click the Set Key button.

  7. Click the Play button in the Time-line Editor. The cube now has a color that changes as part of the animation.

    images/download/attachments/85909029/image2021-12-1_15-49-58.png