首页 | CG软件 | CG信息 | CG教程 | 三维作品 | 设计理论 | CG加油站 | 设计鉴赏 | 社区图库 | Flash | 专题 | 顶客 | 论坛 | 博客 | 导航 | 下载 | 高级搜索
RSS
热门: 素材  作品  设计  效果图  创意  3dsmax  优秀作品  Vray  艺术  欣赏

Maya教程-nCloth另类运用

来源:火星时代 作者:剑工场 时间:2007-09-29 点击:
运用   另类   教程   maya   Ncloth  

新版本第一个原创教程



//建立场景
{polyPrimitive -r 1 -l 1;
string $selQ[] = `ls -sl`;
polyChipOff -ch 1 -kft 0 -dup 0 ($selQ[0]+\".f[0:31]\");
polySeparate $selQ[0];
setAttr ($selQ[0]+\".ty\") 5;
polyPlane -w 20 -h 20 -sx 10 -sy 10 -ax 0 1 0 -cuv 2;
string $selP[] = `ls -dag -sl`;
setAttr \".ty\" .05;
string $red = `shadingNode -asShader blinn`;
string $redSG = `sets -r 1 -nss 1 -em -n ($red+\"SG\")`;
string $blue = `shadingNode -asShader blinn`;
string $blueSG = `sets -r 1 -nss 1 -em -n ($blue+\"SG\")`;
connectAttr -f ($red+\".outColor\") ($redSG+\".surfaceShader\");
connectAttr -f ($blue+\".outColor\") ($blueSG+\".surfaceShader\");
setAttr ($red+\".color\") -type double3 1 0 0 ;
setAttr ($blue+\".color\") -type double3 0.6 0.6 1 ;
sets -e -forceElement $redSG $selQ[0];
sets -e -forceElement $blueSG $selP[0];
DisplayShadedAndTextured;}
// over
 

指定球为 布料

指定地面为 被动物体

select -r $selQ[0] ;
string $sel[] = `select -hi`;
  select -d $selQ[0];
//选择球的面片

添加焊接边界 约束

找到约束节点dynamicConstraintShape1

在时间线上 对connectionDensity 分别打两个关键帧

进入output,

playbackOptions -min 1 -max 100 ;

//调整时间和权重如图

选择红色的球

回放动画,Over。


本文地址:http://www.cg3000.com/html/cgTutorials/Animation/MAYA/20070929/Mayajiaocheng_nClothlingleiyunyong_33649.shtml
上一篇:Maya教程-滚动轮胎
下一篇:Maya教程-nCloth翻译上手教程
关键字:迅雷 快车 Baidu Maya 教程 nCloth 另类 运用
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
图腾CG联盟免责声明:本网站转载纯粹出于为网民传递更多信息之目的,无任何商业目的。如本网站转载稿件涉及版权等问题,请作者速来函admincg3000@163.com联系,在此,我们首先向您表示诚挚的歉意,并将尽快予以改正。本网站上发表的内容只代表作者本人之观点,本网站只出于传递更多信息之目的,并不意味着赞同其观点或证实其内容的真实性。
赞助广告