Viz Artist

Version 3.9.0 | Published December 13, 2017 ©

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 images/download/attachments/27788803/animation_ex_select_keyframe.png .

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

    images/download/attachments/27788803/animation_ex_director_editor.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 will still slide 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 will slide 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 will slide 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/attachments/27788803/animation_ex_create_rotation.png
  2. In the menu that shows, click Transformation -> Rotation.
    A rotation channel and two Key Frames are added.

    images/download/attachments/27788803/animation_ex_stage_tree.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 will slide 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/attachments/27788803/animation_ex_stage_tree2.png

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

To Add and Animate a Material

  1. Create a Material and define its color.

  2. Drag the Material to the Container in the Scene Tree.

  3. In the Scene Tree, click the Material in the Container.
    The material editor is shown.

    images/download/attachments/27788803/animation_animatematerial.png
  4. In the Time-line Editor, set the time when you want the Key Frame to be created.

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

  6. Change the material’s color.

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

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