Reverse Scale Expression

In the Demon Face Warp Tutorial we learned to reverse track by adding expressions. One expression reversed the rotation by multiplying it by -1.

Now I had a question about reverse scaling… I didn’t know, until now:

Basically you create a variable inside the final comp where you apply the reverse rotation expression but instead we alt click on the scale and write
m=100/comp(“yourPreComp”).layer(“originalLayer”.transform.scale[0];
value*m

So if m=400%, then 100/400=.25, and .25*100% is 25%. And 25% of the now 400 percent image is now back to the original size.
To create the layer variable, you can pickwhip the scale of the precomposed layer as shown in the tutorial. Then add [0] so that you only use one of the scale values for the width.

Try it out and hopefully you can use it in the future.

EDIT for Clarification: When you motion stabilizing something with 2 points you can calculate the rotation and scale from the Motion Tracking Menu, this scales up or down as needed to keep the 2 points the exact distance appart. Thanks for bringing this up Kyle, I’m tired too.

117 RESPONSES TO "REVERSE SCALE EXPRESSION"
Daniel gomez
August 8th, 2007 @ 10:29 pm
Edited by Administrator for Spam.
August 8th, 2007 @ 10:34 pm
Edited by Administrator for Spam.
KYLE
August 8th, 2007 @ 10:42 pm
I'm not sure I get what you are saying. What would you reverse scaling for? LIke if the person was movie towards the camera or we zoomed into them?
KYLE
August 8th, 2007 @ 10:43 pm
wow. too many spelling mistakes.

CORRECTIONS: what would you use reverse scaling for? Life if the person was moving towards the camera or we zoomed into their face?


sorry, its late.
August 8th, 2007 @ 10:46 pm
Yeah, sorry I should have mentioned that Kyle. When you motion track someone you can also motion track the scale. So if they come towards you or away from you, the tracking would shrink or grow you as needed. Also if the camera zooms in or out.

So with this expression you can reverse it but get the benifits demonstrated in the video.

Great Comment.

Sorry guys, that admin can be harsh ;)
August 8th, 2007 @ 11:09 pm
Aww poor Andrew and his speeling... what did I spell something wrong?
Dustin James
August 8th, 2007 @ 11:28 pm
I like the thought of getting into the more advanced expressions and the explaination of it...

Are there books that you read that cover this or just peer to peer?
Flim by Tim Productions.
August 8th, 2007 @ 11:42 pm
weeeeeeeeeeeeeeeee CHECK OUT MY VIDS AT http://youtube.com/profile_videos?user=eddberkel I LOVE YOU ANDREW KRAMER
August 9th, 2007 @ 12:03 am
That's a good idea for a more stunning effect(or to cover up a poorly planned one) Thanks. KRAMER FANS...
August 9th, 2007 @ 12:09 am
no fair, what about "Flim by Tim Productions"? Mine was at least copilot related.
S. Gilbert
August 9th, 2007 @ 12:38 am
DAM!!! I haven't used math in a while... it's all coming back though lol
Sandy
August 9th, 2007 @ 12:39 am
Hey Andrew!, thats truly a good idea, will try it. u always rock as usual. hehe :D thankyou.

Have a good sleep!!!! :D I know u r tired coz of ur hardwork.

thnx 4 everything

Warm Regards
Sandy
Hedley
August 9th, 2007 @ 1:19 am
Yeah dude, take a break and put your feet up. Dont worry, we will still be here when you get back...

Nice effect though, i remember running into this problem when i tested out the demon face cause my original shot featured the subject moving their face forward as they pulled their scary expression. I ended up re-shooting and getting them to stay level. This technique should make for a much more generalizable effect over a diverse range of shots.

Hedley
August 9th, 2007 @ 2:14 am
Andrew,
Thanks bro. must be an exciting time in your life.
Those of us who are atttracted to your site are obviously visually oriented.
Some here may get the explanation from the text entry, but honestly, I don't get it. If you wuold be so kind as to show it, that would be a great help.
Blessings,
c
JFX
August 9th, 2007 @ 5:56 am
Hi Andrew,
I love your tutorials, I've learn a lot thanks.

I'm trying to apply the reverse scale expression but I can't figure out how to use it properly. It would be great if you could show how you do it.

