极影动漫

动漫资讯  |  动漫下载  |  在线漫画  |  在线动画  |  动漫EM/ED  |  繁體中文

极影美术组~壁纸第一集(1440*900)极影新动漫FTP服务器启用4T[招募]极影漫画组 诚招制作人员 火影忍者454
 17 12
发新话题
打印

特效培训第2课,基本代码

特效培训第2课,基本代码

Functions:


\t([<t1>, <t2>, ] [<accel>,] <style modifiers>)
<t>(t1是起始时间,t2是终了时间 单位是ms)
<accel> Modifies the linearity of the transformation (optional)
The following calculation is performed to get the coefficient needed to interpolate between the given style modifiers: pow((t-t1)/(t2-t1), accel), where t is the time offset for the subtitle.
The meaning of <accel>我用了效果不明显那~??)
1: the transformation is linear
between 0 and 1: will start fast and slow down
greater than 1: will start slow and get faster
As an example, using 2 will make growing the letters (by {\fscx200\fscy200}) look linear rather than slowering.

<style modifiers>Any style modifier which can be animated:
\c,\1-4c,\alpha,\1-4a,\fs,\fr,\fscx,\fscy,\fsp,\bord,\shad,\clip (only the rectangular \clip)

eg1{\t(00,1500,\frx360\fry360,\fs15}天香字幕社(注释:在这里<t1>=00, <t2>=1500, <style modifiers>=\frx360\fry360,\fs15)
eg2{\fs10\t([100,200,][2,]\fs20)}天香字幕社

\move(<x1>, <y1>, <x2>, <y2>[, <t1>, <t2>])
<x1>, <y1>(起始位置)
<x2>, <y2>(终了位置)
<t1>, <t2>(起始时间,终了时间)
eg:{\move(50,55,200,55,0,150)}天香字幕社

\fad(<t1>, <t2>)
<t1>, <t2>(t1淡入时间的长短t2淡出时间的长短)
eg:{\fad(400,400)}天香字幕社

\pos(<x>, <y>)    Defaults to \move(<x>, <y>, <x>, <y>, 0, 0)
eg:{\pos(110,60)}天香字幕社

\org(<x>, <y>)    Moves the default origin at (x,y). This is useful when moving subtitles in the direction of rotation.
(移动到原始位置)
eg:{\org(110,60)}天香字幕社

\fade(<a1>, <a2>, <a3>, <t1>, <t2>, <t3>, <t4>)
<a1> Alpha value before <t1>
<a2> Alpha value between <t2> and <t3>
<a3> Alpha value after <t4>
<t1>, <t4> Animation beginning, ending time offset [ms]
<t1> - <t2> Alpha value will be interpolated between <a1> and <a2>
<t2> - <t3> Alpha value will be set to <a2>
<t3> - <t4> Alpha value will be interpolated between <a2> and <a3>
eg:{\fade(100,200,500,100,200,300,1200)}天香字幕社

\clip(<x1>, <y1>, <x2>, <y2>)
Clips any drawing outside the rectangle defined by the parameters.

\clip([<scale>,] <drawing commands>)
Clipping against drawn shapes.
<scale> has the same meaning as in the case of \p<scale>

Drawings:


\p<scale>            
<scale> Turns on drawing mode and sets the magnification level of the coordinates at the same time. Scale is interpreted as two to the power of (<scale> minus one). For example {\p4} and the coordinate (8,16) will mean the same as {\p1} and (1,2). This feature can be useful for sub-pixel accuracy.
If 0, drawing mode is turned off and the text is interpreted as usual.


\pbo<y>   
<y> baseline offset. By default any drawings are positioned on the current baseline. With this value it is possible to move them up or down by <y> pixels. (up: y<0, down: y>0)



Drawing commands:

m <x> <y>            
Moves the cursor to <x>, <y>

n <x> <y>            
Moves the cursor to <x>, <y> (unclosed shapes will be left open)

l <x> <y>
Draws a line to <x>, <y>

b <x1> <y1> <x2> <y2> <x3> <y3>
3rd degree bezier curve to point 3 using point 1 and 2 as the control points

s <x1> <y1> <x2> <y2> <x3> <y3> .. <xN> <yN>
3rd degree uniform b-spline to point N, must contain at least 3 coordinates

p <x> <y>
extend b-spline to <x>, <y>

c
close b-spline

eg1:{\p1}m 30 60 l 100 30 b 200 100 30 60 10 60 s 10 20 30 60 90 90 p 50 190


滚动字幕:
Dialogue: 0,0:03:30.00,0:04:00.00,Default,,0000,0000,0000,Banner;16;0;0,本片仅供试看之用,请于下载后24小时之内删除,禁止用于任何商业用途,如因私自散布造成的法律问题,A9制作组概不负责.


Dialogue: Marked=0,0:00:01.00,0:00:25.00,MainT,,0000,0000,0000,Scroll Up;10;320;50,AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
注意:上面Banner(右到左)里的30是速度(数值越小越慢)。。。
上面Scroll Up(下到上)中的10;10;50分别是上边(数值越小越高),下边(数值越大越底),速度(数值越小越快)。。。
   Scroll Down

{\fs18}{\t(0,2000,1,\fs24)}从字体大小18变换到24



剪接画面:

{\clip(30,30,400,30}{\move(20,30,500,30,0,45000)}www.ktxp.com



{\ clip(20,0,620,40)}






































天香字幕社内部教程(勿传)


\n New line (carriage return)
\n is ignored by SSA if “smart-wrapping” is enabled
eg. This is the first line\nand this is the second

\N New line (carriage return). This is used by SSA instead of \n if (换行)
“smart-wrapping” is enabled.


\b<0 or 1>加粗参数(\b1加粗 \b0 不加粗)                        
eg. There is a {\b1}bold {\b0}word here
                    
\i<0 or 1> 倾斜参数(\i1 倾斜 \i0 不倾斜)
eg. There is an {\i1}italicised {\i0}word here

\u<0 or 1>下滑线参数(\i1 加下滑线 \i0 不加下滑线)   
eg. There is an {\u1}italicised {\u0}word here

\s<0 or 1>滑线参数(\i1 加下滑线 \i0 不加下滑线)
eg. There is an {\u1}italicised {\u0}word here

\bord<width>围边参数
eg. There is an {\bord10}italicised word here

\shad<depth>字体阴影参数
eg. There is an {\shad10}italicised word here

\be<0 or 1>?

\fn<font name>字体参数
eg. 天香{\fn文鼎古印体繁}字幕社

\fs<font size>字体大小参数1   
eg. {\fs16}天香{\fs28}字幕社

\fsc<x or y><percent>字体大小参数2
eg1. {\fscx50}天香字幕社
eg2. {\fscy50}天香字幕社
eg3. {\fscy50}{\fscx50}天香字幕社
eg4.{\fscx200\fscy200}天香字幕社

\fsp<pixels>间隔参数
eg.天香{\fsp3}字幕社

\fr[<x/y/z>]<degrees>旋转参数(很重要)
eg1.天香{\frx120}字幕社
eg2.天香{\fry120}字幕社
eg3.天香{\frz120}字幕社
\fe<charset>文字内码(简体为134)
eg.天香{\fe134}字幕社

\c&H<bbggrr>&颜色参数
eg.天香{\c&HFF&}字幕社

\a<alignment>位置参数1
A value of 1 specifies a left-justified subtitle
A value of 2 specifies a centered subtitle
A value of 3 specifies a right-justified subtitle
Adding 4 to the value specifies a "Toptitle"
Adding 8 to the value specifies a "Midtitle"

eg.天香{\a3}字幕社

\an<alignment>位置参数2
心中最爱的Paladin
这个我看见过滴啊~~~~~~~~发些原创滴,偶是绝对支持滴~~~~~~~~~~
代码有原创的吗? 代码是死的 创意是活的 如果你想找别人要创意的话 那你是不会得到提高的  代码基本就是TOH写的乐 就看你自己怎么去用了~~~
我是说,多看些好的东西,如果连看都没看过,怎么继续吗,就像计算机病毒一样,没有最早的母体出来,怎么有后面的变种病毒呢???
引用:
下面是引用jeffcow110于2005-03-16 18:35发表的:
我是说,多看些好的东西,如果连看都没看过,怎么继续吗,就像计算机病毒一样,没有最早的母体出来,怎么有后面的变种病毒呢???
汗一个 你可以从最简单的开始做起啊 偶学ASS就是先做个10秒的时间轴 然后自己去写代码 先是一句  然后多句 先是很简单的 然后是复杂的 把上面的代码都应用全以后就基本不会也会了 你所说的母体就是上面的代码符号  只要你想拼凑 总能做出来的 偶当初学的时候可是就给偶一个基本的ASS代码表就什么都米管偶的说捏....  然后想象 自己要做什么样的效果 移动 渐隐 旋转 放大缩小 都是在一个10秒的时间轴里实验出来的 做出来一个 其他的无非就是多写几次一样的罢了
上面的基本代码都OK啦``````!~~~
就差那个手动画图有点难度`````````````
那个的却难 得慢慢练的说
那个非常难- -
引用:
下面是引用he47208653于2005-03-16 21:50发表的:
上面的基本代码都OK啦``````!~~~
就差那个手动画图有点难度`````````````
难度不是一点点而已!
本来偶也当绘图就这点东西而已
但当看到ANT做的那个死神的LOGO和名单时候觉悟了 - -
ASS绘图我玩不起... [s:19]
偶看见画AIR的那个LOGO的时候就觉悟了  宁可学AE也不用ASS画
 17 12
发新话题