IGNITIONS/RETRACTIONS BY DIGITAL EXTRAPOLATION
This is how to have a shot of your lightsaber igniting or retracting by shooting with only a handle and digitally extrapolating the lightsaber blade entirely in After Effects.
With this method of ignition/retraction, unlike the prop removal method, you have practically total freedom in shot movement and background motion. You do not need to lock down your camera down to a tripod, you can shoot however you like with just one rule: Make sure that for the time when you want the saber to be on, you can fully see the top and bottom of your saber handle. It is important that you can see each end of the handle to ensure that you are able to align the blade's angle properly later.
Open After Effects and create a new Composition (Composition > New Composition...) set to the same pixel size, time length and pixel aspect ratio as your footage you want to rotoscope.
Import your footage to the Composition by going File > Import > File...
Place your footage into your composition and move it through time to get it how you want it.
If necessary, in the switches panel, set the footage's display quality to best.
Note: Like in the other ignition/retraction tutorial, I will now use a lightsaber ignition shot as an example. This means that we want to have no lightsaber coming out of the handle to start with, and then later it will extend out. Once you understand the following example well, you should have no problem figuring out how to do it for retractions.
Using the Time Controls palette (Windows > Time Controls) move forward through time to the frame where you want your lightsaber to start igniting.
Create a new solid by going Layer > New > Solid... Set the color of the solid to pure white. Now choose the size of the solid. You want the solid to be the same width (and if you should see the tip of your saber in the shot, the same length) as your imaginary lightsaber blade. An example for a medium shot might be a width of 10 and a height of 200. It depends on your shot. Create the solid and if the shape isn't right, just Undo and try again.
In the toolbox, click the pan Behind button (I don't quite get why it's named that)
Click on your new solid's anchor point (the circle with the X int he middle) and drag it to the very bottom middle edge of your solid. This makes the bottom the new point of rotation for the solid.
In the toolbox, click the Selection tool (represented by a standard cursor arrow)
Click the triangle next to Solid 1's name in the timeline window, and then click the triangle next to Transform.
Click the stopwatches for Position and Rotation. This will allow us to set keyframes for these functions so we can animate them over time.
Tip: At this point you might want to change the opacity of your solid to 50% or maybe 25%. You might find this makes helps you eyeball your positioning later.
Click anywhere inside your solid and drag it to move it so that the very bottom of your solid is at the bottom of your saber handle and centered as much as possible.
In the toolbox click the Rotation tool and then click somewhere inside the solid and drag it to rotate it. You want to rotate it so that it goes straight through the middle of the emitter end of the handle.
Note: Now you should have what looks like a lightsaber blade where it should be and then going through (on top of the handle as well. Remember we're going through the handle to help make sure the angle is correct; We'll mask off that bottom bit of the solid later. Also at that time we'll come back to making the saber "extend". For now just worry about lining up the solid as precicely and consistently as possible.
Using the Time Controls palette, move forward through time to a frame where you want to add a new keyframe. (not too many frames ahead... the more keyframes the better your animation)
Using the selection and rotation tools, move and adjust the rotation of your solid so that it once again is lined up as described beforre.
Tip: At this time you should use the Time Controls palette to move back through time over the course of your animation to ensure that the solid moves precicely with your handle on every frame between the keyframes you just set. If the solid does not move how you want it, you can set more keyframes by moving to a frame in time where your solid needs the most correction and simply update the position and rotation to make it look how it should.
Again using the Time Controls palette, continue moving forward through time, setting keyframes to update your solid as you go until you have keyframed your lightsaber over the entire duration of your clip.
Use the Time Controls palette to go back to the very first frame that your solid appears on the footage.
If you want your lightsaber to ignite rather quickly, move forward 5 frames or so. If you want your saber to turn on more slowly, move ahead about 10 frames.
Click the Pen tool and draw a mask defining the part of the solid you want to be visible. (you should only need 4 points. Have the bottom edge of your mask go right through the edge of your handle's emitter, if not overlap with it slightly. Make sure there won't be a gap between the blade and the handle)
Move back to the frame where your solid first appears.
Click the Selection tool (arrow)
In the timeline window, under Solid 1's name, click the triangle next to Masks and then the triangle next to Mask 1.
Click the stopwatch for mask shape.
Drag each of your mask's top 2 points down close to the bottom 2 so that you have only a tiny bit of your blade showing. After Effects will use this frame and the other frame 5/10 frames up to animate the lightsaber igniting.
Note: Since you have drawn and animated your mask on the solid layer, the mask should move with the solid and therefore you should not need to do any further animation of the mask.
Note: If you set the solid's opacity down to 50% or 25% earlier on, bring that back up to 100%.
Select your footage layer and go Edit > Copy
Create a new Composition (Composition > New Composition...) set to the same pixel size, time length and pixel aspect ratio as your first composition.
If it is not, position the time marker on the very first frame of this new composition. (By default it should be there already, but in case it isn't this is very important) and paste your footage into it (Edit > Paste)
In the timeline window, click the tab for Comp 1 to go back to it.
Select your footage layer and delete it.
Position the time marker to the first frame in the composition and insert a new solid by going Layer > New > Solid...
In the Solid Settings click the "Make Comp Size" button to ensure that the sollid will fill the canvas space.
Click the color swatch, set the color to pure black and click "OK". In the Solid Settings click "OK".
In the timeline wondow, select your new black solid layer and drag it so that it is below your other solid.
Select your lightsaber solid (Solid 1; The solid on top)
Apply a blur effect by going Effect > Blur & Sharpen > Fast Blur or Effect > Blur & Sharpen > Gaussian Blur.
In the Effect Controls window, give the layer a blur of 1 or 2 or maybe even 3 depending on how close or far the lightsaber is from the camera and then close the Effect Controls window. Remember, this is how blurry the core of your lightsaber will appear, so don't over or under-do it.
If you must, click the triangle next to Solid 1's name in the timeline window, and then click the triangles next to Effects and then Fast Blur or Gaussian Blur to reveal the filter settings.
Duplicate the lightsaber layer by going Edit > Duplicate
Click the name of the #2 Solid 1 layer you just made and then set it's blurriness to 10.
Note: In the end we will have 3 lightsaber aura layers with varying blur values in a 1:2:4 blur ratio, as I call it. For the example of this tutorial I am using 10, 20, 40. This set of blur values will not look ideal at all times. You will have to playa round with these numbers to find what glow works for your shot. For closer shots you might use 20, 40, 80 or 30, 60, 120 and for far away shots you might use 5, 10, 20. The point is as long as the blurs are in proportion to each other, you have to tweak them to make sure they look as good as they can for your shot.
Duplicate the layer again by going Edit > Duplicate
Click the name of the #3 Solid 1 layer you just made and then set it's blurriness to 20.
Duplicate the layer once again by going Edit > Duplicate
Click the name of the #4 Solid 1 layer you just made and then set it's blurriness to 40.
In the timeline window, click the tab for Comp 2 to go over to it.
"Nest" your lightsaber composition (Comp 1) into Comp 2 by clicking the Comp 1 name in the Project window and dragging it to the center of the Composition window. (The composition should snap to the center of the composition window, ensuring that it is lined up with your footage)
If necessary, in the switches panel, set the display quality of the nested Comp 2 to best.
Set the transfer mode of the lightsaber layer (the nested Comp 2) to screen mode by going Layer > Transfer Mode > Screen
Tip: If you want to add a nice roundness to your lightsaber corners/tips, now is the time to apply a median filter. Make sure your nested lightsaber composition (comp 2) is still selected and go Effect > Image Control > Median and apply a median radius of 1 or 2 or maybe 3 depending how large your lightsaber is in frame.
Go Effect > Adjust > Color Balance
In the Effect Controls window, first click the Preserve Luminosity checkbox and then give the lightsaber color by punching up the Midtone and Highlight Balance for the color you want.
Note: Colors other than red green and blue can be created by punching up the midtones and highlights of more than one color. Purple = Red + Blue, Yellow = Green + Red and Cyan = Green + Blue.
Tip: The color red almost always looks best with the midtones and highlights up at 100, but other colors like green and blue usually look better when they contain a little bit of each other in the midtones. Play around mixing colors to get just the range you want.