Previous Page Next Page Synchronize Contents Help Show Index

Example: Drawing Gradients on the Alpha Channel

Apply a gradient on an alpha channel to create a partially transparent image. If you add gradient objects in Paint, and the Paint operator is on a layer in a composite, the partially transparent images can be used to create montages and other compositions.

Use a black/white gradient on the alpha channel to create a picture that gradually becomes transparent.

To create a partially transparent object:
  1. Create a new Composite operator and import a layer. See Creating Composites.
  2. In this example, the following image is used.

  3. Select the layer in the Workspace panel, then chose Operators | Paint to add a Paint operator to it.
  4. Paint opens.

  5. Choose Window | View Mode | Alpha to switch to Alpha View mode.
  6. The viewport turns completely white.

    Note: If the imported image sequence already contains an alpha channel, the viewport will not be completely white.

  7. Draw a filled rectangle object over the entire viewport.
  8. Select the filled rectangle object in the viewport, then click the Gradient color mode button on the Modes controls.
  9. Click the Gradient button.
  10. The Gradient controls appear.

  11. Add black and white color gradient tags to the Color gradient bar as shown here.
  12. Click the Linear Gradient button and click the down arrow button on the direction control box.
  13. Your filled rectangle should look like this:

    The dark areas of your gradient will become transparent; the white areas remain opaque. The darker the grays on the alpha channel, the more transparent they are.

  14. Choose Window | View Mode | Transparent.
  15. In this View mode, you can see exactly to what degree your image is transparent.

    Note: The small checkerboard pattern that appears under the image indicates the level of transparency. You can customize the pattern by choosing File | Preferences | Transparency.

  16. In the Workspace panel, double-click the composite to load it into the active viewport.
  17. Choose File | Import Footage to import a background layer.
  18. In this example, the following layer is used.

  19. Send the imported layer behind the original layer. You can do this by adjusting the stacking order or by selecting the layer, then choosing Object | Send to Back.
  20. The transparency in the foreground is automatically maintained.
  21. Double-click the composite in the Workspace panel to see the following result.
  22. Note: Use Paint operators to create as many partially transparent layers as necessary, then use them as layers in your composite.


Previous Page Next Page