Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression to link camera to grid effect.

  • Expression to link camera to grid effect.

    Posted by Josh Johnson on May 7, 2008 at 8:31 pm

    Expression to link camera to grid effect.
    I have been trying to get this to work for some time with no luck.

    I am trying to make the grid effect in after effects to work as if it were a never ending 3d layer. I can’t use a photo of a grid, I need something that goes on forever and keeps the same line width whenever I zoom in or out.

    I am able to get the anchor point to move as if the camera were hovering over the grid. Problems happen when I try to push in and out of the grid.

    I need it to scale from where the camera is looking. Instead it scales from its anchor point which makes it look like the grid is sliding away from the camera.

    I think I need a way of say … only scale this much depending on how far away I am from the anchor point.

    Anyone have any ideas?

    Thanks,
    Josh

    Josh Johnson replied 18 years ago 2 Members · 2 Replies
  • 2 Replies
  • Darby Edelen

    May 8, 2008 at 4:12 am

    I’m having a hard time visualizing what you want to achieve. The grid should always have the same line width? should the space between the lines always remain the same? And when you say ‘the same’ I assume you mean the same relative to the size of the composition? What do you want to happen when viewing from an angle vs. straight on?

    Darby Edelen
    Lead Designer
    Left Coast Digital
    Santa Cruz, CA

  • Josh Johnson

    May 8, 2008 at 2:41 pm

    I should say that in this case I am not needing to rotate what so ever. I just need to push in and out and move around the grid in 3d space.

    What I mean about line is this. I need the lines in the grid to keep the same pixel width as the camera pushes in and out of the grid. The space between the lines scale up and down as the camera pushes in and out, so it does change in pixel thickness.

    I hope this makes more sense.
    Thanks for looking.
    Josh

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