get a boned PNG to cast a local shadow.

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
ktron
Posts: 18
Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW

get a boned PNG to cast a local shadow.

Post by ktron »

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.

Image

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.
User avatar
ktron
Posts: 18
Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW

+ get a boned PNG to cast a local shadow

Post by ktron »

I realize I can animate the hair and then re-import it but I'm trying to find a more elegant/interactive approach . . .
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

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 »

I agree with slowtiger, also hairs are usually drawn with locks, have a look at classical sculptures
User avatar
ktron
Posts: 18
Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW

Post by ktron »

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.
Post Reply