Mailing List AE-List@media-motion.tv ? Message #45881
From: Py Fave <pyfave@gmail.com>
Subject: Re: [AE] expression for facing away layers in precomp
Date: Wed, 26 Sep 2012 15:20:24 +0200
To: After Effects Mail List <AE-List@media-motion.tv>
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/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
 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster