Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Drawing X-splines

From: mocha 2.6 Essential Training

Video: Drawing X-splines

Here we'll take a look at drawing rotos using the X-Spline, one of the two spline types available in mocha. We'll learn about the Planar Tracker in lesson two, but for now we'll start by understanding how to roto in mocha manually. First, we'll need to load a clip. You can come up to the File menu and say New Project or you can use little icon here. It gets you the same thing. You get the New Project browser. We'll be looking at how to set up this New Project page later. Right now all we have to do is choose the pathname to where we want to go.

Drawing X-splines

Here we'll take a look at drawing rotos using the X-Spline, one of the two spline types available in mocha. We'll learn about the Planar Tracker in lesson two, but for now we'll start by understanding how to roto in mocha manually. First, we'll need to load a clip. You can come up to the File menu and say New Project or you can use little icon here. It gets you the same thing. You get the New Project browser. We'll be looking at how to set up this New Project page later. Right now all we have to do is choose the pathname to where we want to go.

So wherever you have your Exercise Files, go to the Lesson_01_Media and select the Laptop. All you have to do is click on any one frame in the clip and click Open. We're all set. So now we can click OK. We'll need a little bit of screen navigation here so let's take a look at a couple of tools. Right up here, this little hand, that's the Pan and the magnifying glass, of course, is the Zoom. We also have quick keys, of course, which you're going to want to use really.

Hold down the X key to pan; hold down the Z key, click-and- drag vertically to zoom in and out. Also, there is the Asterisk (*) key which zooms the picture to fill the window and the Forward Slash (/) key which zooms the viewer down to 1:1. So let's draw in an X-Spline. Here is the X-Spline here, the B-Spline there. We will be taking a look at that guy in just a bit. We'll click on the X-Spline tool and just click, click, click here, there, over here, and then right-mouse button to close.

If you go to any tension handle you can do a right-mouse click and adjust the tension of all them at the same time. However, if you go to just one of them, click-and-drag on that one with the left-mouse button, then you can adjust the tension of just that one. And of course, if you have several of them selected, Cmd+Click to select another one. The left-mouse button will now adjust those two. So left-mouse button adjusts the tension of all the selected points. Right-mouse button adjusts the tension of all the points.

We'll put that back to a sharp edge so we can play with each point individually. You notice we have these zoom windows over here. They're designed to give you close-up view of whichever control point you're on and you can turn the zoom window on and off right here. We'll turn that one off for now. Another tool for helping you see your splines is the viewer brightness right here. If you click on this you can then draw a little circle around with your left-mouse cursor and darken it down or brighten it up, make it easier to see parts of the picture.

When you click away it remembers that number. Click back on the icon and it restores the viewer to the default gamma, click it a second time it goes back to yours. So we'll put that back to default. So let's adjust the control points. I am going to use the Z key to zoom in, click-and-drag, X key to pan. We'll adjust this point here and I'll get in real tight and adjust the tension of that point so I have a nice rounded corner. Most objects don't have sharp corners so you are invariably going to put a round corner in almost everything.

Pan over here and take a look at this one. Now this actually has two corners. So I need to insert another control point. To do that I come up here and I select the Insert tool. Notice the cursor changes to that little plus (+). So I can click-and-drag. I'm going to insert a point. I move off, I get the selection cursor. If I click-and-drag over here I'll get another point. To delete a point just select the point and hit the Delete key. Now I can adjust the tension of these two corners individually. I'll zoom in a little closer with Z and I'll relax the tension on that corner.

Now this isn't doing what I want. See, it has a nice sharp bend here, but then it has this gradual slope over there. That's because the next control point way over here is so far away the tension is not the same as this point over here. So we can fix that by using the Insert control point tool to add a second control point approximately the same distance away as this one. Watch this; I click on here and now the tension adjustment is symmetrical, because this locks it and that locks it.

We'll have the same problem right here. I try to round this corner and you see I'm getting this big slope. So I'm going to do same thing here. I'm going to insert a control point. So when I lay my cursor on the spline I get that little insertion logo. So I'll click-and-drag and put a new point right about there. I'll adjust this guy in and I can now adjust his tension and you see the curvature is now uniform between these two control points here. Let me adjust that up a little bit. Alright, let's go and look at some of other corners.

I am going to hit the Asterisk (*) key to zoom out and the Z key to zoom in down here to see what we got. X to pan. We'll slide this point right up here and I'll adjust the tension and get a nice rounded corner there that matches the case. That looks good. We'll pan over here. I'll select these two points and position them over here. Let's zoom in on this guy and see what we got going.

