Skip to main content
waltz123
Participant
July 14, 2017
Answered

Puppet pin tool and precomps

  • July 14, 2017
  • 1 reply
  • 16048 views

Hey,

I'm trying to animate a simple 2D-person in After Effects CS6. I therefore use the puppet pin tool but experienced some issues. When I put the puppet pins onto the single layers (which are made in Illustrator) everything works well. But when I want to use a precomposition, wherein those layers are, and then try to resize the precomp, it shows nothing - except if I turn off this "fold composition" - box. The problem is, when I turn this box off, the precomp isn't sharp anymore, so this is no option (even trying to use a source image with higher res didn't work at all).

In my case I'd like to show a scenery with a house in the background and a person standing in front of it. I then want to zoom in - so the background and the person get bigger. But as soon as I do it, I can't use the puppet pin properly anymore.

So my question is: Is it somehow possible to use a resizable precomp or is there any work-around for my individual case?

Thank you!

This topic has been closed for replies.
Correct answer Roei Tzoref
BUT in the end I have to check all "fold composition"-boxes to make the image sharp

Don't. puppet and collapse (what you call "fold") don't work well together. you should work your way around it by bringing big enough layers so you won't need to continuously rasetrize/collapse them (what you call "make them sharp"). or you could press the collapse switch, make them large enough, then precompose, don't press the collapse - and use puppet.

In Short: whatever you do, don't press the sunburst icon (collapse switch) on a layer or precomp that is using the puppet effect if you intend to move or animate afterwards using the transform properties (scale, rotation, position)

1 reply

Community Expert
July 14, 2017

When you apply puppet pin to a layer it cannot have any animated transformations applied to the layer. No Scale, rotation, position changes. Puppet pin works on the pixels in an image or on the underlying area under the points of a vector path. A straight vector path - a line with just 2 points will not work directly with puppet pin because there are no pixels to manipulate under the path.

The workflow is to line up your character. If the character has multiple elements on separate layers that you want to move as one you need to pre-compose those elements. For example, you put the arms and the hands layers in a group - pre-compose them, then apply puppet pin to the pre-comp. The same thing for eyes, nose, mouth - They either need to be on one layer or pre-composed so you can use puppet pin.

The second step is to animate the movement of each of the layers in your puppet. Something like a walk cycle would be animated so the legs were moving but the rest of the puppet would not be moving. Once you get the movement down for your puppet you pre-compose that movement or nest the comp in a main comp and animate the position scale and rotation of the puppet so that it works in the scene. You cannot do it in any other way because as soon as you move a layer that has a puppet pin effect applied you break the relationship between the distortion mesh and the underlying pixels and things get fouled up.

I hope this helps.

Roei Tzoref
Legend
July 14, 2017
When you apply puppet pin to a layer it cannot have any animated transformations applied to the layer.

not accurate. if the layer's render order is maintained, there shouldn't be any problem combining transform properties with the puppet effect. the problem starts when the layer order is transform and then effects like with collapsed precomps/continuously resterized layers.

this is from the help files:

Animating with Puppet tools in After Effects

Note:

Don’t animate the position or scale of a continuously rasterized layer with layer transformations if you are also animating the layer with the Puppet tools. The render order for continuously rasterized layers—such as shape layers and text layers—is different from the render order for raster layers. You can precompose the shape layer and use the Puppet tools on the precomposition layer, or you can use the Puppet tools to transform the shapes within the layer. (See Render order and collapsing transformations and Continuously rasterize a layer containing vector graphics.)

I would add to to that - you shouldn't even change the transform properties, not just "animate"

BTW, if you are into puppet and find yourself struggling with using puppet vs transform, there are tools to make puppet work more efficiently. here's two popular set of tools:

PuppetTools 3 - aescripts + aeplugins - aescripts.com

https://rainboxprod.coop/en/tools/duik/ 

Community Expert
July 14, 2017

Sorry Roei but you cannot animate transformations on a layer that has puppet pin applied. The mesh works on the area under the first frame of the layer.

Dancing Star:

Hovering over mesh after layer moves:

Change position, scale, rotation and the mesh is unaffected because it is above the transformations, puppet pin bases the modifications on the comp frame instead of the layer size so the mesh renders before the underlying pixels render and it does not move with the layer. There are several effects that work this way. If you need to animate the layers position you have to pre-compose or use the Transform effect.

NOTE: I changed the layer color to make the mesh more visible but that's all the changes I made....