Graphics Programs Reference
In-Depth Information
To apply each material to a different part of the mesh, we need to select the faces
to which the specific material will be assigned, select the material from the list, and
click on
Assign
.
10. Let's select the inner face of the mesh, then select the
windows
material slot from
the materials list and click on
Assign
.
11. Now select the faces forming the frame around the window (the protrusion, twelve
faces in total), select the
frames
material from the list, and click on
Assign
.
12. Finally, deselect all the faces (the
A
key), click on the
bricks
material slot, and click
on the
Select
buton below the materials list. Only the faces created during the irst
extrusion should be selected in the mesh.
The last thing we must do to the materials is to assign them different colors to easily
difereniate each part of the mesh.
13. Let's select the
frames
material slot from the materials list and set its diffuse color
to full black (0.0 Red, 0.0 Green, and 0.0 Blue).
14. For the
windows
material, let's set its diffuse color to 0.19 Red, 0.47 Green, and 0.8
Blue. Let's save the file too.
Ater creaing the basic element for the front of the building, we just need to
replicate it using two array modifiers to form the front of the building.
15. Let's switch to Object Mode and go to the
Modifiers
tab of the Properies Editor.
Now click on the
Add Modifier
drop-down menu and select the
Array
modifier,
then set the modiier opions as follows:
F
Count: 4
F
Relaive Ofset: Enabled
F
X: 1.0
F
Y and Z: 0.0
F
Merge: Enabled
16. This array will create a row of windows; after it's created, let's click on the
Apply
buton at the top of the
Array settings
panel.
17. Let's add another
Array
modiier, using the following seings:
F
Count: 5
F
Relaive Ofset: Enabled
F
Y: 1.0
F
X and Z: 0.0
F
Merge: Enabled