After Effects表达式之特效专辑(6)
来源:辽宁影视动画制作工厂 作者:未知 发布时间:2010-09-30 10:07:58 网友评论 0 条
3. 给位置加表达式:
tMin = .25; //minimum segment duration
tMax = 1.0; //maximum segment duration
minVal = [0.1*this_comp.width, 0.1*this_comp.height];
maxVal = [0.9*this_comp.width, 0.9*this_comp.height];
end = 0;
j = 0;
while (time >= end){
j ++;
seed_random(j,true);
start = end;
end += random(tMin,tMax);
}
endVal = random(minVal,maxVal);
seed_random(j-1,true);
dummy = random(); //this is a throw-away value
startVal = random(minVal,maxVal);
ease(time,start,end,startVal,endVal)
4. 然后给scale加表达式:
tMin = .25; //minimum segment duration
tMax = 1.0; //maximum segment duration
minVal = 25;
maxVal = 70;
end = 0;
j = 0;
while (time >= end){
j ++;
seed_random(j,true);
start = end;
end += random(tMin,tMax);
}
s = random(minVal,maxVal);
endVal = [s,s];
seed_random(j-1,true);
dummy = random(); //this is a throw-away value
s = random(minVal,maxVal);
startVal = [s,s]
ease(time,start,end,startVal,endVal)
- 2010-10-02
- 2009-10-13
- 2009-10-13
- 2010-01-05
- 2010-10-02
- 2010-08-29
- 2009-10-13
- 2009-10-13
- 2009-10-13
- 2009-10-13
- 2010-09-13
- 2009-10-13
- 2009-10-13
- 2009-10-13
- 2010-02-09
关于我们 | 联系方式 | 广告服务 | 免责条款 | 内容合作 | 图书投稿 | 招聘职位 | About CG Time
Copyright © 2008 CGTime.org Inc. All Rights Reserved. CG时代 版权所有