Switch layer interpolation

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Jkoseattle
Posts: 433
Joined: Tue Nov 08, 2016 6:39 pm

Switch layer interpolation

Post by Jkoseattle »

I am attempting a simple project to test interpolation between switch sub-layers. But the interpolation is not working.

1. Created a vector layer consisting of a shape
2. Duplicated that layer, moved the shape so that it appears different from the first layer
3. Created a Switch layer
4. Add vector layers to switch layer group
5. In layer setting for switch layer, checked "Interpolate sub-layers" setting
6. Added a few keyframes switching between sub-layers
7. Playback (also exported animation to eliminate the possibility of it being a render issue)

EXPECTED:
With "Interpolate sub-layers" enabled, expected to see shape move smoothly from its location in vector layer 1 to vector layer 2

ACTUAL:
Shape jumps as if "Interpolate sub-layers" was not checked.

What giveth??
Most of the time I'm doing music stuff. Check me out at http://www.jimofseattle.com/music.

Thing I did for work: https://www.youtube.com/watch?v=LgFYGqifLYw
User avatar
synthsin75
Posts: 10273
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Switch layer interpolation

Post by synthsin75 »

Do you have GPU acceleration enabled?
User avatar
Jkoseattle
Posts: 433
Joined: Tue Nov 08, 2016 6:39 pm

Re: Switch layer interpolation

Post by Jkoseattle »

That was fast. I was just about to delete my original post because now it's working, so I need to do more research to figure out why and when it does not work.

To answer your question, yes, GPU acceleration is turned on.

Now I'm trying to get it to not work again.
Most of the time I'm doing music stuff. Check me out at http://www.jimofseattle.com/music.

Thing I did for work: https://www.youtube.com/watch?v=LgFYGqifLYw
User avatar
Jkoseattle
Posts: 433
Joined: Tue Nov 08, 2016 6:39 pm

Re: Switch layer interpolation

Post by Jkoseattle »

OK, here's what I'm really trying to do. Makes more sense to explain it outright:

I'm making a mouth with multiple shapes in a switch layer. I want to interpolate between sub-layers. Last night I worked on this using a single layer for all the parts of the mouth (lips, teeth, etc.) which caused me no end of headaches trying to get the z-order right using Select Shape and up-down arrows. For various reasons it was too difficult, so today I decided to make each part of the mouth a separate layer for ease of animating, then put all those layers into a group. I would then duplicate the group, change the layers inside it for the new shape, etc. However, I worried that I could not interpolate between sub-layers if the sub-layers were actually groups rather than individual layers. To test I created a group of vector layers, duplicated that group, and put both the groups into a switch layer. I was able to switch between the groups just as if they were individual sub-layers, but the interpolation didn't work.

So, is it possible to switch between groups in a switch layer AND have interpolation between the groups? Or should I make the whole mouth a single layer and switch that way?
Most of the time I'm doing music stuff. Check me out at http://www.jimofseattle.com/music.

Thing I did for work: https://www.youtube.com/watch?v=LgFYGqifLYw
User avatar
synthsin75
Posts: 10273
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Switch layer interpolation

Post by synthsin75 »

No, groups do not interpolate. You'll have to make a referenced switch for each element. There's an example here:
viewtopic.php?p=164763#p164763
Post Reply