- Continue
from the previous lesson, or open\tutorials\level_design\
city_vertex_paint.max.
- Select
the street object and open the Modify panel.
You'll see there is a Vertex Color modifier
in the stack. An earlier version of the Assign Vertex Color utility
added this modifier.
NoteFiles
created with earlier version of 3ds Max will load with a Vertex
Color modifier instead of a VertexPaint modifier. If you add a VertexPaint
modifier to the stack and do a Collapse All Layers, you can convert
the old info into the new modifier.
- Click
the drop-down arrow on the modifier list, scroll down and select
VertexPaint.
A new VertexPaint Modifier is placed in the
stack. Each layer of paint is accessed through a different VertexPaint
modifier in the stack.
The floating VertexPaint dialog appears. Here
you find the tools for Vertex Painting. You will select a color
to paint with and the faces you want to paint.
-
Click
the eyedropper icon, and then choose a dark brown color from the
area near the drain. Press the eyedropper down and move it around
over the geometry. The eyedropper will pick up the color from the
map channel.
-
On the
VertexPaint dialog, choose Face selection then click on the face
that has the hard edge brown shadow near the drain.
The single polygon is selected in the viewport.
- On
the Selection group click Soft Selection, then turn on Use Soft
Selection.
In the viewport the adjacent faces to the original
are now selected.
- On
the VertexPaint dialog, lower the Size of the brush to 3.0
- Click
the Paint button, and then paint the light areas around the hard
edge near the drain.
Increase the Soft Selection falloff if you want
to paint a wider area.
Painting without soft selection will let you
paint hard edges. Let's suppose you want to paint in a yellow brick
road. You'll add another layer for the yellow tint.
-
On the
VertexPaint dialog, in the Layer group click New Layer.
Another VertexPaint modifier is added to the stack.
- Choose
Face Selection again, Turn off Use Soft Selection if needed, then
hold down the Ctrl key and
then in the viewport click to select polygons in the street. Add
the side streets if you like.
TipYou
can drag a selection rectangle to select many faces at once.
- On
the VertexPaint dialog, click the color swatch and then choose a
yellow color from the color picker.
- On
the VertexPaint dialog, click the Paint All button.
The selection fills with yellow color.
- To
tone down the effect, move the Opacity slider in the Layer group.
Watch the paint in the viewport as you change the opacity of the layer.
- For
fun, click the drop-down arrow for the Mode list in the Layer group,
then choose a different blending mode, such as Color Dodge, for example.
See what each of the different modes does in the viewport.
- Save
your scene as myellowbrickroad.max.
The city needs some beautification, so you'll
add some trees. In the next procedure, you can use a sample script
that comes with the software to paint the XRef trees into the scene.