December 1, 2015 Workshop 20 Notes

COMPOSITE EDITING WITHIN QUICKTIME PRO

These notes provide for a technique that supplants part 2 of workshop notes 18, and provide a simpler and more direct pathway for composite editing involving composite animation by using the "alpha channel" of one animation as to provide a transparency for ovelaying it onto a second animation

Using the Alpha Channel to blend to separate renderings.
  1. Create a scene with a ground plane, two spheres, a spot light and an ambient light. Apply phong shader materials to the spheres.

    setup of lights and spheres test render
     

  2. Key -frame the spheres moving upward from the ground along the plus Y axis (vertically) over 48 frames.

  3. For each sphere go to the attributes editor, go the "nurbsSphereShape tab" and "Render Stats" sub-tab and turn off "Primary Visibility".

    set vis off

  4. Render out the scene as a jpg series (which will not record an alpha channel), and load the images into the QuickTime Pro movie player. This rendering will show the ground plane and sphere shadows, but not the spheres. Save the frames within QuickTime pro to a self-contained files such as background.mov.

    background mov

  5. Now, turn back on visibility for the ground spheres, and turn it off for the ground plan, ensure that the "alpha channel" check box is turned on in the Render Settings common tab, render the scene out as a series of "targa" files, and compile them withinQuickTime Pro, and save the movie to a file such as foreground.mov.

    forground mov

  6. Within QuickTime Pro, juxtapose the animations in two separate view windows. Select the entire "foreground" animation and copy it into the editor memory buffer with the menu item "edit/copy".

    edit and copy foreground animation

  7. Select the Quicktime window displaying the background animation, select the the entire animation sequence, and do an "edit/Add to Selection & Scale" of the sequence copied in step 6.

    add and scale selection

  8. The resulting compilation from step 7 at this stage only shows only the foreground animation withing the background.mov QuickTime window.

    forground scaled over background

  9. However, within the background.mov Quicktime window, select the "Window/Show Movie Properties" menu item.

    show movie properties menu

  10. Select "Video Track 2", and under the "Mask/Transparency" option choose the "Straight Alpha" overlay.

    straight alpha overlay

  11. Within the QuickTime movie player, drag the "playhead" and the edit-in and edit-out markers in the timeline back to the first frame of the animation squence, and save the movie file using the self-contained option.

    save movie file

  12. The resulting movie file composite.mov contains full compositing of the forground over the background animation; however, to playback the movie file in Quicktime Pro is is necessary to ensure that the transparency mask for Video Track 2 is turned on.

    composite movie

  13. As an alternative to step 2, to compress the video tracks within QuickTime, go to the "File/Export" option and compress to the H264 format using methods covered in earlier workshops.

    export movie file

  14. The resulting movie file compositeH264.mov is now compressed as well as has only a single video track for consistent playback. That is, it doesn't require the active selection of the transparency mask.