Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Randomize Opacity within a Shape Layer/Repeater

  • Randomize Opacity within a Shape Layer/Repeater

    Posted by Casimir Fornalski on November 23, 2013 at 9:24 pm

    Hi there! I’ve been a long time Creative COW reader, but this is the first time I’ve posted a question, so I hope y’all can help me out.

    I’m trying to animate a nighttime skyline with lights coming on randomly (see image for the idea.) I’ve built the window arrays using Shape Layers with Repeaters (my preferred method) but I can’t figure out how, if possible, to randomize the opacity level of individual shapes within a repeater.

    I’d like the windows to “pop on” randomly, and not be uniform (ie, not all lights on each floor would be turned on)

    Does anyone know how I could approach this? Is it possible to create an opacity map using a fractal noise layer, similar to what I would do with a shader effector in C4D? I’d really prefer to stay using shape layers and AE for this.

    Casimir Fornalski replied 12 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Brendon Murphy

    November 24, 2013 at 6:53 pm

    I don’t think you can do this with the repeater. To my knowledge there is no way to affect instances individually in that way. You COULD, however, create your windows using the Mosaic effect. It would go something like this:

    1. Create a new square solid
    2. Add fractal noise
    3. Add the Stylize->Mosaic effect. This uses the fractal noise to randomize color value, but keeps each square uniform.
    4. Add a grid, invert it, and then set the blending mode to “Stencil Alpha”. This is the space between windows
    5. Animate the evolution of the Fractal noise

    You can then use this solid as a track matte for your orange window color:
    -Add a black solid under your mosaic, and then precompose them together. That’s your matte.
    -Use it as a Luma Matte for an orange solid.
    -Precompose those together, and then drop your glow fx on that precomp.

    Andrew Kramer does something very similar in this tutorial at 14:24 and 28:04 if a visual would help you:
    https://www.videocopilot.net/tutorial/energetic_titles/

    Let me know if that does it!

    Brendon Murphy
    ________________
    Creative/Post
    http://www.brendonmurphy.net

  • Casimir Fornalski

    November 25, 2013 at 2:23 am

    Hi Brendon,

    I gave this a try and it looks pretty sharp!

    Normally I’m a big proponent of shape layers and try to work in those as much as possible, but the inability to affect instances (the way you can in Cinema 4D with cloners) does seem to limit their capability quite a bit.

    Anyway, the mosaic method you described is more than adequate for my needs, so thanks a bunch!

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