Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Gradient map for shatter

  • Gradient map for shatter

    Posted by Craig Ricker on February 28, 2012 at 5:01 am

    Ok, so what i’ve got is a layer that i’ve drawn a mask on.
    I’ve then applied the shatter effect to this layer and made the shape of the shatter effect puzzles pieces.

    Now, i’d like to control individual pieces using a gradient layer.

    I’ve taken a still frame of wireframe, to see where the pieces are, and then have gone and drawn little boxes of ranging shades of gray inside individual pieces of the wireframe.

    But I just cant seem to get gradient layer to work properly.

    I think I dont understand what shades of gray i’m supposed to be using.

    When I change the threshold value, a lot go at once rather than individual pieces, even though the gradient layer is full of varying shades of grey.

    (I need at least 8 different areas that shatter on cue)

    Any help would be most appreciated.

    Roland R. kahlenberg replied 14 years, 2 months ago 2 Members · 3 Replies
  • 3 Replies
  • Roland R. kahlenberg

    February 28, 2012 at 9:41 am

    You should be using grey, solid colored (and not gradients) segments to denote the areas within your greyscale image. The gradient property works by looking at the greyscale tone of a secondary image whereby lighter areas will be shattered first.

    If you do the math 256/8 (256 different greyscale tones) divided by 8 pieces dictates that each piece should have RGB values with a difference of 30, starting from 255,255,255 for pure white.

    There should be rounding off errors but that’s where you tweak the Threshold values.

    You should end up with 8 pieces with solid greyscale tones. Precomp this greyscale image and nest it into the shatter comp.

    You then KF Shatter Threshold to total when a piece shatters, or when the next piece shatters. You will require a bit more math – 100%/8 (Shatter Threshold divided by number of pieces)= approx 13%. WHere increments of 13% (approx) will shatter the next darker shade of grey.

    HTH
    RoRK

    Intensive AE & Mocha Training in Singapore and Malaysia
    Adobe ACE/ACI (version 7) & Imagineer Systems Inc Approved Mocha Trainer

  • Craig Ricker

    February 28, 2012 at 8:59 pm

    Got it to work with your help! So many thanks!!!

  • Roland R. kahlenberg

    March 3, 2012 at 4:40 am

    You’re welcome Craig.

    Cheers
    RoRK

    Intensive AE & Mocha Training in Singapore and Malaysia
    Adobe ACE/ACI (version 7) & Imagineer Systems Inc Approved Mocha Trainer

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