This content has been marked as final.
Show 5 replies
-
1. Re: Effect Depends on Camera
bbb_999 Mar 19, 2007 7:44 AM (in response to david van brink)You'll need a layer param, set to the current camera. That way, AE knows your effect is dependent upon the camera layer, and will invalidate your results (forcing a redraw) when the camera layer changes.
See Checkout for an example of an effect with a layer parameter. -
2. Re: Effect Depends on Camera
david van brink Mar 19, 2007 11:11 AM (in response to david van brink)Hi Bruce --
Thanks for the reply...
but I must ask further.
I can add a layer param, no problem. And thats a nice unambiguous solution (as long as you choose a camera layer and not some other kind)
But what I'd *rather* have is the effect respond to the parameters of the "current camera view". (Even if there's no actual camera layer, or if there are several coming in and out over the duration of the comp.)
I know some effects vary over time (like particle effects, for example). (And yes, I know: "Integrate from t=0!")
How does such an effect know to redraw each frame, even though no parameters have changed? -
3. Re: Effect Depends on Camera
bbb_999 Apr 2, 2007 3:15 PM (in response to david van brink)Wow, a documentation reader! ;)
There's always an active camera, even if there's no camera layer; see the Resizer sample, and let me know how it goes. -
4. Re: Effect Depends on Camera
david van brink Apr 4, 2007 9:31 PM (in response to david van brink)Thanks! That did it -- the trick was to use outflags_2.
Is it still true that these values *must* be set in both the pipl and the global setup? -


