http://www.youtube.com/watch?v=HYjnP3jQIiw&fmt=18
这个是youtube上的视频,叫做multiple material,其实最有用的是介绍vertex group,亮哥帮我下的,再次感慨一下国内的网络啊
有了vertex group,我就可以给每个面贴一个纹理,进而通过程序控制面的mapping
sio2论坛里关于vertex group的:
Re: Programatically applying a texture
1. Can anyone please tell me how to assign an p_w_picpath to 1 side of a cube..?>> Multimaterial, assign multiple vertex group and assign a different material to each of them, check my channel on youtube, I create a quick tutorial on that.
2. and when assigning the p_w_picpath, you obviously need to choose which of the 6 sides you want to put on, so how do you choose the side? (i only want to choose 1 of the 6 sides of a cube to apply the p_w_picpath)
>> You simply have to check the vertexgroup name, simply loop through the vertex group of your object then assign the p_w_picpath to the material.
tips:
Ctrl+I: select the invert