-
Card Dance Leaves Edges
Hi All,
I have a multi-layer 320×240 photoshop document.
I import it into After Effects as a composition, footage dimension is layer size which generates a 320×240 composition with all my layers in the file.
CTRL-K and I resize the composition to 2560×1920 (8×320, 8×240). This is my 8×8 grid to hold my images.
I am using square pixels in photoshop and my after effects composition.
My top layer in the composiiton is poisitoned at 160×120.
All other layers use a position expression to distribute them around the grid.Here is the position expression:
[code]
grid_x = 3;
grid_y = 4;
x =(320*grid_x) +thisComp.layer(“top_layer”).transform.position[0];
y =(240*grid_y)+thisComp.layer(“top_layer”).transform.position[1];
[x, y];
[/code]This way I can assign any layer in the comp to any grid position by simply editing the grid_x and grid_y variables in that layers position expression.
Ok, that composition looks right to me an I have all my images layed out in an 8×8 grid.
I create another composition and drop the 8×8 grid into it and assign a card dance effect. I set the Backlayer to the 8×8 grid and set the gradient layer to another layer that has an animated gradient to push the cards around.
So it works, for the most part.
But…
Certain images in the grid get “chopped” incorrectly by card dance. I assumed there was some problem with my math and the initial grid layout, but even if I scale my grid images down so there is no edge to edge touching in the grid, I still get these terrible anomolies that destroy the effect and make it useless.
Just wondering if anyone else has had this problem with card dance?