3ds max 8的表情控制教程
2007-10-13 20:46:56 来源:WEB开发网在空白脚本编辑器里输入下列内容。如图所示:
算了,还是提供文本吧:
--脚本开始
ca=attributes faceControl
(
parameters fc01 rollout:fdmouth
(
xp01 type:#float ui:(xp01sp,xp01sl)
zp01 type:#float ui:(zp01sp,zp01sl)
)
parameters fc02 rollout:fdbrows
(
xp02 type:#float ui:(xp02sp,xp02sl)
zp02 type:#float ui:(zp02sp,zp02sl)
)
rollout fdmouth "mouth"
(
local fW = 40, oS = [0,-23]
spinner xp01sp "" range:[-2.5,2.5,0] fieldWidth:fW
slider xp01sl "xp1" range:[-2.5,2.5,0] offset:oS
spinner zp01sp "" range:[-2.5,2.5,0] fieldWidth:fW
slider zp01sl "zp1" range:[-2.5,2.5,0] offset:oS
)
rollout fdbrows "brows"
(
local fW = 40, oS = [0,-23]
spinner xp02sp "" range:[-2.5,2.5,0] fieldWidth:fW
slider xp02sl "xp2" range:[-2.5,2.5,0] offset:oS
spinner zp02sp "" range:[-2.5,2.5,0] fieldWidth:fW
slider zp02sl "zp2" range:[-2.5,2.5,0] offset:oS
)
)
custAttributes.add $.modifiers[1] ca
--脚本结束
然后在脚本编辑器菜单里找到File/Evaluate All全部执行所写的语句。如下图:
更多精彩
赞助商链接