Return-Path: Received: from mail-vc0-f169.google.com ([209.85.220.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4857531 for AE-List@media-motion.tv; Wed, 26 Sep 2012 15:33:41 +0200 Received: by vcbfl17 with SMTP id fl17so645599vcb.28 for ; Wed, 26 Sep 2012 06:35:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=1ui33xt0u/BvdbXbS/UbOHwrvY7IPkcY//mnU0T5rNI=; b=RyJRD+dZibtisoxO5wcWxNnnkMgcAIhLI7vjuy/+ntaRSCwBoEfb/LHgWkFEmUrWI1 Y+66+4ebg1dJ/Qo56hKXEQ+LS/VcdrZive35NT8IL9kJI/fIIZRTW3N9Gj8RNkcnSf15 hUkk60OW6GU8bWIEQjxwgTI7kNmpf2WOsxspoIaWv8wHhhEYRM3Dyo7m0q3HhUczEIXV 8grulKhaP+5UHfDCv+q4rlT7WwCs8PnCYWIh06W0OzSvdR8NoN5bkw4+9twqBNjrLyvp CD3V+AyAxJTGJMFBeu6tZ4WGBFh8B8tsqY0xqZNuwNnOh6BNhtlH7hq4/LpjbNhgg/Cn NKNg== Received: by 10.52.67.144 with SMTP id n16mr199935vdt.131.1348666522820; Wed, 26 Sep 2012 06:35:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.18.212 with HTTP; Wed, 26 Sep 2012 06:35:02 -0700 (PDT) In-Reply-To: References: From: Robert Kjettrup Date: Wed, 26 Sep 2012 15:35:02 +0200 Message-ID: Subject: Re: [AE] expression for facing away layers in precomp To: After Effects Mail List Content-Type: multipart/alternative; boundary=20cf307f32b20361ea04ca9ae579 X-Gm-Message-State: ALoCoQkJpFSrZbLN2r/ZnpJjxFWmSHf7jtFxJU8A21iUbUoLDHIEZ/ElhbvM4x4R/puOXcrC2p9C --20cf307f32b20361ea04ca9ae579 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the tip, but wont work in this case, since the precomps are not the same dimensions as the master comp, and the precomps also have animated translation in the master comp. So i think an updated expression is the only way to go, or doing it manually with keyframes.... my last resort :-) Robert Kjettrup / Grafiker / STV Mayday Mobil: 25 18 95 16 Mail: robert@stvmayday.dk 2012/9/26 Py Fave > perhaps linking precomp camera's attributes to the main comp's one. > > tell me if it works! > > > 2012/9/26 Robert Kjettrup : > > Hi > > > > I am using this expression to make the layers that face away from the > camera > > be invisible. > > > > if (toCompVec([0, 0, 1])[2] > 0 ) value else 0 > > (found via Dan's site here: > > http://www.motionscript.com/design-guide/invisible-facing-away.html) > > > > But when i use the comp as a precomp with continious rasterize option > turned > > on, the 3d layers that i has the expression ofcourse don't respect the > > camera in the master comp. Is it possible to write an expression that > uses > > the display camera in the master comp that affects the opacity og the 3d > > layers in the continious rasterized precomp? > > > > > > Robert Kjettrup / Grafiker / STV Mayday > > Mobil: 25 18 95 16 > > Mail: robert@stvmayday.dk > > +---End of message---+ > To unsubscribe send any message to > --20cf307f32b20361ea04ca9ae579 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the tip, but wont work in= this case, since the precomp= s are not the same dimensions as the master comp, and the precomps also hav= e animated translation in the master comp.=A0
So i think an updated expression is = the only way to go, or doing it manually with keyframes.... my last resort = :-)



Robert Kjettrup / Grafiker / STV Mayday
Mobil: 25 = 18 95 16
Mail: robert@stvma= yday.dk


2012/9/26 Py Fave <= pyfave@gmail.com&= gt;
perhaps linking precomp camera's attributes to the main comp's one.=

tell me if it works!


2012/9/26 Robert Kjettrup <robert= @stvmayday.dk>:
> Hi
>
> I am using this expression to make the layers that face away from the = camera
> be invisible.
>
> if (toCompVec([0, 0, 1])[2] > 0 ) value else 0
> (found via Dan's site here:
> http://www.motionscript.com/design-guide/invisi= ble-facing-away.html)
>
> But when i use the comp as a precomp with continious rasterize option = turned
> on, the 3d layers that i has the expression ofcourse don't respect= =A0the
> camera in the master comp. Is it possible to write an expression that = uses
> the display camera in the master comp that affects the opacity og the = 3d
> layers in the continious rasterized precomp?
>
>
> Robert Kjettrup / Grafiker / STV Mayday
> Mobil: 25 18 95 16
> Mail: robert@stvmayday.dk
+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>

--20cf307f32b20361ea04ca9ae579--