Activity › Forums › Adobe After Effects › How to smoothen text path of a tracked shot
-
How to smoothen text path of a tracked shot
Posted by Sascha Engel on January 30, 2012 at 11:43 amHi,
following problem: I i have a long pan shot which I tracked with 4 different Motion Trackers on Null Objects, parented to each other.
I parented my text to that Master Null, it’s following the path nicely, but to detailed, so the text is a bit wobbly.
How can i smoothen the path of the text out, so it basically follows the tracking, just not in such a detail.
Thanx a lot for help.Sascha
Sascha Engel replied 14 years, 7 months ago 3 Members · 17 Replies -
17 Replies
-
Michael Szalapski
January 30, 2012 at 2:49 pmTry a smooth() expression.
– The Great Szalam
(The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.
-
Sascha Engel
January 30, 2012 at 2:56 pmPfff, I admit, I am a mess when it comes to Expressions, even look at that site will take me a while to under stand. Could you be so kind and tell me what expression, I have to insert to what Parameter. Thank you so much.
Sascha
-
Michael Szalapski
January 30, 2012 at 5:03 pmFrom the page I linked:
smooth(width=.2, samples=5, t=time) Return type: Number or Array. Argument type: width, samples, and t are Numbers.
Smooths the property values over time, converting large, brief deviations in the value to smaller, more evenly distributed deviations. This smoothing is accomplished by applying a box filter to the value of the property at the specified time. The width value is the range of time (in seconds) over which the filter is averaged. The samples value is the number of discrete samples evenly spaced over time; use a larger value for greater smoothness (but decreased performance). Generally, you’ll want samples to be an odd number so that the value at the current time is included in the average. Example:position.smooth(.1, 5)Note the example at the bottom. Apply that sort of expression to any parameter you need to be smoothed.
– The Great Szalam
(The ‘Great’ stands for ‘Not So Great, in fact, Extremely Humble’)No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.
-
Sascha Engel
January 30, 2012 at 8:18 pmNow I have to ask really stupid:
In the page they describe three parameters in brackets,
in the example below it’s two – how many is it now?
Where do I ad the expression? Any parameter possible that has to be smoothened?Sascha?
-
Sascha Engel
January 30, 2012 at 8:29 pmgot it I think-work! Thanx.
Still don’t understand what is the third number in the bracket for.Sascha
-
Sascha Engel
January 30, 2012 at 8:34 pmHow is it possible to only apply the smoothing to the y-value, not the x?
At the moment I just know how to put it to Position, but then it work for x and y.Sascha
-
Sascha Engel
January 30, 2012 at 8:48 pmI alos think I do not see much of an effect, since I applied it to position, and the position value is not changing.
The text layer is parented to the tracked Null Layer. -
Roland R. kahlenberg
January 31, 2012 at 1:19 amMost loose tracks will not benefit from the smooth Expression method as it lacks the desired control that you will require for getting a locked-on track.
I suggest that you re-track AND/OR average the results of multiple tracks. Additionally, if you posted the original clip and the result of your track and let us know what it is that you actually tracked and include the shape(s) that were used in the tracking exercise, we should be able to provide a more concise solution for you.
HTH
RoRKIntensive AE & Mocha Training in Singapore and Malaysia
Adobe ACE/ACI (version 7) & Imagineer Systems Inc Approved Mocha Trainer -
Sascha Engel
January 31, 2012 at 5:35 amHi Roland,
I think the tracking is fine. But yes, maybe I’d should attach the expression to the actual Null Layers that carry the tracking data.
What I did again in a nutshell: I have a Pan shot from left to far, which needs several times new track points. I have have the whole shot split in 4 segments, and parented those 4 Nulls carrying the tracking data together. That worked just fine. But the Pan is of an extremely zoomed shot, so specially in the vertically plane it moves a bit up and down. I have a simple text tool title, that I then attached to the tracking data of the Nulls.
All works well, just the tracking data is too detailed so the text is making also little y axis changes doing the trip, which are unpleasant for the eyes. So, I wanted to smoothen the the y coordinates. Maybe I simply do the smoothening to the tracking data on the Nulls then?Thanx.
Sascha
-
Roland R. kahlenberg
January 31, 2012 at 6:31 amYou are right Sascha, the smooth Expression method has to be placed on the property with keyframes.
Try this script –
Scalar = smooth(2,20);
(value[0],Scalar)
// End of ScriptHTH
RoRKIntensive AE & Mocha Training in Singapore and Malaysia
Adobe ACE/ACI (version 7) & Imagineer Systems Inc Approved Mocha Trainer
Reply to this Discussion! Login or Sign Up