Graphics Programs Reference
In-Depth Information
Animating a Simple Lightning
Effect
To finish the look of our nice scene, let's add a simple effect of lightning shining inside the
cloud. For this, we will just need to work with a single lamp and add a simple animaion for
its energy property.
Engage Thrusters
1.
Go to
layer 2
of the main scene and add a point lamp, seing it up as follows:
F
Color: 0.73 Red, 0.84 Green, 1.0 Blue
F
Energy: 0.0
F
Distance: 3.0
F
Sphere: Enabled
F
This Layer Only: Enabled
F
Shadow: No Shadow
2. Now go to
frame 21
and add a
keyframe
on the Energy property for the lamp
(Right-click and select
Insert Keyframe
). Next go to
frame 35
and perform the same
operaion.
Let's go to the Graph Editor and find the curve for the Energy channel of the lamp;
we will find a horizontal curve with only two keyframes.
3. We just need to add three new keyframes by selecing one of the exising
control points, duplicaing it (
Shift + D
), and then moving it accordingly.
The desired shape is shown in the next screenshot: