Echospacec插件帮AE创建三维运动特效
http://tech.ddvip.com 2007年12月27日 社区交流
内容摘要:许多初学者觉得在AfterEffects中创建精确的三维运动是十分困难的工作,需要掌握运动表达式的编写输入。运动表达式算是一种程序语言,表达式的编写需要有JavaScript语言编程基础,对于不了解JavaScript语言的初学者的确是比较困难的。
// shape复制层与shape原始层的Echospace特效Transform方位一致
5、XRotation运动表达式
src=thisComp.layer("shape");
lt=time-1*src.effect("tc Echospace")("Transform Delay [sec]");
src.rotationX.valueAtTime(lt)
// shape复制层与shape原始层的Echospace特效Transform X旋转一致
6、YRotation运动表达式
src=thisComp.layer("shape");
lt=time-1*src.effect("tc Echospace")("Transform Delay [sec]");
src.rotationY.valueAtTime(lt)
7、ZRotation运动表达式
src=thisComp.layer("shape");
lt=time-1*src.effect("tc Echospace")("Transform Delay [sec]");
src.rotation.valueAtTime(lt)
8、Opacity运动表达式
src=thisComp.layer("shape");
rt=time-1*src.effect("tc Echospace")("Repeater Delay [sec]"); lt=time-1*src.effect("tc Echospace")("Transform Delay [sec]"); src.opacity.valueAtTime(lt) + src.effect("tc Echospace")("Opacity").valueAtTime(rt)*1
//shape复制层与shape原始层的Echospace特效Transform透明度一致
同样,系统自动给[001]-[009]null层的位置(Position)、X轴旋转(XRotation)、Y轴旋转(YRotation)、Z轴旋转(ZRotation)属性建立了运动表达式。如图8所示。

来源:天极 作者:陈于平 责编:豆豆技术应用