Thanks !
August 9th, 2007 @ 6:26 am
Thanks dude. Sometimes I feel like all I really need is a tip or some advice as to how to do something, not a tutorial but just a little explanation (as you so nicely provided). Clearly explained advice is faster and easier than tutorials and usually just as effective. This was good, thanks, I will try it!

PS: you should drop tips like that more often :)
August 9th, 2007 @ 7:11 am
Would this be useful to make someone have like a terminator eye?
Mark/finalrenderfilms
August 9th, 2007 @ 7:13 am
Very very interesting. I know what you were saying, I'm just not clear on how you would go about doing that. Maybe in your next tutorial, you can give a wii little demonstration at the end? Thanks again for the very useful info, BTW.
ello beastie
August 9th, 2007 @ 8:34 am
wats happening with that gravity tutorial? i thought it was gona be up on tuesday or something ??!!
August 9th, 2007 @ 8:51 am
edted by administrator for spam what is that ? did we write something bad .whats the deal.
August 9th, 2007 @ 9:11 am
sandy andrew is married .but i am not .haaaaaa too much love in here
PorT
August 9th, 2007 @ 9:19 am
Am not sure if he used "Demon tutorial" but if so than its the best demon so far :D check that out ;)
http://youtube.com/watch?v=KCPd5V5Twyc
August 9th, 2007 @ 9:45 am
I'll put this tip into the next tutorial...

Clancy "first to post" comments will be removed. I'm just trying to keep the blog neat.
August 9th, 2007 @ 10:03 am
I am confused...I need to see it in a tutorial.
August 9th, 2007 @ 10:05 am
It's neat and lovely ,you know we love to be here it's our home that we escape to, to find peace after a hard day work . we come home for something and its videocopilot to take us on a journey full of adventure and mystery . I talked to people in the streets and work about videocopilot and after a while they will say thank you for the web site .then i know i did something good for some one . this is my essay about videocopilot.net. good morning and good luck.
Suro
August 9th, 2007 @ 10:14 am
I still don't get it :/
I think I have to see the benefits in action before knowing what that expression exactly does.
Thanks for putting it in the next turtorial.
August 9th, 2007 @ 10:18 am
August 9th, 2007 @ 10:33 am
Does anyone else understand exactly how to do this? I thought I did but I keep getting an error when I use the expression so clearly I am doing something wrong.
August 9th, 2007 @ 10:56 am
Hmm, Jason if you need help PM me on my youtube channel, maybe we can talk on MSN if you need help.

-Scott
DJ
August 9th, 2007 @ 11:07 am
Hey can you make an update on the tutorial i got confussed?
Helge
August 9th, 2007 @ 11:56 am
Andrew, can you give us a little update on the next tutorial? :)

I agree that "First comment"-comments are lame and should be removed.
August 9th, 2007 @ 12:28 pm
yeah, I agree it's been a while since the last tutorial..

and I will be gone for a month....away from my mac...and
away from any new things Andrew brings to Video CoPilot.
I guess I have to just wait until I come back
from vacation and see what's up with the site.
Hopefully there are many new tutorials by then.
JFX
August 9th, 2007 @ 12:54 pm
I finally understood how to use the reverse scale expression. It's simple and it works very well.

Thanks Andrew!
August 9th, 2007 @ 2:00 pm
Just Amit
August 9th, 2007 @ 2:26 pm
hum..... this is a little trick but im sure it will come in handy one day. thanks andrew. oh, and ET, i feel you man, gone from the mac for a month.... i just got back and i missed mine too.
Justin Productions
August 9th, 2007 @ 3:05 pm
« Clancy “first to post” comments will be removed. I’m just trying to keep the blog neat. »

To-ta-lly agree with you...damn. I mean, who cares if you're first? It makes videocopilot so... unprofessional and childish.

I suggest you blacklist "first post" with this excellent plugin for Wordpress: http://tantannoodles.com/toolkit/spam-filter/ . Check it out.

Cheers.
M20
August 9th, 2007 @ 4:03 pm
Yeah indeed, I agree with Justin.

Please keep this blog clean and professional.
andrew M
August 9th, 2007 @ 4:04 pm
i ment to get AE pro but accidentely got AE standerd.. so no motion tracking, it sucks!

