FORUMS: list search recent posts

Triggering rotation off multiple layers with sample layer.

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Igor Stikic
Triggering rotation off multiple layers with sample layer.
on Dec 25, 2014 at 7:40:51 am

Hi,

I have one grid in comp with 84 images (160*160). With expression now, position of yellow layer when passes X axis of image layer rotates Y from 0-180. I will paste this expression on all image layers later. This is ok if animation only use rectangle, but I want to use other shapes (plus) Is it possible to maybe opacity (gradient...color) of this yellow layer to trigger rotation other leyers. This is expression that I use now.

p1 = thisComp.layer("maska").transform.position[0];
p2 = position[0];
tolerance = .5;
t1=(p1- p2)
t2=(p2-p1)
if (t1 > 80) 0

else if (t1 < 80) linear(t1, 80, -80, 180, 0)
else linear(t2, 0, 160, 180,0)


Thank you in advance






Igor Stikic


Return to posts index

Dave LaRonde
Re: Triggering rotation off multiple layers with sample layer.
on Dec 25, 2014 at 6:42:09 pm

Before you go any further, investigste the possibilities of the Card Dance effect.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Igor Stikic
Re: Triggering rotation off multiple layers with sample layer.
on Dec 29, 2014 at 9:42:21 am

Thank you Dave. I'm familiar with Card Dance effect and it's not possible to create what I want with that effect. I need to have beckside animated which I had accomplished.
Colored shape is moving from right to left.
I want to every image layer rotate Y axis from 0-180 everytime when colored shape touch first edge of image (start rotation) and finish rotation when shape cover whole picture (or touch left edge). Images are 160*160px I manage to create rotation depending on one position point.
Is it possible to create this with sample image expression so that images rotate depending on shape above?


Igor Stikic


Return to posts index


Walter Soyka
Re: Triggering rotation off multiple layers with sample layer.
on Dec 29, 2014 at 4:03:28 pm

You guide the rotation of a layer based on your shape layer with an expression and sampleImage(), but it will be very slow to evaluate and render.

If I were you, I'd consider property-driven ways to do this instead of image-driven ways (i.e., extending Dan Ebberts's follow-the-leader [link] expression).

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]