Once again we need to pull little radius on here, no sharp corners. So what I'll need is another control point here that's approximately the same distance away as this one, because once again watch what happens when I adjust the tension. You see, the slope is not even. So I'll insert a point, there is my insertion cursor, click here and now I get a nice uniform rounded corner. Again, I'm going to have the same issue here, because this control point is way down there.

So again I'll click and position a control point approximately the same distance away as that one, and now I can adjust the tension here for a nice rounded corner and everything looks very nice. Now the last point we have is over here. Now this is one place where you'll have a nice sharp point, because this is actually the intersection between two planes. So I am going to turn on my darker cursor so I can see this is the vase, that's the edge of my monitor, but when you get zoomed in this tight it's kind of hard to see.

Of course, this also has some motion blur and maybe some depth of field issues. So I'll hit the Asterisk (*) key now to zoom out to fill the frame. I'll click off to the side to deselect and now I can see my spline in purple outline. Like most clips this one has a lot of soft edges. To deal with that, mocha provides two splines, an inner and an outer. The tools for editing them are up here. The B tool which is selected by default; we select a point down here and we'll zoom in to see how that works.

The B tool, of course, is to move both points. We picked that up and both points are moved together. If we select the I tool, that's the inner, and that pulls in the inner splines. So in here it's solid, out here it's clear, and this is a transition zone, a soft edge. The E tool moves just and only the edge point. The A tool will move either point, depending on which one you're clicking on. Again we go back to the B tool and it'll move both points at the same time.

When we deselect the spline it only shows the one spline which is the inner edge. This helps eliminate screen clutter. Now I'll rehome the viewer with Asterisk (*) key.

Show transcript

This video is part of

Image for mocha 2.6 Essential Training
mocha 2.6 Essential Training

49 video lessons · 7727 viewers

Steve Wright
Author

 
Expand all | Collapse all
  1. 5m 23s
    1. Welcome
      1m 40s
    2. Getting to know the user interface
      3m 43s
  2. 1h 7m
    1. Drawing X-splines
      8m 2s
    2. Drawing B-splines
      5m 4s
    3. Editing splines
      3m 52s
    4. Keyframing splines
      6m 33s
    5. Discovering the timeline controls
      5m 52s
    6. Walking through the New Project window
      4m 23s
    7. Working with interlaced clips
      8m 19s
    8. Setting the color space
      4m 46s
    9. Defining mocha preferences
      3m 46s
    10. Walking through the Layer Control panel
      3m 22s
    11. Walking through the Layer Properties panel
      3m 29s
    12. Viewing mattes
      3m 41s
    13. Walking through the Edge Properties panel
      6m 24s
  3. 1h 8m
    1. A planar tracking demo
      6m 36s
    2. Setting motion options
      13m 12s
    3. Adjusting the tracking spline
      8m 51s
    4. Tracking awkward surfaces
      6m 3s
    5. Understanding the planar grid
      6m 50s
    6. Dealing with lens distortion
      7m 43s
    7. An AdjustTrack demo
      5m 49s
    8. Keyframing the AdjustTrack
      7m 48s
    9. Offsetting reference points
      5m 49s
  4. 1h 8m
    1. Strategizing shape distribution
      11m 21s
    2. Working with large areas
      2m 44s
    3. Selecting a start frame
      10m 38s
    4. Replacing a shape
      2m 54s
    5. Keyframing: Bifurcation
      4m 38s
    6. Keyframing: Straight ahead
      5m 17s
    7. Keyframing: Extremes
      9m 22s
    8. Keyframing: Maximum digression
      6m 45s
    9. Converting to stereo
      2m 54s
    10. Inspecting your rotos
      4m 43s
    11. Rendering mattes
      4m 45s
    12. Exporting shapes
      2m 54s
  5. 1h 30m
    1. Moving the camera with parallax
      5m 30s
    2. Moving the camera without parallax
      3m 58s
    3. Using multiple splines in a layer
      7m 23s
    4. Subtracting shapes
      7m 6s
    5. Stabilizing the viewer
      5m 46s
    6. Keyframing during tracking
      7m 24s
    7. Unlinking the tracker
      5m 8s
    8. Tracking manually
      12m 35s
    9. Defining corner pinning
      5m 4s
    10. Going further into the Track tab
      6m 53s
    11. Utilizing the more advanced AdjustTrack features
      8m 40s
    12. Working with the Stabilize tab
      6m 11s
    13. Exporting track data
      8m 53s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed mocha 2.6 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.