Any way to interpolate between different styles?
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 17
- Joined: Wed Mar 25, 2009 6:35 am
- Location: Scotland Island, Australia
- Contact:
Any way to interpolate between different styles?
Just completing a hand rig and I'm using a switch layer with interpolation for the different hand shapes. Depending on the position of the fingers they have different skin tones, and I'm currently using styles to allow these colours to be easily updated, making the hands very flexible. Is there a way to get the styles to interpolate in the same way as if I set the stroke and fill colours on the shapes?
- hayasidist
- Posts: 3831
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Any way to interpolate between different styles?
nope - a style associated with a shape is not an animatable property of the shape.
you can animate a style - e.g. a style named "sky" can be animated from (say) blue to black ;
but you can't have a shape called sky, two styles "blueSky" and "blackSky" then animate sky's style from "blueSky" to "blackSky"
Have you considered using an overlay layer to change the colours? x808080 leaves the underlying colour unchanged - x000000 makes it lighter and xffffff makes it darker - and all points in between.
e.g.
group masking hide all
vector layer: greyscale shadows - blend mode overlay - mask this layer
vector layer: coloured hand - blend mode normal - add to mask
(personally, I usually do it the other way up:)
group masking hide all
vector layer: colours - blend mode overlay - mask this layer
vector layer: hand shape greyscale - blend mode normal - add to mask
you can animate a style - e.g. a style named "sky" can be animated from (say) blue to black ;
but you can't have a shape called sky, two styles "blueSky" and "blackSky" then animate sky's style from "blueSky" to "blackSky"
Have you considered using an overlay layer to change the colours? x808080 leaves the underlying colour unchanged - x000000 makes it lighter and xffffff makes it darker - and all points in between.
e.g.
group masking hide all
vector layer: greyscale shadows - blend mode overlay - mask this layer
vector layer: coloured hand - blend mode normal - add to mask
(personally, I usually do it the other way up:)
group masking hide all
vector layer: colours - blend mode overlay - mask this layer
vector layer: hand shape greyscale - blend mode normal - add to mask