<p>Go back to your reference and look closely. Although the pattern moves across the paper continuously around the edges, it still respects the 3D geometry of the scene. So the paper on top is on a different plane to the paper at the sides and the front. In fact that reference is totally possible to do with stop motion.</p>

<p><a href="https://i.sstatic.net/82OyD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/82OyD.png" alt="enter image description here"></a></p>

<p>With that in mind you have to use AE's 3d capabilities. make a subcomp with your paper pattern. Now in the containing comp make a rectangle mask on the subcomp with the same proportions as the side of the box. Click the 3D icon on that layer, and angle it so that it matches the perspective of your reference. Now using another copy of the precomp add a mask that matches the proportions of the top of the box (use the width of the first mask so that the two edges match). Make this layer 3d and make the first layer its parent. Set its orientation to <strong>90, 0, 0</strong> (don't have AE on this machine so I'm guessing, it could be <strong>270, 0, 0</strong>). It should now be at right angles to the side and horizontal. You have to move it so that it meets the side at the top of the box (use 0 as the x coordinate, half the height of the side as it's y coordinate and half the width of the top as the z coordinate). I'll let you work out how to add the end (hint, do the same thing but change the orientation to rotate around the y axis, not the x axis). Imagine you were making the box out of cardboard and think about how you'd rotate and move each piece to make the box.</p>

<p>This will achieve a stylised box, but you won't get too much in the way of realism without a bit more of work in AE. Things like the slightly rounded corners that catch specular highlights (circled in green), which you could use soft edged shape layers to do,  and an additional triangular mask for the folded over flaps at the side (rotate the layer 180 degrees so it doesn't match, and angle it out just a fraction so that it casts a shadow). Most importantly add lights to give some 3D shading.</p>

CC BY-SA 4.0
2019-07-05T08:56:59.913Z
@stip Thanks a lot for this in depth answer. I'm not sure I understand all, but sure will try out. the main thing as far as I understand is that the sides of the shape are basically 2 different plains masked. I will try it out and update thanks a lot for your help really appreciate
Osh
CC BY-SA 4.0
2019-07-05T09:20:44.713Z
Yep, they're two planes at 90 degrees to each other. Once you get that you're most of the way there
stib
CC BY-SA 4.0
2019-07-02T14:13:55.097Z
2019-07-02T14:13:55.097Z
stib
<p>I'm trying to recreate <a href="https://vimeo.com/234300728" rel="nofollow noreferrer">this</a> effect in <code>Ae</code> using a box mock-up.
I'm only interested in the animated background covering the box.
Iv structured my <code>Comp</code> so that the design is below the box mock-up and I'm using the box as a <code>track matte</code>.<br>
the main issue I'm running with is maintaining the details of the box and eliminating the fact that the effect resembles a <code>clipping mask</code> in Photoshop more than a mock-up.</p>

<p>would love to hear different approaches or tips, cheers.</p>

<p><a href="https://i.sstatic.net/PvJIT.png" rel="nofollow noreferrer">mock-up used</a></p>

<p><a href="https://i.sstatic.net/4fUuK.png" rel="nofollow noreferrer">my result</a></p>

<after-effects>
Recreating this animated mockup effect
Osh
# Recreating this animated mockup effect

(Asked by: username_0 on 2019-07-01)

I'm trying to recreate [this](https://vimeo.com/234300728) effect in `Ae` using a box mock-up.
I'm only interested in the animated background covering the box.
Iv structured my `Comp` so that the design is below the box mock-up and I'm using the box as a `track matte`.  
the main issue I'm running with is maintaining the details of the box and eliminating the fact that the effect resembles a `clipping mask` in Photoshop more than a mock-up.

would love to hear different approaches or tips, cheers.

[mock-up used](https://i.sstatic.net/PvJIT.png)

[my result](https://i.sstatic.net/4fUuK.png)

**Tags:** after-effects


---

## 1 answers

### Answer by username_1 on 2019-07-02. Score: 1

Go back to your reference and look closely. Although the pattern moves across the paper continuously around the edges, it still respects the 3D geometry of the scene. So the paper on top is on a different plane to the paper at the sides and the front. In fact that reference is totally possible to do with stop motion.

[![enter image description here](https://i.sstatic.net/82OyD.png)](https://i.sstatic.net/82OyD.png)

With that in mind you have to use AE's 3d capabilities. make a subcomp with your paper pattern. Now in the containing comp make a rectangle mask on the subcomp with the same proportions as the side of the box. Click the 3D icon on that layer, and angle it so that it matches the perspective of your reference. Now using another copy of the precomp add a mask that matches the proportions of the top of the box (use the width of the first mask so that the two edges match). Make this layer 3d and make the first layer its parent. Set its orientation to **90, 0, 0** (don't have AE on this machine so I'm guessing, it could be **270, 0, 0**). It should now be at right angles to the side and horizontal. You have to move it so that it meets the side at the top of the box (use 0 as the x coordinate, half the height of the side as it's y coordinate and half the width of the top as the z coordinate). I'll let you work out how to add the end (hint, do the same thing but change the orientation to rotate around the y axis, not the x axis). Imagine you were making the box out of cardboard and think about how you'd rotate and move each piece to make the box.

This will achieve a stylised box, but you won't get too much in the way of realism without a bit more of work in AE. Things like the slightly rounded corners that catch specular highlights (circled in green), which you could use soft edged shape layers to do, and an additional triangular mask for the folded over flaps at the side (rotate the layer 180 degrees so it doesn't match, and angle it out just a fraction so that it casts a shadow). Most importantly add lights to give some 3D shading.

> **Comments:**
> **username_0**: @stip Thanks a lot for this in depth answer. I'm not sure I understand all, but sure will try out. the main thing as far as I understand is that the sides of the shape are basically 2 different plains masked. I will try it out and update thanks a lot for your help really appreciate  
> **username_1**: Yep, they're two planes at 90 degrees to each other. Once you get that you're most of the way there  

---

