Graphics Programs Reference
In-Depth Information
This light will only light the sphere shape around it, unil the distance value is
reached. Since this effect is only needed for the energy shield, we enabled the
opion to afect only objects in this layer. Now let's duplicate this light a couple imes
and put its duplicates at some other places near the shield object, to add some nice
variaion to the shield impact efect for each lamp. Make sure to change the distance
seing, the energy, and to put the lights at diferent distances from the surface
of the shield object. Strong changes in the energy value will also cause strong
differences in the shield impact effect of each lamp.
For the left-hand side of the shield (looking from the camera) we want to add a
bigger shield impact effect.
15. For that we need a diferent lamp than the ones we've been creaing unil now;
these are the seings:
F
Type: Sun
F
Color: 1 Red, 1 Green, 1 Blue
F
Energy: 5
F
This Layer Only: Enabled
F
Locaion: 7.74 X, -0.14 Y, 0.42 Z
F
Rotaion: 81.24º X, 74.47º Y, 23.02º Z
The reason for using a sun lamp is because it will cause the specularity on the shield
to be bigger, making the efect bigger. The main reason for waning to do that is to
get a shield impact spot where it clearly shows the shape of the shield.
There is one last litle step to do to make sure the shield is going to be afected only
by these lamps.
16. Select all the lamps that we created to cause the shield impacts and go to
Object →
Groups → Create New Group
. Now go to the
Object
tab in the
Properties Editor
,
locate the
Groups
panel, and change the name of the group to
shieldImpact
.
17. Next, select the shield object, go to the
Material
tab in the
Properties Editor
,
locate the
Options
panel, click on the
Light Group
field (shows an icon with
a sphere and a cube) and select the
shieldImpact
group; also enable the
Exclusive
opion, so as not to let any other object be lit up by lamps in this group.
There's quite some redundancy here, since the lamps are controlled by the layer
and distance + sphere opions; but it's not a bad idea to make enirely sure that
things will work as we need them to.
As a last step we're going to prepare some seings that will only be used for the
Mother Ship, when composiing the scene.