After Effects

Jun
30
Posted by frankrause at 10:17 pm

Last year I read about a camera setup at MIT that could shoot a trillion frames per second that could capture the movement of light. I thought I’d try to do the same thing with my camera at home, and use water drops instead of light waves. The water drops wouldn’t exactly repeat every time, but I thought that would make it more interesting.

I thought that, since my camera could shoot 60 frame-per-second video, if I shot 100 water drops, I could weave them together to make a 6000fps movie.

I started off with a simple setup in the kitchen. My camera on a tripod, a mug full of water, and a recycled yogurt container with a tiny hole in the bottom to make the drips. Unfortunately, there wasn’t enough light and the footage turned out blurry.

Next I tried to shoot outside, but the camera was too close to the mug, and the depth of field was so narrow that the whole mug couldn’t be kept in focus. Also, the outdoors was great for the light, but all the sun overheated my camera and I had to bring it inside to cool off.

Here’s the setup I used for the final footage. The camera is hooked up to AC power and hiding in the shade. The overheating warning light started to flash near the end of the ten minutes it took to film all 100 drips, but it turned out okay.

The camera setup:
Canon 2Ti
1280×720 video at 60fps
1600 iso
1/4000 sec shutter speed
f 5.6
300mm zoom

The footage was then broken up into 100 separate clips, each one starting at the first frame a new drop enters the screen. I then took a few hours organizing all the clips, by the height of the water drop on each first frame. The video was edited to show the first frame of clips 1-100, then the second frame of clips 1-100, and so on.

I hadn’t expected it, but around the eighteen second point, you can hear the noise of all 100 drops woven together. There is a delay, since the camera was about eight feet away, and at 6000fps the sound would have taken a few seconds to reach the camera.

Mar
15
Posted by frankrause at 2:00 pm

I needed to cut together a demo reel for that panel discussion a few weeks ago with Dave Levy and Brown Johnson, so I thought I’d share it.

Feb
16
Posted by frankrause at 5:12 pm

The video Will and I made for Miles Kurosky’s new album has been touring the festival circuit for a while, but it’s finally online as of today!

Mar
23
Posted by frankrause at 11:08 pm

I’ve been trying to figure out how to make a 3D fog effect in After Effects for a while. Here’s one way to do it. WARNING! It’s a bear. It will slow down your renders quite a bit, and it’s probably most useful as a “final pass” effect.

Right click to Download the After Effects CS3 example file here.

Here’s how it works:

There are 256 duplicate “Fog Layer” compositions each containing a semitransparent solid, spaced slightly apart from one another on the Z axis, like a stack of cards.

There is a “Fog Null” in the same position as the frontmost of the 256 compositions, with all 256 Fog Layer comps being parented to this null. That way, the scale on the Fog Null’s Z-axis can be used to control the depth of the fog. The Fog Null’s X and Y axis scale can be used to increase or decrease the size of the Fog Layers.

The Fog Null is parented to the camera, so that wherever the camera looks, the depth of the fog will be consistent from the location of the camera.

How to set it up:

I would recommend that you start your project with the example file, since it’s all set up. If you need to add the fog to your existing file, here’s how to do it:

Add the entire contents of the “Fog Comp” to your main comp. Copy the position, point of interest, and rotation keyframes from your current camera to the “Camera 1″ of the Fog Comp so that the two cameras share identical positions. You can then use the Fog Comp’s camera as your main camera, or you can parent the Fog Null to your camera and get rid of the camera from the Fog Comp.

If you don’t need 256 levels of variation in your fog, you can delete some of the Fog Layers. If you only need 16 layers of fog, delete layers 17-256. Deleting these layers will speed your rendering time greatly. I would strongly recommend this. 256 layers of detail in your fog is probably overkill for most purposes.

You will then need to set the depth of the fog. Go into the Fog Layer comp and increase the opacity of the solid inside to 100%. Next, temporarily hide all but the furthest Fog Layer.You can then adjust the scale on the Fog Null’s Z-axis to set the farthest point of your fog.

Next, make sure the Fog Layers are big enough to fill your image with fog. Use the X and Y scale on the Fog Null to make sure that the edges of the furthest Fog Layer won’t show up in your image.

You can then un-hide your other fog layers. Don’t forget to turn the opacity back down on the solid inside your Fog Layer comp, or all your Fog Layers will be opaque and you won’t be able to see a thing.

By going into the Fog Layer comp, you can increase or decrease the transparency of the solid it contains.  This will alter the thickness of the fog. You can also adjust the color of the solid with Effect->Color Correction->Hue/Saturation to give the fog a color. You can also add any image or movie into this comp, and it will become the image used to create the fog.

Make a Z-depth channel of your 3D After Effects project

You can use this technique to make a Z-depth channel for your 3D layers.

First, make all your 3D layers white. Use Effect->Color Correction->Hue/Saturation and set the “Master Lightness” to “100″ for each layer.

Next, adjust the opacity of your fog so that the furthest point appears totally black. To do this, go into the Fog Layer comp, and use Effect->Color Correction->Hue/Saturation to make the solid black. Then carefully increase the opacity of the solid until the furthest point in your image is totally black.

You should now have a greyscale image representing the depth of your comp.

z-depth

z-depth

Let me know how it goes!