Maya动画教程:制作翻板动画(2)
来源:互联网 作者:未知 发布时间:2011-03-16 11:19:35 网友评论 0 条
2、指定一个统一的贴图坐标。
创建脚本: for($index=1;$index<101;$index++)
{
string $nm="pCube"+$index;
float $v=floor($index/10)*.1+.1;//get v value opposite to the cube
float $u=floor($index%10/10.0*10)*.1+.01;//get u value
float $sampleV[]=`colorAtPoint -u $u -v $v file1`;get the color info on specified UV
rotate -a -os ($sampleV[0]*180) 0 0 $nm;//ma
- 2009-10-14
- 2009-10-15
- 2009-10-15
- 2009-10-13
- 2010-03-18
- 2009-10-14
- 2009-10-14
- 2009-10-15
- 2010-03-03
- 2009-10-15
- 2009-10-13
- 2009-10-14
- 2009-10-14
- 2009-10-15
- 2009-10-14
关于我们 | 联系方式 | 广告服务 | 免责条款 | 内容合作 | 图书投稿 | 招聘职位 | About CG Time
Copyright © 2008 CGTime.org Inc. All Rights Reserved. CG时代 版权所有