Article View: adobe.after.effects.expressions
Article #490Camera depth question - follow on from the one below
From: adinnin
Date: Fri, 18 Jun 2004 09:09
Date: Fri, 18 Jun 2004 09:09
26 lines
1595 bytes
1595 bytes
Hello,
I have to do a sequence where the camera is flying along in z space, there are loads and loads of layers of footage, the camera will stop and view one then move on to the next.
The previous post used this expression
minDist =1500;
maxDist = 3000;
maxT = 90;
minT = 15;
l = length(position,this_comp.layer("Camera 1").position / 2);
ease_out(l,minDist,maxDist,maxT,minT)
which is fantastic, I have also applied it to a venetian blind transition so that when the camera is really close it disolves into nothing...
however.. I am having trouble with the opacity.
what I am after is when it is really far away lets say 2000, the opacity is 0 when it gets to 1000 it is 90%, but when it is 250 I want it to be 15% opacity.
I would imagine this has something to do with the falloff but I cant for the life of me work it out !!!!
any ideas would be greatly appreciated
regards
Alex
sorry about the long post !!!
Technical Details
Message-ID:
<3bb4a9aa.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f450a,329ce8d7b01da7cb,start X-Google-Attributes: gidf450a,public From: adinnin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.after.effects.expressions Subject: Camera depth question - follow on from the one below Message-ID: <3bb4a9aa.-1@webx.la2eafNXanI> Date: Fri, 18 Jun 2004 02:09:00 -0700 Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit