Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Lighting a scene

From: Animation Tips and Tricks with Flash Professional

Video: Lighting a scene

So here, from your Exercise Files folder, an example of the dreaded flashy look. And this is what happens in Flash, it's just a part of the program; you fill these vector areas with flat colors, and they look flat. So we do lots of little things to try to break it up, like we put little shadow lines under them, maybe highlight areas, sometimes the black line around the edge to give it a bit of dimension, although not in this case. But you get the idea. And we have the nice little cute animation; they are walking across the Stage.

Lighting a scene

So here, from your Exercise Files folder, an example of the dreaded flashy look. And this is what happens in Flash, it's just a part of the program; you fill these vector areas with flat colors, and they look flat. So we do lots of little things to try to break it up, like we put little shadow lines under them, maybe highlight areas, sometimes the black line around the edge to give it a bit of dimension, although not in this case. But you get the idea. And we have the nice little cute animation; they are walking across the Stage.

But it all looks really flat, like there is one gigantic ball of light illuminating everything. So awhile back I began playing with a way of getting rid of this, and the solution I found was to use gradients, similar to the principles we have covered in the earlier sections. And here we have a much different looking scene from the one I showed you at the beginning: from here, to here. It's surprisingly simple to achieve this. We simply use three levels, three extra levels, that's all. One with a radial gradient, and the other two with linear.

I am going to show you how to achieve this. So if you don't have the Exercise Files, use any file of your own as long as you have some kind of physical space, maybe put a little cube or a box in the middle, just to have something there to focus your eye. You don't have to have little men walking across the screen, but I just thought it was cute to look at, and give you an idea about something maybe a little more dramatic. So let's double-click on the symbol with the Gradient layer, we want to move the Timeline window up a little to see all the layers, and let's dolly out a little to have a look at everything.

So the three layers in question that perform most of the work are Gradient layers. Now I did add some extra small touches; I put a slight gradient on the ground layer, and I did darken the chap walking in. That was a very simple operation. Let me click on him. That was done in the Properties panel, under Color Effect, Brightness down to 59%, and then brightening him up as he walks into the shot. So just bear that in mind; that was one little extra thing. But almost everything you saw that separates this from the first one is a radial gradient, and then a linear on the left, and a linear on the right.

And let's look at them close up. Here is the radial gradient, and again, to select that this button here, sometimes that says Free Transform tool, other times you might want Gradient Transform tool. So be sure you select Gradient Transform tool, or F on the keyboard. And now you can see and begin to engineer the radial on the ground. This would be the result of an imaginary spotlight above the Stage. So let's click to see the colors of this. And now as you can see it's a very simple gradient; it's only got 4 colors. And I would like you to be aware, too, that depending on how your program is set up, Flash now has different ways of selecting colors, and I like to select this one; it's a little more intuitive for me.

So when you see me modifying colors in Flash, just be aware that you have H selected, and you can then pick your color from this vertical column, and then you can modify the properties of that color by moving around the square in here. You have millions of colors at your disposal. So it goes from the center, which is here, to the outside, which is at the far right. The center point is out 0 opacity, and we can change it by clicking and dragging. The next one out is also set to 0. We then go to about 30% opacity; you can see the color value changing. So I was being probably a bit subtle with this. Going from red that's 0, to a yellow that's 0: that's kind of redundant. We can actually get rid of that one.

So we can go from 0% here, to about a third opacity that's slightly blue, and this very dark color here, that's about 50%, and that gives us a dropoff. We can change the dramatic value of the scene simply by changing the outer color's opacity setting. So let's have a look; see what that does. You can see it's a much more ominous sky that the little men are now walking under. So let me go back to the original one. I'm going to hit Undo a few times, and give you a quick look at the linear.

And probably easier if I switch off the others; it's a very subtle little linear gradient. So again, same basic controls. Of course, they are like a vertical, or a series of parallel lines, which you can then control by clicking and dragging, and then you can rotate the line by moving this widget here. So that is that; that is how we control it. So what I am going to do is walk you through the process instead of just demonstrating it, so you can follow along and have an idea of how it's done.

So I'm going to make a new layer, and I'm going to click and hold down the Alt key to duplicate this layer. And I like to do this when I'm experimenting with new effects and I maybe want to mess things up a little bit, so that I can not worry about the existing two scenes. So be sure you select the Selection tool. Select your new symbol on the Stage, right-click, and duplicate it, and we will just call it copy. Now if you double-click on that, we know we are going to need a new layer for that gradient, and two more up here. And let's label them properly: gradient, circle, we just call it C for circle; keep the name short. This will be gradient right side, and this will be gradient left side. L and R; keep it nice and short again.

So let's do the circular gradient first, and what we want is an area of color that we are going to drop down that will cover the entire scene. Don't try to do one that will just cover a portion of it; it doesn't really buy you much. So I'm going to select the sky layer, because the sky layer covers everything. And hold on the Alt key and drag, or you can simply draw a new rectangle over everything, but this is quicker. Okay, so I am going to select that color area, and then select our Color tab, and under Solid color we switch to Radial.

Now, depending on how Flash is set up for you, and what you did last with Flash, you're going to see any number of different radial effects; some of them probably pretty horrible. So I am going to select a few colors at random so that I'm a little closer to seeing some of the strange combinations that different people out there might see. So you may see something like this, it's completely unusable. So let's select that new layer, and again, hit F on the keyboard or Gradient Transform tool, and let's start shaping it. First thing I like to do is to shape the geometry; that's the easiest thing to do. And it is nice sometimes to have really bright colors for this part so that you can absolutely get an idea.

So this widget here scales, this one squashes it and stretches it, and this one rotates it. But for now all we really need is a little ellipse, so let's do that. And make sure it tries to match the ground plane. If you notice the horizon there, it's nice if we can make it match that. You'll get a more realistic effect. So now we can go in and try to make it look a little more realistic. So as you can see the brown here matches the brown there. And easy to remember that this being the inside, it's closer to the inside of the screen. And this is the outside part of the gradient, being closer to the outside of the screen. That's how I remember. It can be confusing, like, which of these colors matches what on the Stage.

So let me select the outer one. I am going to darken it and immediately, that's instantaneous, you're starting to get a feeling of dark thunderclouds or something. So let's get rid of this green thing in the middle; we don't need anything really powerful or strong in there. So you can select whatever subtle shade of gray you like, and let's bring the opacity down to zero so that we see the original ground layer peeking through. And this blue color I am going to push closer. By pulling the shapes close together, like really close together, you can see where the join is; where the seam is. And then you can start going back from that and controlling the dropoff. And we are at 41% for this blue; it's a bit hot, looks far too bright. And may be we should darken it too; it's a little too bright as well.

So now we are getting something that's starting to feel a lot more like a real natural illumination from above. So again, I am going to check this again. We are at 0%; I am going to pull it in a little bit. As you can see, this position has a direct effect on the physical position of the light on the Stage. So I think that's not a million miles away. So that's pretty good; let's lock that. And now that the radial has been taken care of, we want two linears. So again, I am going to duplicate that flat sky layer, and hit F6, and drag to the top, and padlock here. And I am just going to fill it, and let's select the color swatches, and we'll fill it with a linear gradient.

And F for Gradient Transform tool. And just by pulling it and moving it and rotating it, you can get this closer to the conical shape that we want to match the original. Now the colors are obviously not final yet. They're the same colors that's defaulted; the previous colors that we used for the ground plane. You may not be able to see it on your screen, but there's a weird blue beam here. So what I want to do is to simplify this a little bit; maybe make it a little more neutral. Pull that down and darken it. Maybe sharpen this by pulling this color in and desaturating that a little bit.

And again, the effect is pretty quick. Let's bring the Alpha in just a little, so you don't notice this big corner here. And that's not too bad. So let's hit F6 to make a second version, drag it to the top, padlock the bottom one. And now we have two of them in the same space, we don't need that; we want this to be flipped to match the other side. So let's go Modify>Transform>Flip Horizontal, and then hit padlock again. I am going to zoom out just a little bit, and now you can see the bowl of light.

So I can control the opacity of these shafts to make the falloff darker or more extreme, and I can go in and control the colors and the strength of the light using only three layers. You can add more layers and I often have. But this is a very simple way of showing how much can be done with very few extra additions to a scene. So I strongly recommend if you have scenes lying around that you are not happy with, you start playing with them, and see where you might be able to add some of these layers to see if you can make them feel a little more dramatic, because light is one of the more important tools in setting the emotional tone of the scene, along with the color.

So I think we are ready to move on to the next step, which we will some lens flares.

Show transcript

This video is part of

Image for Animation Tips and Tricks with Flash Professional
Animation Tips and Tricks with Flash Professional

46 video lessons · 13740 viewers

Dermot O' Connor
Author

 
Expand all | Collapse all
  1. 6m 35s
    1. Welcome
      1m 4s
    2. Using the exercise files
      51s
    3. Common keystrokes and shortcuts used in this course
      4m 40s
  2. 1h 24m
    1. Understanding video versus SWF
      2m 30s
    2. Overview of shortcuts, extensions, and setup
      6m 27s
    3. Understanding linear and radial gradients
      2m 39s
    4. Overlapping and animating the colors
      3m 53s
    5. Lighting a scene
      10m 24s
    6. Creating lens flares
      10m 40s
    7. Animating ripples
      7m 2s
    8. Creating a gradient globe
      11m 41s
    9. Creating a gradient bottle
      10m 26s
    10. Applying gradients to a character's eye
      10m 2s
    11. Applying gradients to a character's skull
      8m 49s
  3. 56m 53s
    1. Tweening a circle to a square
      10m 9s
    2. Using thumbnails
      4m 39s
    3. Animating a magic carpet jump
      10m 12s
    4. Setting up a magic carpet walk cycle
      7m 41s
    5. Animating a magic carpet walk cycle
      9m 33s
    6. Shape tweening hair
      3m 50s
    7. Intro to overlapping hair
      1m 57s
    8. Animating overlapping hair
      8m 52s
  4. 1h 8m
    1. Animating waves
      8m 7s
    2. Animating clouds
      7m 48s
    3. Animating a flame
      11m 38s
    4. Animating an explosion
      9m 1s
    5. Adding in-betweens to the explosion
      4m 36s
    6. Adding explosion clusters
      6m 43s
    7. Optimizing the explosion
      7m 30s
    8. Animating smoke with particles
      12m 45s
  5. 32m 18s
    1. Introduction to staggers
      1m 5s
    2. Animating a simple stagger
      5m 8s
    3. Animating a diving board
      6m 15s
    4. Animating a tremor
      5m 56s
    5. Animating a scream
      7m 12s
    6. Refining the scream
      6m 42s
  6. 47m 49s
    1. Introduction to Virtual Camera
      5m 4s
    2. Animating parallax
      6m 9s
    3. Animating a crane shot
      6m 26s
    4. Animating a zoom and rotate shot
      9m 30s
    5. Animating a track shot
      11m 0s
    6. Lighting a 3D shot
      9m 40s
  7. 19m 48s
    1. Animating a cross dissolve
      6m 10s
    2. Animating a wipe
      3m 34s
    3. Animating a fadeout
      10m 4s
  8. 20s
    1. Goodbye
      20s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Animation Tips and Tricks with Flash Professional.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.