In this section, you
will view the model using Hardware Shading.
Opening the tutorial file
(optional)
If you successfully completed
Part 7, you can proceed directly to the next step, Shading
the view.
If you were not successful
in part 7, open the file called joystick_part8.wire,
located in the wire directory
of the CourseWare project.
This file contains the completed model from Part 7.
Watch Part
8 of the tutorial.
Shading the view
In
the previous desk lamp tutorial, Diagnostic Shading was used to
visualize the model. In this tutorial, you will use Hardware Shade.
Hardware shading allows for more visual effects and introduces you
to the techniques you will use for rendering in later tutorials.
You will start by making
the cable surface pickable, so it can be shaded.
- On the Layer Bar,
press and hold the on the Cable layer,
choose Set State, then Pickable to
make cable surface active.
- Tumble the view until you get a good
view of the joystick and cable. Hold down the and (Windows) or and (Mac) keys and use the to tumble the view.
- Choose WindowDisplay > Hardware Shade .
The model is shaded in the default colour.
- Choose WindowDisplay > Hardware Shade ❒ to open the option box.
- In the Enable Environment Effects section:
- Click the Ground plane check box
to turn on the ground plane effects.
- Click the Edit Environment button
to open the Environment window.
- In the Environment window,
set the following options:
TipIf
your screen shows the wireframe view, choose the Shade
On button at the bottom of the Hardware Shade Settings box.
To view the design more clearly, you will now
turn off the wireframe, grid, and lights.
- In the title bar of the modeling window,
click the Show button to open up the
menu and select Model (to remove the check
mark). The wireframe lines are turned off.
- In the title bar of the modeling window,
click the Show button to open up the
menu and select Grid (to remove the check mark).
The grid lines are turned off.
- In the title bar of the modeling window,
click the Show button to open up the
menu and select Lights (to remove the check
mark). The light icons disppear.
The joystick design is displayed in shaded mode,
with no model lines, grid lines, or lights showing.
- Select Show > Model, Show
> Grid and Show > Lights once
more from the window’s title bar to bring back the check marks.
The scene returns to
a wireframe view with grid and lights.
- Close the Hardware shade settings option box
by clicking the cross in the top right corner.
Now that the Hardware Shade is set up, you don’t
need to go into the option box the next time you want to shade the
model. Just choose WindowDisplay > Hardware Shade to toggle the shading on
or off.
Save your work
- Choose File > Save As to save the current scene.
- Save your work in the wire directory
of the Lessons project.
- Name your file myjoystick8.wire.