New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

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

Replacing a shape

From: mocha 2.6 Essential Training

Video: Replacing a shape

Sometimes a target object changes shape so dramatically that using the same shape on it, no longer makes sense. A solution is to crate an altogether new shape, but the key is to smoothly blend the transition between the two. So here is the case we would be looking at now. You can follow along using the replace shape Mocha Script in the Project Media folder. Let's zoom in a little bit. If we look at this hand, from this frame here it has a one shape, but the other end of the clip it has an entirely different shape.

Replacing a shape

Sometimes a target object changes shape so dramatically that using the same shape on it, no longer makes sense. A solution is to crate an altogether new shape, but the key is to smoothly blend the transition between the two. So here is the case we would be looking at now. You can follow along using the replace shape Mocha Script in the Project Media folder. Let's zoom in a little bit. If we look at this hand, from this frame here it has a one shape, but the other end of the clip it has an entirely different shape.

Trying to transition between those two extremes would be too difficult. So what we will do is, we will start at this point, create this shape, here are my control points, you see lots of control points and then at the other end of the clip, we will transition to this shape, which has a completely different set of control points. For this shape, we would start at the end of the clip and roto backwards, for the other shape we would start where we were and roto forward.

Now we need to meet in the middle. I'll select that. As you can see the problem with the first shape is when we start here, start to roto forward, see all those control points, well, now we get a much simpler outline and all the control points bunch up. It becomes difficult to get a smooth, clean line. So we need to switch to a new shape that has far fewer points. So I have added a third transitional shape here and it has far fewer control points.

You can see here there are very few control points on this side, if we go back to the other shape, lots of control points on this side. So this shape is much more appropriate for the target than either of the two extremes. Deselect over here and now you can see the sequence. This is shape 2. we would roto this one backwards, go to the transition shape and then go to the first shape, which we had roto forwards. I will set an end point here so you can see all three shapes transitioning back and forth.

Okay, let's see what the rendered map would look like, I have already done the render and I rendered it to disk with the Motion Blur turned on. So let's take a look at that. Here we are. So this is what all three shapes look like with Motion Blur and transition and everything enabled. We will return back to our clip, and close with this. When switching between two shapes, if the transition frames are a bad fit, then consider adding a third transitional shape.

It may actually be less work than struggling with two inappropriate shapes.

Show transcript

This video is part of

Image for mocha 2.6 Essential Training
mocha 2.6 Essential Training

49 video lessons · 7702 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

Are you sure you want to delete this note?

No

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.