Manual/PartIII/Multiple Materials
Wikipedia,自由的百科全书
Most objects are assembled so that they can be modelled in parts, with each part composed of a different material. But on some occasions it may be useful to have an object modelled as a single Mesh, yet exhibiting different materials. Consider the mushroom image shown in Mushroom Mesh. This object is a single mesh to which we need to assign two materials: one for the stem and one for the cap. Here's how to do it. 绝大多数的物体是由不同的模块组合起来的,这些不同的模块都指定了不同的材质。但是在某些情况下一个独立的网格物体仍就需要指定几种不同的材质,看看下面的蘑菇网格模型,它是一个单独的网格模型,我们需要给它指定两种材质,一种是伞盖的材质,另一种是蘑菇茎的材质,下面我们来演示一下 :
- Create a creamy stem material of your choice, and assign it to the entire mushroom. (Mushroom with one material).
创建一个蘑菇茎的材质,把它赋给整个蘑菇物体(现在蘑菇只有一种材质)
- In a 3DWindow enter EditMode for the mushroom and select all the vertices belonging to the cap (Mushroom with cap vertices selected ).
在3D视图进入编辑模式选择所有伞盖的点
- Go to the Link and Material Panel in the Mesh Edit Buttons (F9) and press New (Adding a new material to the mesh).
在编辑模式下的Link and Material面板中(快捷键F9),点击New添加一个新的材质给蘑菇
- The mesh should now have two materials. The label should now read 2 Mat: 2 meaning that material number 2 out of 2 is active. The selected faces are assigned to this new material once you press the Assign button; the unselected faces keep any previous material assignment.
模型现在有两个材质,标签显示2 Mat: 2意思是两个材质中的第2个是激活的,当你按下Assign(指定)按钮时选择的面将会指定新的材质,没有被选择的面将保留以前的材质
To see which faces belong to which material use the Select and Deselect buttons. Switch among materials with the Mat: NumButton. You can have up to 16 materials per mesh. 使用Select和Deselect按钮来查看哪些面赋予了那种材质 ,用Mat:后面的数字来切换材质,每个单独的网格模型最多有16种材质。
- At any rate, both mesh materials are instances of the same material! So, keeping the material you want to change active, switch to the Material Buttons (F5) where you will find a similar "2 Mat 2" button. The material now has two users, as indicated by the blue color in the name of the material, and the number button showing "2" (Multiple user material).
至此, 2个材质都是同一材质的实例,保持你需要的材质处于激活状态, 切换到材质面板(快捷键F5) 切换到材质按钮,这里你可以看到也有个“2 mat 2”这样的按钮。这个材质当前有2个网格在使用,表现为:材质名字是蓝色的.(数字按钮的“2”表示现在有2用户.材质名字颜色,如”MA:Stem”多用户:蓝灰色,单用户:紫色)
- Click on the "2" and confirm the OK? Single user question. You have now duplicated the material. The original material is still called "Stem" and the duplicate is "Stem.001". Rename the duplicate to "Cap". You can now edit the material as needed to obtain a nice looking cap. (Mushroom with two materials.).
点击“2”并且点击 “OK? Single user”对话框 确定.你现在已经复制了这个材质.原始的材质仍就叫做“Stem”(茎),复制的材质的名字就作“Stem.001”,重命名“Stem.001”为“cap”(伞盖)。现在你可以根据你的需要编辑一个漂亮的伞盖(先子蘑菇已经有了两个材质)
| Textures纹理贴图:
If your material uses textures they remain linked even after you make the material single-user. To unlink textures, so that you can edit the two material textures separately, go to the TextureButtons for that material, and make the texture single-user as well. 如果你的材质有纹理贴图的话,当你把它分离成单个使用者的材质时,贴图仍就具有链接关系。取消纹理贴图链接,你就可以单独的编辑两个材质的纹理贴图,方法:进入到材质的贴图按钮将贴图设置为单个使用者的模式既可。 |
|





