you can fly!? Tutorial using the animated waveing lua filter

Waving in the Breeze

part 1 < part 2 > part 3
> part 4 > part 5

waving in the breeze

lua scripts

Transfering the animation Into the Brush

Now that your base animation is done, you'll want to load it into the custom brush. Or, as we say in Dogwaffle lingo: pick it up (into the custom animated brush system). The cutom brush selection tool allows for a rectangular portion of the window to be selected and picked up. Since we want the whole area to be picked up, it's convenient to either grab the corner of the image's window and resize it larger, or to use the zoom tool and zoom the image to a smaller size. In either case, you'll see the grey area around the image.

Click-and-drag on the zoom in/out button (the nested boxes) to make the image appear smaller and show the grey area around it.

conversion to .swf format
by Segon Boomer video

Select the custom brush pickup tool (square brackets). This is such a powerful and useful tool often use by advanced Dogwafflers that it is available as a shortcut, 'b' for brush.

Before you actually select and pick up the area of the entire image, make sure that you're looking at the first frame of the animation, not the last one or any in-between. Otherwise, it will only pick up the frames from the current to the last.

Now pick up the whole frame: click and drag in the upper-left area. If you want to pick up the whole frame, start in the grey area outside of the drawable area.

Drag down to the lower right corner, Again, go beyond the frame, into the grey area (unlike shown in this snapshot).

IMPORTANT: Before you release the mouse button, press and hold the ALT key. With the ALT key down, when you release the mouse button, Dogwaffle will know to pick up not only the rectangular selection of the current frame, but of all frames from the current to the last. If you are indeed currently on the first frame, then all rames will be picked up.

The menubar will show the progress of this pickup. The animation also will appear while it's being picked up.

Now that the animation has been picked up into an animated custom brush, it's a good idea to storing it for future use. Use the Store/manage... option in the Brush menu.

If there was too much whitespace around the foliage, you might want to right-click on the custom brush pickup tool and increase the low and high pass values.

If you do make such changes, realize that the change is made to the currently active custom brush, not the stored one. Be sure to store the new version too.

Finally, save the animated brush. This will create a file ending in .anb. They can be quite large, as they contained uncompressed image sequences of the animation.

The Base Animation as a Custom Brush:

Here's an example of the brush created in this manner. It has been compressed in 7-zip format. Beware that the compression is quite extreme. It will uncompress to several dozens of megabytes!

waving_pinebranches.7z  [416 KB compressed, 42 MB uncomressed ]

If you don't have the 7-zip compression/decompression utility yet, then we encourage you to  get it here:

part 1 < part 2 > part 3 > part 4 > part 5