2: Texturing and lighting the Nissan R390 GT in 3ds max 5
>> Section 4: Painting and application of textures
Maximize the UVW editing window and press “Print scr”
(“Stamp” on italian keyboards) to get a screenshot
of the monitor in memory. Open your software of choice for
tecture creation (Fireworks in my case) and create a new image
with a resolution of 2000x2000 pixels and a white background.
Press “Ctrl + V” to paste the screenshot in the
newly created image, cut away the parts outside the blue square
area and rescale the image to fit the 2000x2000 background
(Fig. 14). Using this pasted
screenshot as a reference we can start painting the masks
for our blend material. The first mask will define areas where
the white paint is showing. Black areas of the mask will show
the white paint (Fig. 15, note
the background reference image shown in semi-transparency
on the bottom layer). Save the mask as “mask1.png”
(or any other 3ds mnax compatible and not destructive image
type as TIFF, BMP...).
Let’s go back in 3ds max and create 3 standard materials,
naming them “white paint”, “black paint”
and “red paint”, changing only the diffuse color
to the respective color. We will later change this materials
to proper reflective paint materials, but now we just need
fast rendering test materials.
Create a new “Blend” material and name it “bonnet”.
Put “mask1.png” in the “Mask” slot.
The material in the first slot (“Material 1”)
will show up in the black areas of the mask, while “Material
2” will show up in white areas. This is pretty simple,
but the material tree can get quite complex so keep this principle
in mind if you start getting confused. Create a new “blend”
material in each one of the 2 slots. Name “white”
the first material and “black” the second (i couldn’t
find a better naming, just name things so you can understand
at a glance where you are in the material tree).
In the newly cretaed blend material (“Material 1”
of the root blend material), which will show in the black
areas of mask1.png, we will need white paint areas (sponsors),
black paint areas (number 22) and red paint areas as well
(the rising sun in the japanese flag), so we need a new mask
(Fig. 16) (mask2.png). Put it
in the Mask slot. Drag an instance of the white paint in “Material
2” slot: thus the white paint will show in areas defined
by black areas in “mask1.png” and white areas
of “mask2.png”. Create a new Blen material in
“Material 1” slot (i named it “red and black”).
If you are getting confused help yourself opening the “Material
/ Map navigator” by clicking on the relative button
in the material editor.
In the newly cretaed Blend material, put “mask3.png”
(Fig. 17) in the “Mask”
slot. Drag an instance of “red piant” in “Material
1” slot and an instance of “black paint”
in “Material 2” slot.
Go back to the root Blend material and click on “Material
2” slot (“black”). Put a new mask in the
“Mask” slot (Fig. 18,
“mask4.png”). Drag an instance of “Red paint”
in “Material 1” slot and an instance of “black
paint” in “Material 2” slot.
That’s it: the principle behind this material, as said,
is quite simple, so if you are getting confused feel free
to do some experimentation to understand how all this masks
and blend materials work together.