Adding Animated Lightning to Images
In the previous two tutorials, Animate a Person with Rain and Lightning and Adding Animated Rain to Images, we showed you how to cutout any photograph and set it on a background,
ready it for some animated storm effects and then add the animated rain in. In the final part of this series, we're going to add some animated lightning and make our
person flash in time with the lightning strokes.
Creating the Lightning
Rather than create a lightning effect from scratch, we're going to use a stock photo of lightning. Sometimes, stock photography is the way to go, especially when trying to imitate real life effects. I will write a tutorial on how to create lightning from scratch in the future, but that's for a completely seperate tutorial. Anywho, I digress. Search online for a nice lightning photograph with a black or dark background and copy it into your image. If you couldn't find one, use mine: Lightning Photo. Paste this lightning layer below your cutout and rain layers and set it's blending mode to Color Dodge. If you used a large image, be sure to scale it down to a realistic level. Once you've sorted the lightning, your image should now look like this:
Creating the Flash
Now we're going to create the flash that will light up our image in time with the lightning. It's similar to the lightning in the sense that we meddle with multiple layers and their opacity, but we're simply going to use a level layer mask at the top of our image and modify it's opacity per frame. To create this, click the little half moon icon in the layers window on the top layer. From the drop down box, choose Levels. In the options that come up, enter Input Levels: 0, 1.00, 1.25 - Output Levels: 0, 255. With the Levels layer mask applied, all layers below it will be applied with this effect; an effect that will increase the vibrancy and brightness of our image. With this layer active and the 100% Lightning image visible, our image now looks like this:
Now Comes the Animation
With everything set, we're ready to animate out image now. We're going to apply the various opacity settings and visibility settings to the layers we've made to put this animated storm together. Once again, go to File -> Jump To -> Adobe Image Ready to switch back to Image Ready. The four frames we made before with the rain effect should still be there; create another 8 frames. This will give us plenty of room to work with our animation. On frame five, set the first rain layer to visible and hide the rest. On the sixth frame, set the second layer of rain to visible and hide the rest, and on the seventh... and so forth. This will make sure our rain is still cycling whilst we create the lightning effect. On frame five, we want to set the first lightning layer we made (the one at 50% opacity where we deleted none of it) and set it to visible. Make sure the rest are set to invisible. Also, hide the Levels layer mask we made earlier. On Frames 1-4, make sure that the lightning effect and every other effect is hidden. Now activate the gradient layer we made and set it to visible. Lower it's opacity to about 10%. On frame six, hide the lightning layer we just used and activate / unhide the 100% opacity unedited one. Raise the opacity of the gradient layer slightly, and activate the levels layer mask we made earlier. Set this layer's opacity to about 50-60%. Ensure every other frame of our effect is hidden so it doesn't interfere with what we're making. On frame seven, hide all lightning layers except the 75% one. Lower the opacity of the levels layer mask significantly and lower the opacity of the gradient as well. On my seventh frame, the gradient is set to 30% opacity and the Levels layer mask set to 35%. On the eighth layer, hide all lightning layers except the 50% and lower the opacity of the gradient again. Hide the levels layer mask; we won't be using this again.Important!
When working with animations, try to avoid deleting layers at all times. Deleting a layer will delete that layer from all frames!
On the ninth frame, hide the rest of the lightning... etc, I'm sure we've established the pattern by now. Hide all of the lightning layers except the 25% one, lower the
gradient a lot, to about 5-10%. The final three layers should be left alone; there should be a little period of time between the lightning otherwise it'll just
continuously flash.
Sit back and enjoy pressing the play button. Your animation should cycle through. You'll see rain and a flash of lightning, and the sky and Sylar / your cutout should
flash up. Pretty neat effect! That's the end of this tutorial. We've learnt how to (briefly) cutout a person from a photograph, add them to a dark and nighttime scene,
prepare the background for our storm animation, create the rain, then add some lightning and a white flash to go with it.
This is obviously a tutorial, so I didn't create that epic an animation to go with this. With a lot of time and hard work, you can create some really astounding results
with this technique. Just be sure to consider filesize whilst you're doing so, because it's always a factor! If you liked this tutorial, be sure to have a browse around our
site. Plenty of excellent tutorials and links to help you further.
Leave us a comment with your results if you work through this tutorial, we would love to see your results. If you have any suggestions for improvements as well, be
sure to add them!
Here's my final animation:
When working with animations, try to avoid deleting layers at all times. Deleting a layer will delete that layer from all frames!
Our Readers have Posted 13 Comments.
Click here to add yours!
Added 5:43pm, Friday 22nd May, 2009.
13 Comments.