Wondering how to accomplish a certain animation task? Ask here.
Moderators: Víctor Paredes , Belgarath , slowtiger
ktron
Posts: 18 Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW
Post
by ktron » Tue May 18, 2010 8:25 pm
Trying to get a PNG of textured hair to animate while dropping a shadow only onto the face, not onto other elements in the scene.
Is there a sane way to get the hair-shadow to match the hair-animation?
Example scene "HairAnimateShadowLocal-1a.anme" has two hair levels, one animated, one masked but not animating:
http://www.leaping.com/HairAnimate/Hair ... wLocal.zip
Last edited by
ktron on Wed May 19, 2010 2:47 pm, edited 1 time in total.
ktron
Posts: 18 Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW
Post
by ktron » Tue May 18, 2010 8:36 pm
I realize I can animate the hair and then re-import it but I'm trying to find a more elegant/interactive approach . . .
slowtiger
Posts: 6241 Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:
Post
by slowtiger » Wed May 19, 2010 10:52 am
If the hair images is animated with bones, I'd try something like this:
- bone layer
- - hair image - is unmasked
- - hair shadow vector or image layer - gets masked
- - face (image or group/bone layer) - is mask
I'd advise against having too much detail in the hair shadow, it's not realistic and even distracting.
Uolter
Posts: 274 Joined: Fri Jan 22, 2010 11:47 am
Location: Italy
Contact:
Post
by Uolter » Wed May 19, 2010 11:25 am
I agree with slowtiger, also hairs are usually drawn with locks, have a look at classical sculptures
ktron
Posts: 18 Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW
Post
by ktron » Wed May 19, 2010 2:46 pm
Thanks slowtiger (post 2400!).
The trick is that the hair is a PNG image (with alpha), which casts the shadow, so the only way to mask the shadow is to mask the hair, hence the double layers (as in the sample)
Uolter, in this case the type of look will be from a pre-existing style which needs to animate.
One major advantage of ASP over most of the other 2D apps is reasonable handling of textures and alpha channels. Makes it great for animating existing artwork.