maya painteffects 制作头发
3.paint effects
下面我们将添加一些头发,执行 paint effects->get brush 进入 visor ,打开 brushes/hair/ 文件夹,选择 hairred1.mel (或其它你喜欢的样式)。选择 hair_control_curve01 , painteffects->curve utilities->attach brush to curves ,这样会为 hair_split_curve01 创建一个粗糙的毛发效果。在 outliner 中将新建的这个 stroke 命名为 hair_side_stroke01 ,新的笔刷命名为 hair_side_brush 。
在 outliner 中双击 stroke 打开属性面板,在笔刷页中,首先调整 global scale 值,这个值的大小取决于你的头部模型的大小,我的角色总共 8cm 高,在这里将值设为 0.150 。如果你的角色高度为 160cm 的话,值应为 3 。打开 brush profiles 找到 brush width ,这个值控制从曲线长出的头发的宽度,将值设为 0.8 (不要将它设的太低,这样会使你的头发看上去非常薄)。其他的属性保持为默认。
现在在 outliner 中再次选择 hair_side_stroke01 ,并通过 shift 同时选中所有位于头部一侧的 hair_control_curve (左侧或右侧),执行 paint effects->curve utilities->set stroke control curves ,打开 hair_side_brush 属性面板, tubes/behavior/forces 中,将 curvefollow 设为 1 ,这样可使头发沿 hair_control_curve 生长。进入 hair_side_stroke01 ,将显示质量设为 10 左右(加速显示更新速度)。
4. 调整 paint effects
我们还是从头发的一侧开始。在调整时因为视图观察并不准确,所以你将需要大量的渲染测试,我建议你将渲染分辨率调到 320x240 ,并隐藏除了 hair strokes 之外的所有物体来加快渲染速度。
打开 hair_side_brush 设置面板,将 tubes per step 设为 25 左右(控制头发的数量,不用很精确)。 length min=7 , length max=10 。 tube width1=0.3 , tube width2=0.1 (控制头发的粗细,如果你将头发设细,还要适当的增加 tubes per step 的值,来保持头发的丰满)。 segment=64 (控制头发的圆滑度,这个值会影响渲染时间)。
5. 材质
选择 hair_side_brush ,打开 shading/tube shading ,将 color1 设为你头发根部的颜色, color2 为发梢的颜色。我将其保持为默认值。将 transparency2 设为灰色。 tip fade =0.2 (值越高头发越柔和)。
在 texture 中,选中 map color , texcolorscale=0 (使用纹理贴图的颜色)。 texture type = file , map method = tube3d ,将 tex color1 和 texcolor2 设为白色。然后选择一张图作为纹理(如下图),图案月不规则越好(制作方法为 hairred1.mel 笔刷在 2d 画布视图中绘制直线,导入到 photoshop 中缩放涂抹)。
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器