Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple Motion Generating an outline for masked/keyed objects?

  • Generating an outline for masked/keyed objects?

    Posted by Phil Williams on March 8, 2010 at 3:35 pm

    Is there a straightforward way of generating an adjustable outline around any masked or keyed object? ISTR being able to do this with vision mixers (switchers) back in the old days 🙂

    For example, I often bring custom-designed text in as vector image files, and I want to be able to apply and adjust an outline in the same way as if I had typed the text within Motion itself. Do I just have to duplicate the image and resize/tweak the background one?

    Mark Spencer replied 16 years ago 5 Members · 18 Replies
  • 18 Replies
  • Noah Kadner

    March 8, 2010 at 7:43 pm

    Not sure what you’re asking- you can easily draw a variety of different mask shapes and types in Motion with the Mask drawing tools.

    Noah

    Check out my book: RED: The Ultimate Guide to Using the Revolutionary Camera!
    Unlock the secrets of 24p, HD and Final Cut Studio with Call Box Training. Featuring the Sony EX1 Guidebook, Panasonic HVX200, Canon EOS 5D Mark II and Canon 7D.
    Watch Formosa- My indie movie shot with the SDX900 and finished with Final Cut Studio.

  • Phil Williams

    March 8, 2010 at 8:50 pm

    Sorry I wasn’t clear. I was asking if there’s a straightforward way of achieving a variable-thickness outline on *any* object I import – as far as I can see, only shapes and text objects generated within Motion have a specific “outline” functionality in the Inspector. It’s obviously possible to apply drop shadows to other objects, but a drop shadow is something distinctly different from an outline.

    Drawing masks is not really an option, because I would like the ability to create outlines for complex images (such as things created in Illustrator or Photoshop) that would take a painfully long time to mask accurately.

    I’ve tried applying the Outer Glow filter, but that’s not really what I need. A plugin that was able to generate an adjustable outline using an image’s alpha channel, and preferably with a choice of Colour, Gradient or Texture (as with the text and shape outline controls) would be perfect.

    EDIT – let me put it another way. Say I draw an irregularly-shaped mask and apply it to some video, but then I want that mask to have a visible coloured outline (let’s say yellow) – how do I do that? Do I have to duplicate the mask, apply it to a yellow solid, place that solid behind the masked video, then resize the solid so that it becomes visible around the edges of the first mask? Or is there a more efficient way?

  • Noah Kadner

    March 9, 2010 at 2:33 am

    Try the choke/matte filters- play with the feathering. But it sounds like you would want to draw your own masks for that sort of effect.

    Noah

    Check out my book: RED: The Ultimate Guide to Using the Revolutionary Camera!
    Unlock the secrets of 24p, HD and Final Cut Studio with Call Box Training. Featuring the Sony EX1 Guidebook, Panasonic HVX200, Canon EOS 5D Mark II and Canon 7D.
    Watch Formosa- My indie movie shot with the SDX900 and finished with Final Cut Studio.

  • Phil Williams

    March 10, 2010 at 4:42 am

    [Noah Kadner] ” it sounds like you would want to draw your own masks for that sort of effect”

    If so, that’s one of the infuriating aspects of Motion – it offers some fantastic tools for simplifying complex tasks, but then forces you to employ incredibly time-consuming ways of achieving what should be extremely simple tasks.

    After all, thinking logically, if Motion can generate a drop shadow for any object (not just text or shapes), it should be able to generate an outline for any object too.

  • Andy Neil

    March 10, 2010 at 7:14 am

    The easiest solution is to draw the mask as a shape using Motion’s shape tool. You can use the shape as a mask by applying the image mask to the layer you want to mask and using the shape as the source.

    Then duplicate your shape and change the duplicate from fill to outline.

    Andy

  • Phil Williams

    March 14, 2010 at 8:10 am

    [Andy Neil] “The easiest solution is to draw the mask as a shape using Motion’s shape tool”

    This is my issue, though… I’m often dealing with extremely complex images created in other applications, which you’d sooner slit your wrists than try and manually draw a mask or shape around. What’s even more annoying is that these images typically have their own alpha channel, but there appears to be no way to use that to generate an outline.

    I guess the frustration comes from a background working with vision mixers and DVEs in a linear tape suite, where you could easily generate an outline around any image that had a key signal/alpha channel. And as I say, if Motion can generate a drop shadow around any object, then it shouldn’t be difficult from a coding perspective to generate an outline too. I guess it’s something they just didn’t think to do for anything other than text or shapes created inside Motion.

  • Andy Neil

    March 14, 2010 at 5:38 pm

    Well, if you’re dealing with complex images in Illustrator, then there’s a possible solution.

    There is a script available that exports Illustrator layers as shape layers in Motion. From there you’d be able to turn off the fill and add an outline to the shape.

    If the image was created in Photoshop, then import that into Illustrator and convert it to vector and apply the same script.

    Andy

  • Mark Spencer

    March 14, 2010 at 5:54 pm

    Except the script will only export simple shapes, no compound paths. But I think you can still make an outline out of an image with an alpha channel – seems like there must be a way – must noodle on this a bit.


    Mark Spencer
    Freelance Producer/Editor/Motion Graphics Artist
    Apple-certified Master Trainer
    Author, Motion 4 from Peachpit Press
    https://www.applemotion.net

  • Mark Spencer

    March 15, 2010 at 5:43 pm

    Ok, here’s how you can do it:

    1) Add your image that has transparency.

    2) Add the Channel Swap filter and set all the channels to Alpha to create a solid white shape

    3) Add the MinMax filter and duplicate the layer.

    4) On one layer, set the MinMax to Minimum and adjust to shrink the shape slightly.

    5) On the other, set the MinMax to Maximum and adjust to expand the shape slightly.

    6) Group the layer with the Maximum setting, add an Image Mask to the group, and drag the other layer to the well in the HUD, then click the Invert checkbox.

    There you go, an outline of the alpha channel – and it’s completely adjustable through the MinMax filters.

    You could save the group containing all the layers to the Library so you just need to swap out the image for your next one.


    Mark Spencer
    Freelance Producer/Editor/Motion Graphics Artist
    Apple-certified Master Trainer
    Author, Motion 4 from Peachpit Press
    https://www.applemotion.net

  • Mark Spencer

    March 16, 2010 at 2:30 pm

    Here’s a movie that shows the procedure:

    https://www.youtube.com/watch?v=V9s6c2hScMY


    Mark Spencer
    Freelance Producer/Editor/Motion Graphics Artist
    Apple-certified Master Trainer
    Author, Motion 4 from Peachpit Press
    https://www.applemotion.net

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy