Graphics Programs Reference
In-Depth Information
F
Second color stop:
Posiion: 0.25
Color: 1.0 Red, 0.05 Green, 0.0 Blue
Alpha: 0.5
F
Third color stop:
Posiion: 1.0
Color: 0.65 Red, 0.20 Green, 0.04 Blue
Alpha: 1.0
This material is set as
wire
type only to render lines showing how the mesh is
constructed. The most important part of this material is the Z offset value, since
it helps to get the wire lines get drawn closer to the camera, which we will need
when applying it later, since we'll be having two copies of the object in the very
same locaion in space. Thus, the Z Ofset helps geing the illusion of the wire being
drawn over the object. The seings for the specular relecion are just to give the
wireframe a beter look than just a plain color; the reddish colors were chosen to
give it a warm look.
8. Next, we need to add an empty object (
Add → Empty
) and name it
controller
;
this object will be the parent of each individual object to be showcased, so it will
control each one of them.
9. Now locate the current frame slider in the
Timeline
window (the window with the
playback butons, just below the
3D View
in the
Default
screen) and set it to
1
.
10. Make sure that the
controller
object is selected, locate the
Transform
panel in
the
Properties Sidebar (View → Properties)
, right-click on the buton for the Z
component of the rotaion and select
Insert single keyframe
.
11. Next, set the current frame to
201
(
Timeline window
), go to the
Transform
panel
in the
Properties Sidebar
, set the value for the
Z
component of the rotaion to
360
, and insert another single keyframe for it.
12. Finish this part by seing the irst and last frames for the animaion as
1
and
200
(
Timeline
window, butons to the let-hand side of the playback butons).
13. A inal tweak for the animaion of the empty
controller
must be made by going
to the
Graph Editor
(
Shift + F6
), locaing the curve for the
Z Rotation
channel,
selecing both keyframes (pressing the
L
key while hovering the pointer just over
one of them helps to do it) and then going to
Key → Extrapolation Mode →
Linear Extrapolation
. This gives us an even, uniform speed for the rotaion of
the controller.
The next element to set up is the environment of the scene.