In the applet on the previous page, objects were turned into 3D objects simply by assigning someObject.z=0. The 'scaling correction' technique works equally well if more complex 3D transformations are performed on a given object. Below, we rotate a Bitmap without a blur.
- Download all files corresponding to this tutorial: blursol.zip
Matteo's 'scaling correction' technique would have simplified some of our earlier tutorials. For example, in the flipping card tutorial 3D Card Flips with Tweens in Flash CS4 and CS3 the TweenFlipCS4 class could be significantly simplified by using scaling correction instead of swapping 2D and 3D objects.