Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Rolling Slot Machine Cylinders/Offset Issues

  • Rolling Slot Machine Cylinders/Offset Issues

    Posted by Joshua Ferg on November 4, 2006 at 4:36 pm

    Trying to simulate 3 old school slot rollers – a slot machine. Did search and found some pointers but encountering a specific problem with offset.

    I have an image of the rollers and their icons, which I did the following to:

    1. Created three seperate masks to cover the icons. (I could also do this in Pshop and just paint over)..
    2. Created a 3000×400 pixel image in PSHop and placed the new icons, evenly spaced in a long row. I COMPENSATED FOR THE SPACE ABOVE THE TOP IMAGE AND THE SPACE BELOW THE BOTTOM IMAGE TO EQUAL THE DISTANCES BETWEEN THE OTHER ICONS – ASSUMING THAT OFFSET WOULD INTERPRET THE DISTANCE CORRECTLY WHEN IT “WRAPS” THE IMAGE.
    3.Imported the new flattened PSD to duplicate, Offset and Bezier Warp over teh three indiviual rollers.

    THE PROBLEM:

    Offest in not interpreting the space correctly above the top-most icon and teh botto-most icon – the two are almost overlapping.

    Tried precomping with no effect.

    Any suggestions appreciated.

    Thanks.

    Roland R. kahlenberg replied 19 years, 6 months ago 5 Members · 12 Replies
  • 12 Replies
  • Steve Roberts

    November 4, 2006 at 4:54 pm

    I would make the space from the top edge to the first icon to be half the space between the rest of the icons … the same for the space between the last icon and the bottom edge. The effect, applied to the image layer, should butt the two together, creating a full icon spacing at the seam.

  • Joshua Ferg

    November 4, 2006 at 5:27 pm

    Hey Steve – I tried that but no luck. I just got the precomp stratgety to work – had to actually posistion the PSD file of the icons in a bizarre way but it works – I’m not complaining.

    However – this has now presented a NEW challenge:

    To sell the effect I need to Motion Blur the icons – as if they were spinning in a slot machine. Master MB is checked. Will outline the structure:

    Comp 1:
    Right Roller Comp:(MASKED TO SHOW ICONS OVER ROLLER)
    – Right Roller Pre 1 (OFFSET, BCC BULGE)
    – Roller Icons PSD
    Center Roller Comp:(MASKED TO SHOW ICONS OVER ROLLER)
    – Center Roller Pre 1 (OFFSET, BCC BULGE)
    – Roller Icons PSD
    Left Roller Comp: (MASKED TO SHOW ICONS OVER ROLLER)
    – Left Roller Pre 1 (OFFSET, BCC BULGE)
    – Roller Icons PSD
    White Solid 1
    White Solid 2
    White Solid 3
    Slot Copy.PSD

    Not sure why this is…..

    Best,
    josh

  • Joshua Ferg

    November 4, 2006 at 5:34 pm

    I ran some tests and realized Offset does not accept motion blur….????

    Not sure if this is correct.

  • Steve Roberts

    November 4, 2006 at 6:31 pm

    This is unfortunate, but it’s the way AE works. MB works on spatial properties such as scale, position and rotation, not effect parameters.

    However, you can apply the directional blur effect to sell the effect, animating the amount of blur.

  • Tom Daigon

    November 4, 2006 at 8:03 pm

    Josh,I am curious to see how you are achieveing this effect. Any chance you could post a
    link to the AE project file? I have tried this before and not had a lot of luck.
    Tom

  • Roland R. kahlenberg

    November 5, 2006 at 2:00 am

    You’re right, Offset does not support motion blur BUT Motion Tile does. Replace Offset with Motion Tile and you should be good to go. The parameters that you need for Motion Tile work in similar fashion to Offset – so it shouldn’t take you too long to make the changes.

    HTH
    Roland Kahlenberg
    broadcastGEMs
    customizable animated backdrops with Adobe After Effects project files

  • Mike Clasby

    November 5, 2006 at 7:46 am

    Hey, I know it’s none-of-my-biz, but I was wondering, if these are old school Slot Rollers, if you wanted to add a little bounce and decay to the Wheels when they stop. You can do it by putting markers ( * on the numeric keypad) over the first of the “stop” keyframes, the pair of identical keyframes that tell the wheel to stop, as I’ve clumsily illustrated below.

    ^ (marker over first keyframe of the stop) ^
    <> <> <> <> <>
    These two keyframes are the same, making the wheel Stop

    Here’s the expression on the “Shift Center To” of the effect Offset, or to the “Tile Center” of the Motion Tile effect. After you set you keyframes and markers, add this expression:

    n = 0;
    if (marker.numKeys > 0){
    n = marker.nearestKey(time).index;
    if (marker.key(n).time > time){
    n–;
    }
    }

    if (n == 0){
    value;
    }else{
    max_dev=50; // max deviation in pixels
    spd=10; //speed of oscillation
    decay=2; //how fast it slows down
    t = time – marker.key(n).time;
    s = max_dev*Math.sin(spd*(t))/Math.exp(decay*t);
    value + [0,s];
    }

    Change the max-dev, spd and decay as needed. As always this is a mod from Dan Ebberts’ expressions.

  • Steve Roberts

    November 5, 2006 at 1:45 pm

    Thanks for the tip, Roland. 🙂

  • Joshua Ferg

    November 5, 2006 at 4:24 pm

    Thanks to all for their info. Really appreciated. CC rocks.

    I’ll send a link later today for the approval copy just now completed.

    I found a similar expression on Dan’s site – really sells the idea.

    Thanks again.

    Josh

  • Joshua Ferg

    November 5, 2006 at 5:12 pm

    Here’s the link.

    https://backstage.2mg.com/mohegansun/Mohegan_Sun_v1.mov

    Not my style at all – but the client wants it.

    Eliminated the 3-D roller effects created with Bezier Warp and took off Directional Blur. Will add the Directional Blur on final output via multi-machine render.

Page 1 of 2

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