Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Slicing a layer into boxes

  • Slicing a layer into boxes

    Posted by James Hebert on January 8, 2010 at 12:37 pm

    Hello everyone. I need to have 196 equal squares in a layer that fade out to a beat. As you would imagine though, that’s kind of a pain to make, line up, and fade. Is there a way to make my life easier and slice a layer into a grid so that I dont have to make 196 layers, and then have a script I can easily change the opacity for each? Thank you. -James

    Brian Charles replied 16 years, 4 months ago 3 Members · 13 Replies
  • 13 Replies
  • Brian Charles

    January 8, 2010 at 2:52 pm
  • James Hebert

    January 8, 2010 at 3:32 pm

    that is perfect! thank you. im just a little confused as to why it makes tiny null object in the layer

  • Brian Charles

    January 8, 2010 at 4:31 pm

    So you can control all layers with the null if desired.

  • David Bogie

    January 8, 2010 at 6:34 pm

    I would have simply started with Card Dance.
    Very slick, Brian. I am in awe of AE scripters.

    bogiesan

  • Brian Charles

    January 8, 2010 at 8:54 pm

    There are some amazingly useful scripts available, I find I’m using many more in my daily workflow, check these out:

    https://nabscripts.com/downloads_en.html

    Click on the link near the top of the page for nabLIB_v4.0

  • James Hebert

    January 9, 2010 at 12:02 am

    that slicer script works perfectly. Now I have to change the opacity for every single one. They will all be equal levels of fade (ie: 100 down to 0 in about 2 seconds) just one after another. I could just copy and paste the keyframes to each one after the previous box. but again. that is incredibly tedious and annoying. is there any other thing that would make my life easier in this situation or do I have to sit there and paste the keyframes to each one?

  • Brian Charles

    January 9, 2010 at 1:28 am

    Depending on your needs for layer stacking in the timeline there are a couple of solutions.

    1) Place an adjustment layer above these layers and add the Transform Effect and animate opacity.

    The issue with this method is that the effect will apply to all layers below the adjustment layer.

    2) Add an expression control slider to the null object. Add an opacity expression to the first layer by alt/option clicking on the opacity stopwatch and pick whip it to the slider. Select the opacity property and choose Edit > Copy Expression only then select the remaining layers you wish to affect and paste.
    Use the slider to control the opacity of all the layers.

    CS4 Example: 462_examplesofopacitycontrol.aep.zip

    Or you could nest the Comp in another and control the opacity that way….

  • James Hebert

    January 9, 2010 at 1:55 am

    thank you for that. but unless I’m misunderstanding, that still controls all of the layers whereas I need to control one block at a time to make them fade out one after another. What you just showed me does help with a later part of my project. Here is an example of what im trying to get at. it starts at 46 seconds. im trying to fade out to a different color layer each time so that the color slowly takes take over all of the boxes one at a time

    https://vimeo.com/5817444

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Vimeo framework” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Brian Charles

    January 9, 2010 at 3:11 am

    Sorry, I misunderstood. Here is an example that uses 2 sliders, one to control the overall opacity and another to control the offset. The layer’s number (its index) controls when it responds to the slider.

    If you don’t want the layers to fade from bottom to top adjust the layer order.

    463_opacityandindexcontrol.aep.zip

  • James Hebert

    January 9, 2010 at 4:00 am

    okay this worked beautifully. But when I try to apply the same thing to another layer all it does is affect the first block in the top right corner. As you can tell im not exactly the best at AE but im trying to learn. thank you for your help so far

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy