Advanced Extrusion with Shatter
This is a fairly simple technique often done poorly. The trick to making the 3D extrusion look as good as possible is in the way you use a custom shape layer and the way you assign textures to the extrusion.
This is a fairly simple technique often done poorly. The trick to making the 3D extrusion look as good as possible is in the way you use a custom shape layer and the way you assign textures to the extrusion.
The easiest way to rotate on a corner is to simply move the anchor point to the corner. The challenge is to switch corners automatically every 90º. If I divide rotation by 90 and use Math.floor(value) I can create a counter that goes from 0 to 3 in the first rotation. To make the number repeat I'll use the % 4 function. So far the expression looks like this:
count = Math.floor(rotation / 90);
num = count;
val = ( num % 4);
To keep the value from going negative I can add 100 to the number (num). This will give me 25 rotations in the negative direction before my value goes negative.
Now it's just a matter of adding a few if else statements. The final Anchor point expression looks like this:
count = Math.floor(rotation / 90);
num = count + 100;
val = ( num % 4);if (val == 0) {
[width, height]
}
else if (val == 1) {
[width, 0]
}
else if (val == 2) {
[0, 0]
}
else
[0, height]
I used width and height instead of the values for the layer so the expression would work with any square layer of any size.
The last step is to modify the position of the X value by multiplying the rounded count by the width of the layer. The expression should be fairly easy to understand and looks like this:
val = Math.floor(rotation / 90);
x = value[0] + val * width;
y = value[1];
[x, y]
The only thing left to do is animate the rotation value. You'll find a project for AE CS3 here I hope you enjoy...
Panasonic HDC SD5 camera and evaluating whether or not it offered a viable solution to full 1080i production on the cheap. While the camera produced some surprisingly good images and was very comfortable to use, the biggest problem turned out to be interlacing issues, followed by compression artifacts and lastly, motion artifacts from the GOP stream.
The trouble began when I imported the QT into After Effects. For some reaspm the clip is interpreted at HDV size of 1440 X and the frame rate was interpreted at 30.09 fps. I could easily fix the frame rate by interpreting the footage at 29.97 but fixing the size was another problem. The solution was to export to any one of several compatible codecs from QT pro. I chose PhotoJpg. Now the footage opens correctly in AE but there's still a problem. I separated fields then doubled the frame rate of the comp to check for things like motion artifacts from the heavy AVCHD GOP compression. I shot some cars driving by on a freeway from my hotel room window. At first, everything looked fine and I thought that I might have found a fairly acceptable HD format on the cheap. Then I noticed something odd. About every 70 or 80 fields there was a field out of order. The strange thing was that it wasn't consistent. The only thing I could figure out was that the decoder from Mac1080HD was fouling up every once in a while decoding the GOP stream into fields.