http://www.youtube.com/watch?v=e6FuMEVFN3s
August 9th, 2007 @ 4:57 pm
justin and m20 what are you talking about . i wasnt the first and i was'nt complaning and the blog is clean .please dont get too exited .and andrew already explained so please dont talk like iam the bad guy here .jeez.
bwoogie
August 9th, 2007 @ 5:47 pm
Hey Andrew! Sorry this is a tad off topic, but I just found your site over the last weekend and have watched almost every tutorial in less than a week. I've got to say you do an excellent job and I really enjoy watching your tutorials and love your stand up comedian style you through into it. You really make learning fun! I'm planning on purchasing the Designer SFX and Riot Gear bundle in the near future and was just wondering if it would be possible for some tutorials (or even links to) on creating those awesome whooshing sounds.
Anyways, thanks for the great site! Keep up the good work!
August 9th, 2007 @ 6:18 pm
Your fine Clancy, they are just speaking generally. We're all on notice now.

Best
August 9th, 2007 @ 6:45 pm
Hey Andrew!

Ive been wacthing your free tutorial and its really helps me out!
Im from brazil and im actualy "starting" at After Efects, i make a heavy metal show here in brazil where i am cameramen and also do the video editing... and now im starting to make the graphic stuff, such as bases for GC and all the videos, etc.
What i would like to know if is there any possible to download the free tutorials, cause everytime im doing something i have to "buffer" all teh tutorial to remember certain part of the tutorial, and that its quite sux, you know...
And im plaining to purchase some of your dvd's, but since the diference of my local money for dolar its quite big, i have to wait a bit hehe...and do you guys delivery the dvd in brazil or other location like this..didnt tought about it.
Well, anyway good job and check out the website, i may say it isn't look that good and its not that professional, but it was alot worse before, and we are getting there i think.
See you.
PS: sorry for the english, my "net-english" its not that good yet :º
Frank
August 9th, 2007 @ 7:48 pm
Thanx for the answer Andrew! I actually tried to find a way to do it myself for a few days (hum... maybe a few hours) and i realised I was way off, wich is often the case when i try to come up with expressions. I'll try this and tell you how it went.

Thanks again
patolala
August 9th, 2007 @ 9:53 pm
Hello, andrew, pleass... IN SPANISH
THANKS

IN SPANISH IN SPANISH IN SPANISH IN SPANISH IN SPANISH IN SPANISH
IN SPANISH IN SPANISH IN SPANISH IN SPANISH
Joey Winchester
August 9th, 2007 @ 11:42 pm
Learn english
August 10th, 2007 @ 1:10 am
Thanks Andrew, even though you are an Adobe after effect specialist, i have been able to corporate some of the ides to create this flash site..Please guys rate it and tell me hat do you think … liger4ever@yahoo.com
www.thedigitalsurgeon.com
August 10th, 2007 @ 2:50 am
I still have trouble understanding all these expressions and calculations and also when to use them time is on my side i guess
August 10th, 2007 @ 8:21 am
Hey Andrew, ever thought about putting a "subscribe to feed" button somewhere on the blog? I find myself checking back every 10 minutes for new content. It might be a little more convienant to have a button that we could click that would send out a mass email to all your subscribers. Or something of the sort. Just some thoughts. All the best!
CC
August 10th, 2007 @ 9:10 am
Hi, Does anyone know how to capture 4 channels of audio in Sony Vegas? I have recorded video on the XL2 and I want to combine the on camera mic with an XLR mic
otherwize
August 10th, 2007 @ 9:22 am
He HAS such a thing. It's called an RSS feed.

http://www.videocopilot.net/siteblog/?feed=rss2

You just need a plugin rss feeder. Firefox has one, don't know about other browsers.

http://www.videocopilot.net/siteblog/?feed=rss2
Mark/finalrender
August 10th, 2007 @ 10:11 am
Yes, I use the feed. anyways, carter, nice site. A little small though...

Also, Andrew, I'm messing with this effects, but i can't it. Hmm..any hints as to what I'm doing wrong?
Sebastian
August 10th, 2007 @ 10:15 am
It would be awesome if you put an example of what you can use reverse scaling for... Just a though.
Helge
August 10th, 2007 @ 10:19 am
I agree with Bones :) A “subscribe to feed” button would be great!
kamaKANA
August 10th, 2007 @ 11:48 am
Andrew, hahaha I actually found use for this tracking motion and scale tip using null objects in one of my corporate training video (that wont die and keeps coming back to haunt me because of my incompetent client) project im working on. THANKS!
August 10th, 2007 @ 7:40 pm
Hey Boss I have a question . iam asking you cause i looked on line for an answer but no luck .I got panasonic 16:9 conversion lens for my xl2 but it won't fit to the 20x lens do i need an adapter or a ring .please advise on what should i do or where to get it and the name for it .I know its off topic and i hope its not a spam to you .but you my only hope to know what to do .Best regards.
August 10th, 2007 @ 10:27 pm
Sony has a great new product, Cinescore, I thought you all might be interested in. It generates royalty free music to the length of your video that is customizable in different styles. They have different themes etc. to match what style your video is. Check it out here:

