Faking An Iris: Or How I Learned to Stop Worrying and Love the Sphere!
Faking An Iris: Or How I Learned to Stop Worrying and Love the Sphere!

by Rick Gerard
Gerard Productions, Seattle, Washington, USA
©2001 by Rick Gerard. All rights are reserved. Used at CreativeCow.net by kind permission of the author.
|

|
ARTICLE FOCUS:
Rick Gerard explores some methods of simulating a camera lens. In this tutorial, Rick uses the Boris Sphere Plug-In for After Effects.
|
Creating a fake iris using a 3D sphere plug-in like Boris Sphere or FE Sphere turned out to be a little more difficult than I thought.
The idea is simple, but illustrating a blade turned out to be a bit of a trick. Let's start there.
My first try didn't work out. It looks like this should work. It doesn't.

A little experimenting and I came up with this:

So why is this better? We will get to that later. Now on to the AE project.
Step 1: Creating the blades.
The first step is to create a long thin comp that will become your iris blades. I made mine 700 X 1400 pixels.
Now import in the blade illustration and move it to the far left of the comp so that its anchor point is at x=0 and y equals what ever you need to position the top of the illustration at the top of the comp. It should look like this:

Step 2: Now the fun part... or how I arrived at the shape of the illustration.
Set up another comp at your output resolution. I used 640 X 480. I called it 'Iris Effects'. Now drag the 'Blades' comp into this comp and apply your favorite sphere plug in. I used Boris Sphere. Set up the filter so that you're looking straight down on the sphere. Tumble @ 90°. Set the faces so the image wraps around and so you see only the front.
Here is the setup:

You'll notice that I've also added in the twirl filter with the radius set to 100 and the angle set to 2X + 0°. I couldn't get enough curve to the blade. This solved the problem.
Here's a little trick that will help you figure out what your illustration is doing. Drag the comps apart so you can see what's happening in the Iris comp as you modify the blades comp.

You'll see that you have one nicely curved iris blade in your Iris Effect comp. Move the 'Blade' layer up and down and you can see how this single blade will look. My first illustration was too narrow at the top. When I moved it down in the frame the iris blade took on a strange shape. If you don't like the shape of the blade go back to Illustrator and modify it. It only took three tries to come up with a blade shape that I liked. Just remember that the top edge of the shutter blade will be squished to a point by the sphere filter so you need to keep it fairly straight so you'll avoid having a star shape when the iris opens. Duplicate the blade illustration 10 times. Click on the top one and set its X position to 1400. Now select all and use the Align and Distribute palette to evenly distribute the 9 layers across your comp.

You'll have to move the top copy of the blade to the position 10 to make the blades look right. You should now see a nice closed iris in the Iris Effects comp. Now hit the letter P and set a key frame for each of the blades at 0:00.
Move to the 2 second point in the time line. Animate the Y position of the blades by selecting them all and using the shift and down arrow key. You'll see the effect as you look at the Iris Effect comp. It should look like this.

To add to the effect I also applied a key frame at frame one for the Spin in Boris Sphere of 30° and 0° at 2 seconds. This helped with the illusion.
A little hue and saturation adjustment and some modifications to the lighting settings in Boris sphere and I'm done.

Here's the final result.
-- See also Rick's other method of simulating a camera lens using Adobe Illustrator and Adobe After Effects. You decide which one you like best.
Rick Gerard is a frequent visitor and contributor to the Adobe After Effects COW. Pop in to comment on this article or ask questions. Like to see who Rick is and find other articles that he's contributed? Click here.
###
| Related Articles / Tutorials: | | | | |
Adobe After Effects
Creating an After Effects Sunrise Play Video Rob Mize shows how to create the effect of a sunrise using only After Effects and a background graphic. This project employs techniques using masks, solids, shapes and effects that can be useful for a variety of projects. Whether creating this effect or some other, After Effects is a great way to start the day.
Tutorial, Video Tutorial
|
| | | | |
| | | |
Adobe After Effects
AE Basics 44: Shaping Text And Advanced Options Play Video AE Basics - A Creative COW series for new users of Adobe After Effects. Lesson 44: In this (more advanced) tutorial, Andrew Devis shows the options to change the way text moves through its range and explains how to change this from the default smooth animation to a much more 'digital' or abrupt instant change. Andrew then goes on to demonstrate more of the advanced options in the timeline to 'shape' your text so that it can have a more interesting or dramatic look allowing for the type of animation that would be very difficult to achieve otherwise.
Tutorial, Video Tutorial
|
| | | | |
| | | |
Adobe After Effects
Create a Rotating Counter TWO: Adding & Adjusting a Bounce Play Video In the second part of this 2 part tutorial, Andrew Devis shows how to animate the rotation of this group of layers as well as how use and adjust an expression that ships with After Effects to have the layers bounce in place as they stop which can give the sense of the counter having some real mechanical properties rather than just a linear of easy-ease keyframe approach.
Tutorial, Video Tutorial
|
| | | | |
| | | |
Adobe After Effects
Create a Rotating Counter ONE: Positioning 3D Layers Play Video In the first part of this 2 part tutorial, Andrew Devis shows how to create and place layers in 3d space such that they can be rotated as a single group to be used for a rotating counter. Andrew shows how to create and place the layers using both the math function of AE as well as a handy and simple expression that places layers a fixed distance or rotation from the previous layer. He then goes on the show how to create and use a controller for the multiple layers so that they act as a single group.
In the next tutorial, Andrew will show how to animate the rotation of this group of layers as well as how use and adjust an expression that ships with After Effects to have the layers bounce in place as they stop which can give the sense of the counter having some real mechanical properties rather than just a linear of easy-ease keyframe approach.
Tutorial, Video Tutorial
|
| | | | |
| | | |
Adobe After Effects
Confessions of a Creative Maniac: Keys to Getting It In
In the history of computing, including the extension to the notion of what actually falls under the guise of history - let's face it, smartphones are really just diminutive computers in a somewhat flimsy disguise - an often overlooked aspect of the entire discussion is something absolutely core to the idea of how these communications devices interface with us - the venerable keyboard.
Editorial
|
| | | | |
| | | |
Adobe After Effects
Introducing After Effects CS6 - Extruded Text and Shapes Play Video In this introductory tutorial to the new 3D capabilities of After Effects CS6, Kevin P McAuliffe shows the basics of how to extrude text and shapes inside of After Effects CS6, and also shows how tight integration with Adobe's Illustrator will have you creating powerful client logos in minutes, instead of in separate 3D applications.
Tutorial, Video Tutorial
|
| | | | |
| | | |
Adobe After Effects
Adobe After Effects: Compositing Actors in Virtual 3D Sets Play Video Rob Mize follows up his Creating Virtual 3D Sets tutorial with this demonstration of how to composite real-life actors into these 3 dimensional environments. Learn how to create an effective sense of interaction between your actors and their virtual environment using only your green screened footage and AE's 3D capabilities.
Tutorial, Video Tutorial
|
| | | | |
| | | |
Adobe After Effects
Panning Large Scenes Using Target Layers in 3D Play Video In this follow-on tutorial to his short series on working in 3D space, Andrew Devis shows how to use this simple technique to quickly and accurately pan around large layers/compositions to zoom in to the exact point required each time. You'll use target layers to get the exact coordinates needed for accurate panning - simple but effective!
Tutorial, Video Tutorial
|
| | | | |
| | MORE |
| |
|