-
inversing scale percentage
If any of you have watched the Demon face tutorial by Andrew Kramer, you’ll know what I’m talking about here. He shows how to stabilize footage and then reverse that stabilization later but he only tracks position and rotation.
What if you also track the scale?
My question is, what should the math of the scale expression look like to reverse the effects of the scale created by tracking/stabilization. For example if on whatever frame the object in my precomp is 150% what math do I need to make it 66.66%?
I had a programmer friend help me and we came up with this to make it work:
[10000/comp(“TRACKED”).layer(“PRE TRACK”).transform.scale[0],10000/comp(“TRACKED”).layer(“PRE TRACK”).transform.scale[1]]
but is there a easier way?