http://www.sonycreativesoftware.com/products/showproduct.asp?pid=1013

I think it's a great time saver and good way to bypass illegal use of music.
August 11th, 2007 @ 2:08 am
give us some more tuts mister!!!
Kris S
August 11th, 2007 @ 6:29 am
@ clancy
What is that 16:9 conversion lense supposed to do for the XL2?
Scott
August 11th, 2007 @ 8:01 am
Sorry to sound like a jerk Clancy... But join an XL2 forum... Your questions have nothing to do with the topic at hand... Also Kris S. it'll convert 16:9 to 2:35:1.
joseph profit
August 11th, 2007 @ 9:11 am
hey bros and bras. wanted to say hello to all. Andrew you rock dude. check out some of my copiloted influenced work on my reel: (new and old stuff)

http://ybarraproductions.com/demoreel2007.html

let me know what you guys think about it. straight from texas! thats right i said it and what. hehe

ps. i think im going to update it cus ive recently created a deamon face using my gf. hehe. and i found houston dowtown footage and decided to bombard it with a meteor shower. hehe. its really difficult so far because it wasnt a planned shooting or "Shot for post" so-to-speak. anyway njoy. thanks again Andrew Dude, you rock and copilot has really helped me in my career as a motion graphics artist. thanks.
August 11th, 2007 @ 9:52 am
scott . you are a jerk ,and i was't asking you i had it with guys like you .sorry andrew i dont mean disrespect but if i asked uoi why people geting mad about it .
Scott
August 11th, 2007 @ 10:02 am
lol Clancy I was not calling you a jerk! I was saying Sorry if I sound like a jerk :P
August 11th, 2007 @ 10:05 am
ar u the one with kutcup commercial?
August 11th, 2007 @ 10:09 am
And by the way i looked every where for an answer ,whats wrong if i asked some one more experianced about somthing related to film whats the big deal we supose to help each others ,Iam not asking what kind of underwear your have on ,so forgive me for getting upset.
Scott
August 11th, 2007 @ 10:35 am
Cause Andrew said keep it relevant to the topic at hand Clancy and yes I'm the ketchup guy, lol. Also dude just join dvinfo.net forum and ask bout ur xl2 there, thats what I did man! :)
August 11th, 2007 @ 11:00 am
@Judd:

There is also a plug-in for Premiere Pro from Smartsound that is pretty cool too. Its what I use in my church videos.
Kris S
August 11th, 2007 @ 11:50 am
Thx Scott.
Thats pretty cool! - I will sacrifice 150 wild boars in your honor.

I guess you put that 16:9 conversion piece on and also switch the camera to 16:9?
August 11th, 2007 @ 12:12 pm
next tut next tut next tut !!!!
John
August 11th, 2007 @ 12:31 pm
Hi Guys

Sorry to post this as its off topic but need answer fast. When importing a QT movie with audio why can i noti hear the audio in the time line and also when i bounce it out back to a QT movie. I can see the Wave form

Thanx
JOhn
Kris S
August 11th, 2007 @ 12:34 pm
This website is my crack.

