用户名 密    码

maya Fur教程——Maya的Fur教程动力学(12)

来源:久久动画 作者:bing纳凉 发布时间:2010-08-28 17:14:24 网友评论 0


(radial)放射力场测试
   保持这个场景,执行下面的脚本
   currentTime 0 ;
   select -r turbulenceField1 ;delete;
   setAttr "FurDescription1.Length" 2.3;
   setAttr "FurDescription1.LengthNoise" 1.5;
   radial -pos 0 4 0 -m 5 -att 5 -typ 0 -mxd 20
   -vsh none -vex 0 -vof 0 0 0 -vsw 360 -tsr 0.5 ;
   setAttr "radialField1.visibility" 0;
   connectDynamic -f radialField1 curve2Particle curve1Particle
   curve3Particle curve4Particle curve5Particle curve6Particle
   curve7Particle curve8Particle curve9Particle curve10Particle
   curve11Particle curve12Particle curve13Particle curve14Particle
   curve15Particle curve16Particle;
   expression -s "radialField1.magnitude = sin(frame*20)+5"
   -o radialField1 -ae 1 -uc all ;DisplayShadedAndTextured;
   playblast -percent 50 ;

\

(uniform)统一力场测试
   保持这个场景,执行下面的脚本
   currentTime 0 ;
   select -r uniformField1 ;delete;
   uniform -pos 7 4 0 -m 20 -att 5 -dx 1 -dy 0 -dz 0
   -mxd -1 -vsh none -vex 0 -vof 0 0 0 -vsw 360 -tsr 0.5 ;
   connectDynamic -f uniformField1 curve2Particle curve1Particle
   curve3Particle curve4Particle curve5Particle curve6Particle
   curve7Particle curve8Particle curve9Particle curve10Particle
   curve11Particle curve12Particle curve13Particle curve14Par
ticle
   curve15Particle curve16Particle;
   select -r uniformField1 ;
   setKeyframe "uniformField1.tx";
   currentTime 50 ;
   move -r -14 0 0 ;
   setKeyframe "uniformField1.tx";
   currentTime 100 ;
   move -r 14 0 0 ;
   setKeyframe "uniformField1.tx";
   currentTime 0 ;
   DisplayShadedAndTextured;
   playblast -percent 50 ;

\

搜索栏目