02.02.2013 Views

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Using CGI programs <strong>to</strong> create animation<br />

Using Trace Bitmap <strong>to</strong> get a car<strong>to</strong>on effect<br />

Figure 4.18 Using Trace Bitmap<br />

Most computer animation software includes options <strong>to</strong> output the images as a non-pho<strong>to</strong> realistic<br />

render. Usually this means a car<strong>to</strong>on look. This can be a very effective way of getting animation<br />

graphics in<strong>to</strong> <strong>Flash</strong>. First you set up the renderer <strong>to</strong> output using outline edges and flat colours.<br />

Then you bring this in<strong>to</strong> <strong>Flash</strong> as a sequence of images. Finally by using ‘Modify/Bitmap/Trace<br />

Bitmap…’ on each image in the sequence they can be converted in<strong>to</strong> vec<strong>to</strong>r images. The parameters<br />

<strong>to</strong> set for the Trace Bitmap dialog box will vary from one bitmap sequence <strong>to</strong> another, the most<br />

important being the use of ‘Color Threshold’: this needs <strong>to</strong> be set as high as possible while<br />

retaining the colours in the original image. You are aiming at avoiding the Trace Bitmap function<br />

retaining the anti-aliasing. Having converted the sequence of images it is usually a good idea <strong>to</strong><br />

go through the sequence using ‘Modify/Shape/Optimize…’. This brings up the dialog box in<br />

Figure 4.19.<br />

Figure 4.19 The Optimize Curves dialog box<br />

57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!