personally dont find expressions very interesting - but i`m sure others do.
August 11th, 2007 @ 2:12 pm
What ketchup commercials??? Those are mine!!! Unless someone else is doing them on here. Check them out here:

http://youtube.com/watch?v=nfAx1_8tFNw

http://youtube.com/watch?v=nfAx1_8tFNw
Scott
August 11th, 2007 @ 3:26 pm
No need for the sacrifices Kris, but thanks anyways. :P Thank you is thanks enough! :)

-Scotty
August 11th, 2007 @ 5:17 pm
Hey whats up ketchup . what topic would you like to talk about beside frenchfry's. :0)
Some Guy
August 11th, 2007 @ 5:31 pm
Hey, Andrew! Do you know indymogul.com? They show how to create special effects (not visual effects) for cheap. They have that Viewer Voicemail, where they make a question and viewers are answering it on a voicemail. So, last week they asked: "What's your favorite online filmmaking resource?" And it seems to be ... videocopilot.net
You can check it out here: http://www.indymogul.com/episode/bfx_20070806
It's at the end (~4th minute). Congratulation on that and keep up the great work!
August 11th, 2007 @ 9:34 pm
hey andrew we have nothing here to talk about so iam thinking to do a spagitti fight :) .hope everything alright and iam not thinking too hard .best luck .
otherwize
August 11th, 2007 @ 11:49 pm
@ clancy30

Can't you read? People should stop posting off-topic msgs, because it overloads the servers...

Leave Andrew be for a while, he has his own stuff going on at the moment. Go on a vacation, read a book.

Peace and much love, guys.
August 12th, 2007 @ 12:34 am
@ otherwise i'm sorry you having a problem with the servers we all ask andrew about things i'am not the only one ,but if you and andrew feels that way thats fine .I'am not posting anymore that was very rude from you ,and iam on a vacation .
August 12th, 2007 @ 3:11 am
Anyways......

I had my actor for my demonface test move his face towards he camera, and I couldn't think of how to make it look correct. I didn't think to reverse the scaling. I will have to go out now and tr it again. I wish I had some time to go and shoot a movie just for fun, maybe I will make my own zombie short, and all of my zombies will have demonfaces or something. Sounds like an excuse for some gratuitous blood, and nonsensical violence.
Bloopie
August 12th, 2007 @ 4:53 am
Joseph Profit, that's a very nice showreel.

I'm curious how you made the scene with all the buildings in 3D?
Matt, UK
August 12th, 2007 @ 11:25 am
I cheated & did my "face warp" in front of a green screen, skipped the reverse tracking/expression thing in the tutorial, I found it easier

Funny how the original face warp blog got 396 comments almost instantly, but here we're down to 78 comments after 4 days!

Maybe the overriding point of this blog is: This s**t ain't easy, you need to apply yourselves people, after all he's only your copilot!

Dunno just my 2 pence worth.
August 12th, 2007 @ 12:13 pm
@Matt

Is the music any good? Or does it just sound like MIDI and synth? Cinescore blew my mind away but maybe the plug-in you're talking about is better?
August 12th, 2007 @ 12:55 pm
@ Judd:

the plug in for Premiere is free, but the songs cost. You get 10 free tracks with it, and they sound like actual recordings of music. I use one I bought that was called Leap of Faith, which is their version of Van Halen's "Jump". I used it in a youth activities promo and all of us 20 somethings were singing along, and it was pretty cool.
August 12th, 2007 @ 1:18 pm
yeah, probably
ucantstop
August 12th, 2007 @ 2:08 pm
Hi ,
I'v got other question -
Have You ever thinking about creating some kind of effect like in " Ghost Rider" ? I mean burning human skull ?
Morten Enoksen
August 12th, 2007 @ 2:33 pm
Hey "ucantstop"..

I have not seen ghost rider but ive seen the trailers. So I would guess you would need a 3D app to make this effect(No doubt!).
Scott
August 12th, 2007 @ 2:59 pm
ucantstop that'd be 3D and it'd be very hard to recreate fire that'd look realistic...
August 12th, 2007 @ 3:00 pm
Oh yeah, Check out our latest film, "LOOK BACK"
and tell us what YOU think!


http://www.youtube.com/watch?v=PPcMtDG0dXo


Thanks!
ucantstop
August 12th, 2007 @ 3:24 pm
I know it's 3D ,
but time ago , Andrew Kramer mention something about creating 3D tutorials as well .. or .. maybe i misheard something.
August 12th, 2007 @ 7:40 pm
I love your tutorials.

The demon face was a bit complicated but well worth the effort. Thanks...
Looking forward to the next one.

Thanks!

Louis

August 12th, 2007 @ 9:20 pm
still alive?
Huw
August 12th, 2007 @ 11:52 pm
G'day Andrew,

Thanks for annother excellent tutorial. and thanks to Kyle for asking about motion tracking on the 'z' axis. I'd be very interested in seeing a tutorial about motion tracking a subjuct where zoom or distance to and from the camera is a consideration... My question was actually to do with the programming language that you actually type in to achieve the reverse motion tracking. Can most of the effects and plugins applied be viewed in this way? as in programming lingo that can be edited?
Dennis
August 13th, 2007 @ 4:47 am
Oh, it´s so quiet here....
Hello...hello(echo)...hello(echo)
Huhu, Andrew...are you still under us?
Johnny
August 13th, 2007 @ 8:18 am
Maybe they had their baby already.
S. Gilbert
August 13th, 2007 @ 10:14 am
Hey Andrew,

I'm guesing you had a baby already (ok your wife had a baby.... very funny perverts) anyhow congrats, hope all is well with you, your wife as well as the latest addition to your family.

Sam Gilbert

PS - Boy? Girl? you have to let us know
August 13th, 2007 @ 12:23 pm
Hey guys I don't see a tut today so why not check out my day to night test I did yesterday! Let me know what you think, but be warned youtube compressed it really badly. Anyways, you'll get the idea.

http://www.youtube.com/watch?v=bzUDyxVbEN4

comments welcome
August 13th, 2007 @ 12:42 pm
Nothing yet, but it is going to happen any day. I have been scrambling to get the final touches on the site update before I get tied up. I have a couple of tutorials but I haven't had time to make the graphics and stuff... Trust me your patience will pay off.
Dennis
August 13th, 2007 @ 12:47 pm
Puh, the master´s still alive.
August 13th, 2007 @ 5:14 pm
hey judd,
horrible music, great work.
August 13th, 2007 @ 5:28 pm
@ superville, lol thank you! I don't like the song either but it's the only one I have of that genre of music right now it's funny you said that. Have to work with what I have ;-)
Morten Enoksen
August 16th, 2007 @ 9:48 am
Yann
August 16th, 2007 @ 10:24 am
Hi there, 1st, thanks Andrew for all these great tuts, I was basically editing a footage using the "reverse stuff" and found out I had to track the scale too...
How to reverse the expression? hopefully you were there... but.... I sorry, I have tried it either way, AE won't let me use the expression:
m=100/comp(”yourPreComp”).layer(”originalLayer”.transform.scale[0];
value*m

so I may look dumb, but is that just what we're supposed to write (replacing the layer name of course?)
otherwise you just say to pickwip the scale expression in the precomp layer and add 0... still nothing changes....
Help I going crasy....
Trevor
August 16th, 2007 @ 2:40 pm
Wow. It's so funny, because I had to use reverse stabilization at work to cover something up on a piece of video. I had to use all three (position, rotation, and scale) and it took me a while, but I figured out an expression for the scale so it would reverse as well. But mine was long and complicated. Not as simple as this one you put up. I should just keep your site embedded as my background and I can just look over every couple of minutes to see what wonderful new toy you've given us.

Trevor
D Piddy
August 17th, 2007 @ 11:55 am
Hi everyone...

I'm new to this site and new to After Effects -- but I always find the best way to learn a new program is to dive in at the deep end and pick up the basics along the way...

So I managed to perform a successful facial warp on some footage that didn't require scale adjustment. Having done so, I was then keen to try it out again on some footage that would. I managed to get the expression at the top of this page to work (see below for a couple of forehead-slappingly obvious tips that could explain where Yann and others might have gone wrong), but I've now run into another problem...

The subject in my footage moves towards camera all the way from a full-body shot, right into a medium close-up, where she remains for the duration (and the majority) of the clip. So, when I track and stabilize the scale (along with the other properties) and preview the result, I have my image swiftly shrink into a tiny little window--bobbing about in the blackness--as my subject approaches camera. So then when we precomp this and reverse the scale, we're having to zoom in on the image somewhere around 750% to compensate! Obviously, the result is a very lo-res, pixelated--completely unusable--image, whereas on the original footage we had a nice, high-res medium close-up.

Can anyone tell me where I might be going wrong? Is there anything I can adjust within the comp settings? Are there any hidden properties one can adjust when creating the precomp in the first place that might fix this? Is it possible to track the scale separately from the position and rotation, and apply it to an adjustment layer or something, and still have all the amazing flexibilty that this overall technique offers?

Any help would be greatly appreciated...

And as for those those tips that could explain why some people might be having trouble getting the expression to work...

1. It seems that Andrew accidentally forgot to close the parenthesis after "original layer", so if you're copying and pasting the text from this page, make sure to put that in.

2. When typing the name of your original layer, don't forget to include its extension as well.

Hope this helps... Cheers...

Danny
Zony
August 18th, 2007 @ 8:20 am
Hey all

this might be abit off topic, but does anyone here have a link for a free navigation bar / top menu like the on this site? i need one with black and blue like his http://evans-digital.com/services.html

something easy to use :S ive searched for a long time now, and i dont really know what to look for, cuz im not really into creating websites, but working on it.

any help is appreciated !

ty
D Piddy
August 19th, 2007 @ 8:39 am
An update on my travails w/r/t reduced resolution as a result of reverse scaling...

I thought I finally had it cracked when I discovered that I could restore my original resolution by selecting 'Collapse Transformations' on the precomp's Layer Switches. However... whilst this seems to retain the tracking data for, I suppose, MOST purposes, it just doesn't seem to work in conjunction with the Liquifier effect.

I can happily add in sunglasses, tinfoil hats -- stick a parrot onto my subject's shoulder, and give her an eyepatch and a wooden leg -- and as long as those layers are parented to the precomp they will follow the tracking data perfectly! But as soon as I try to apply the Liquifier with the 'Transformations Collapsed' switch selected (thus restoring my original resolution), this effect will not follow the tracking data at all...

I have also tried selecting 'Preserve resolution when nested' from the Advanced Compositions Settings window -- no luck there either...

Any suggestions? Andrew? Anyone?

Could it perhaps be that the (reverse scale) expression needs to be modified so that it uses as its source the entire original COMP (and all of its info and properties), as opposed to just the one layer? If this sounds stupid, bear in mind that when typing expressions, I feel as though I'm reading aloud from a foreign-language phrasebook, rather than speaking a language that I actually understand ("My hovercraft is full of eels...")

I hope I haven't scared everyone away from this thread... Surely I'm not the ONLY person who's been staring at their computers all weekend!

Cheers...

Danny
D Piddy
August 19th, 2007 @ 3:43 pm
Trevor...

What exactly WAS your long-winded expression? Could it possibly rescue me?

DP
Gianluca Salerno
August 21st, 2007 @ 6:19 am
Thanks Andrew!!!
I did the question,remember?
U R great!
Thank you very much for listening!
Gianluca Salerno
August 21st, 2007 @ 7:30 am
Reverse scale tested...Amazing!!!
Thank you Andrew!
If u have the time, take a look to my videos :
http://it.youtube.com/profile?user=79Luke79
I hope u'll give me a feedback.
Bye my friend!!!
Martin
August 24th, 2007 @ 10:55 am
Ah, thank you for answering my question:)
September 19th, 2007 @ 12:10 pm
I am little confused about the scale expression. Is it even needed if you check the scale box as well as the position and rotation boxes and reverse scale it, or does it have to be checked along with the expression? Do you have to pickwhip it first and then add the rest of the expression?
VTrash Productions
December 20th, 2007 @ 7:39 pm
Ok, If anyone out there has any explaination to how to do this please explain. Just post the code here and tell us what to do.

ANYTHING to reverse the scale.

Much appreciatied!
Julien
September 21st, 2009 @ 10:44 am
Has someone found out since Xmas 2007? :)

I'm still stuck on that expression (yeah I'm a bit late, sorry). My brain is actually exacuating steam through my ears... I fear the overrun shortly.

Please can someone help me by explaining how to reverse a scale tracking? That would be amazing.

Thank you
J
November 27th, 2010 @ 2:22 pm
Oh that's cool! I never thought of that before.
November 24th, 2011 @ 6:49 am
Hey, guys.

Maybe the great Andrew has no time to answer us so i find the solution myself and pass it to you:

s =100/comp(yourPreComp).layer(originalLayer).transform.scale[0];
[s,s]*100

obviously you have to change yourPreComp and originalLayer with Comp name and Layer name of your footage or simply write this expression in your scale parameter, select this "comp(yourPreComp).layer(originalLayer).transform.scale" and Pickwhip the scale in yourPreComp.

Simply

It works on CS5.
    areoola
    December 20th, 2011 @ 3:13 am
    Aldo, thank you!!
    Protus
    May 3rd, 2013 @ 2:37 am
    Thanks a lot!!!
February 7th, 2014 @ 8:30 am
Worked out
You are The Man !!!
POST A COMMENT!
Before Posting
We're trying to encourage more thoughtful commenting.  Please take a moment to write a meaningful response to this post.
* Name
* Email (will not be published)
Website
* field is required