![]() How To Make Your Own Adobe Premiere Filters Page 3 of 5 Example 1: hue shifting Just to start off, so you can see that this thing actually works, go into the Filter Factory in Premiere and set the R, G and B text fields to ctl(0), ctl(1) and ctl(2), respectively. Then play around with the first three sliders. Notice something? You're just getting solid colors. But when you move the sliders back and forth, the color changes depending upon the value for each channel. Neat, but useless. So let's add in some practicality. This time we're going to try a hue shift. All we have to do for this is is take the default value of each cannel and add or subtract some slider values. So the red channel, for example, will read "r+(ctl(0)-ctl(1))." Try entering the formulas you see below.
Using the first six sliders—ctl(0) though ctl(5)—to create a hue shift filter. That's a hue shift filter. All it's saying is take the numeric value of the red, green and blue channels and add one slider value while subtracting another. In the case of red, we have the first slider—ctl(0)—minus the second slider—ctl(1). So whenever ctl(0) and ctl(1) are equal, you wind up with your original channel value. When ctl(0) is at 0, then ctl(1) is subtracted from the initial channel value. When ctl(1) is at 0, then ctl(0) is added to the initial value.
Video hue-shifted using Filter Factory. You've just written your first filter. It doesn't do much, but it is keyframable, so you can cycle through hues just by changing the slider values as various keyframes. If you want, you can now save this filter to be used later. (See below for further instructions.) Example 2: channel shifting That wasn't so painful. Now let's try building upon this. Instead of changing the intensity of the individual channels, let's instead change the position of their pixels. In other words, we're going to separate the channels to achieve a sort of bad video effect that will have a look similar to a 3D movie. Here, instead of using the values r, g and b in our R, G and B fields, we're going to use "src." To accomplish this, we need only state the x and y coordinates to which we want each channel's pixels to move—dynamically and interactively, of course.
The channel-shift effect. Your formula will look like this for the R channel: "src(x-ctl(0),y-ctl(1))." This will allow you to shift the pixels in the R channel a number of pixels equal to the value of the first two sliders, ctl(0) and ctl(1). Try entering these formulas:
Using the first six sliders—ctl(0) though ctl(5)—to create a limited channel shift filter. Prev 1 2 3 4 5 Next Related Forums: Related DMN Channels: Creative Mac Digital Media Designer [an error occurred while processing this directive] ![]() |
|