Originally Posted by MorphineX
--------------------------------------------------
16) {\t([<t1>,<t2>,][<accel>,]<style modifiers>)}
--------------------------------------------------
This function deserves a mini section for itself. Transform is the most powerful tool that could be used with many other style modifiers, they include:
\c,\1-4c,\alpha,\1-4a,\fs,\fr,\fscx,\fscy,\fsp,\bord,\shad,\clip
What transform does, is that it calculates various points between the current setting and the change that will happen with <style modifiers>. Creating a short animation of the transformation from the original to the new override.
The [<t1>,<t2>,] is a very useful option that you could add. Without this, the transformation will start from the "start time" and end at the "End time" specified by the timing of the line. With it, it'd start from <t1> (offset from "Start Time" in ms) and continues for <t2> length of time.
The [<accel>] is also an optional value that if it is between 0 and 1, the transformation starts fast and ends slow. If its greater than 1, it'd start slow and ends fast. It would always be balanced since a set amount of time is given to the transformation to be finished.
<style modifers> is not an optional value and must be set. I'd give what each style transformation will do.
\c = changes from the original color to the new color
\a = gradually disappear or reappear
\fs = the font size gradually grows or shrinks
\fr = the word rotates to the new degree set
\fscx = the word shrinks or grow fatter gradually
\fscy = the word grows shorter or taller gradually
\fsp = the word goes apart or comes together gradually
\bord = the word gets more border or less border gradually
\shad = the word's shadow comes closer or goes away further gradually
\clip = the area thats being clipped happens slowly
The coolest thing about transformation is the ability to do as many transformation as you like in a given SSA line. You can make a word shrink, blow up, disappear, reappear, change color, glow, rotate all over the place in one single line (an example of this in the next section). You can also use [<t1>,<t2>,] to make transformations happen in sequences in a given line. The start time is 5 second and the end time is 15 seconds. Within this 10 second frame, in the 1st second, you can make the word grow, in the 2nd second, you can make the word return to the original shape then start rotating, in the 3rd second, you can make the word rotate in another axis as you make the word shrink while it disappears. Imagine the possibilities.
Another cool thing is to use {\r} in conjunction with {\t} transformations. In a karaoke, sometimes, you want something to only happen to one single word, and not all of them. With {\r} you could make the transformation happen to the first word of the sentence only!
|