Animate Hide Edge / Line (workaround)

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
User avatar
neeters_guy
Posts: 1559
Joined: Mon Sep 14, 2009 7:33 pm
Contact:

Animate Hide Edge / Line (workaround)

Post by neeters_guy » Fri Sep 18, 2015 6:37 pm

Currently you cannot animate the Hide Edge property, as in this example:
Image

There are various workarounds to emulate this. Some suggestions can be found here: Animate Hide Edge?

It occurs to me with the addition of animated shape ordering in v.11, you could make the segments their own shape (naming them helps tremendously) and move them below a larger shape to hide them. This diagram shows it better than I can explain:
Image
NOTE: The bottom part is illustrating the shape order only. Shapes can share points, so this isn't 20 points (5 sets of 4 points), but only 4 points. Also, the base shape has a stroke with the same color as the fill.

To make this work, in the layer settings, under General, enable "Allow animated layer effects' and under Vectors, enable "Animated shape order".

Here's one example of how this might work in the shoulder area, using a smart bone actions in the upper arm:
Image

It's kind of an obvious thing really, but I hope this is helpful anyway.
User avatar
synthsin75
Posts: 7043
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by synthsin75 » Sat Sep 19, 2015 1:27 am

Good idea, and nice results. Sometimes animated point width just isn't the desired effect.
- Wes
ImageImageImage
User avatar
neeters_guy
Posts: 1559
Joined: Mon Sep 14, 2009 7:33 pm
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by neeters_guy » Wed Oct 21, 2015 4:52 am

After playing around with this, one of the problems is that the hidden line shows artifacts due to antialiasing. Hmm... :oops:
funksmaname
Posts: 3107
Joined: Tue May 29, 2007 11:31 am
Location: Nelson, New Zealand

Re: Animate Hide Edge / Line (workaround)

Post by funksmaname » Wed Oct 21, 2015 5:27 am

what about stroke exposure? you can start it from either end using the alt key...
Image
User avatar
neeters_guy
Posts: 1559
Joined: Mon Sep 14, 2009 7:33 pm
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by neeters_guy » Wed Oct 21, 2015 6:38 am

I didn't know about the alt-key. This opens up some possibilities. Thanks!
User avatar
neeters_guy
Posts: 1559
Joined: Mon Sep 14, 2009 7:33 pm
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by neeters_guy » Wed Oct 21, 2015 6:04 pm

After some fiddling, this turned out to be easier that I thought. :) Being able to expose the line in two directions is really useful. Here's an example of a turning nose.

Image

It's basically a smart bone action using a combination of point motion, stroke exposure, and animated shape ordering.

Thanks, Funks!
User avatar
Greenlaw
Posts: 4310
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by Greenlaw » Wed Oct 21, 2015 8:45 pm

Oh! I didn't know about the Alt key shortcut or even that you could click and drag directly on the artwork itself for the exposure effect. Well, maybe I knew at one time but totally forgot the other day when I was doing something similar and I had been dialing in the values manually. :P

Thanks for the tip! That's a big time saver for me.

@neeters_guy, the effect on the turning nose looks great!

G.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2017
Lead Digital Animator, Dreamworks Animation

Image
funksmaname
Posts: 3107
Joined: Tue May 29, 2007 11:31 am
Location: Nelson, New Zealand

Re: Animate Hide Edge / Line (workaround)

Post by funksmaname » Wed Oct 21, 2015 10:12 pm

Agreed, the nose looks very nice! :)
User avatar
synthsin75
Posts: 7043
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by synthsin75 » Thu Oct 22, 2015 12:22 am

Great tip Danny, and great result Neeters.
- Wes
ImageImageImage
User avatar
strider2000
Posts: 432
Joined: Sat Mar 07, 2015 5:14 pm
Contact:

Re: Animate Hide Edge / Line (workaround)

Post by strider2000 » Thu Oct 22, 2015 2:04 am

Cool. I didn't know about the alt key either :o (I guess for ASP, when in doubt press the alt key :o)
I've been wanting the stroke exposure, mainly for shoulder joints in body turns, but the best I could come up with was reference layers with different exposures on each. The shape ordering idea and the alt key are nice tools for the toolbox :)
My new website (just getting started) | M1 Characters for Moho
WatchMotion
Posts: 8
Joined: Sun Feb 04, 2018 4:47 am

Re: Animate Hide Edge / Line (workaround)

Post by WatchMotion » Thu Mar 28, 2019 3:18 pm

I know this is an old threat but I was wondering if it was possible to change the start and end points for stroke exposure? I guess change to start/root point of the shape itself? Or perhaps offset the stroke like you can in After Effects with trim paths?

Nevermind found the solution thanks to this thread:
https://www.lostmarble.com/forum/viewto ... nt#p138948
Post Reply