Join Nick Harauz for an in-depth discussion in this video Tracking effects with integrated Mocha, part of Sapphire for Video Editors.
- [Instructor] New in Sapphire 11 comes your ability to use Mocha directly inside the majority of Sapphire Effects that come within your library. Basically allow you to track things and mask them on the screen as you see fit. So let me just show you one example of how we can use Mocha in Sapphire Effects on this particular race car. What I'd just like to do is add a glow effect and isolate that glow effect specifically to these tail lights or these head lights that we see here. So I'm going to do a search like we've done before, I'm going to press Shift + 7 if I'm not seeing my Effects tab.
By the way, this chapter 1-5 sequence that's opened up is available in the Project Panel, Shift + 1 to bring that up, and then you can load in the exercise files from the chapter one folder. Under the Effects tab, I'm going to do a search for 's_glow', and if I apply it to the one clip here in my chapter 1-5 timeline, what we can see is the glow is basically spread out everywhere. The first thing is a want to bring up the brightness so that you can see this quite a bit. I'm also going to bring down the threshold, maybe not so much that it's entirely blown out, but you can clearly see that the glow is everywhere.
In fact, let me just bring that down just a little bit. It's everywhere, but it's definitely effecting the head lights, but that's really all I want it to effect. So this is where I can use Mocha to essentially only mask this effect to a particular part of the frame, and I can track that mask across the screen. One thing that you've got to keep in mind is that Premier Pro does have masking capabilities. I can add an ellipse, I can add a rectangle, I can actually add a free draw Bezier. However, these are point based masks, they are meant for rigid objects in many cases, and the flexibility is a little bit less in terms of what you might get with Mocha.
So let's go inside and edit Mocha. Once I enter inside, I get a little Mocha timeline here at the bottom where I can sort of scrub across and be able to view my clip from its first frame to its last frame. In order to select the area that I want to isolate the glow to, I want to use what's called the X-blind tool, this is the ability in Mocha to draw masks, and it is the easiest tool for you to use. So I'm going to the first frame of this project, I'm going to select the X-blind tool, and just to show you, I am going to draw a shape.
I'm not going to make it perfect, but just clicking and closing out that shape. Once I Control + A, I can actually select all the points, and with them all selected, I can make them extremely straight or I can bring them in to have some curves across these shapes. So there's my shape, and how it tracks is all down here. Because it's so small, it's going to use a lot of pixels. If it was a bigger shape, it would use less pixels across the screen. And I want to keep in mind, it's tracking this texture, it's tracking everything within the shape.
Right now, by default, it's selecting, or basically tracking Shear all the way down to Translation. I'm in this case going to track perspective, and it's tracking large motion, because there is a fair deal of motion in the shot. With these default settings selected for the track, I am going to press the Track Forward button, and Mocha is going to do the rest. Until it kind of runs off screen, but it's done a pretty good job, as you can see, of tracking that object. When we drew out this X-blind, a layer was created over here on the left hand side.
And I like to name my layers, so if I double click, I'll name that 'Light Left'. And I'll give the outline a different color, I'm going to give it a green shape and press 'OK'. Now the magic of this is this represents the area that is essentially where the glow is going to show up. So if I close down Mocha and chose to save this project, what we'll see is that the glow is actually isolated only to this left side head light. Just to show that a bit better, I want to increase the threshold and bring up the brightness quite a bit just to dramaticize this effect.
And the best part is it's moving with it, which is just awesome. Here's an example of one way of just isolating a Sapphire Effect to a particular portion of your frame, and the object that we added to it was moving. So I was able to do this really simply, really fluidly, and really quickly with the help of Mocha being built in to the several effects that are inside Sapphire, in this particular case, glow. Now if you're curious to learn more about Mocha's integration with Sapphire Effects learning how we can do things like have lens flares on our screen and other items, I suggest that you check out chapter six a little bit later where we're unleash even more about using Mocha for these particular tasks.
- Getting started with Sapphire
- Essential parameters
- Working with presets
- Adding transitions
- Creating photo-realistic lens flares
- Adding backgrounds and textures
- Building custom effects
- Working with Mocha